Wondrous item, artifact, requires attunement
Authored by Marcus Gaius Orestes in the 101st year of the Age of Conquest, during the height of the Caelian Empire, this book confined the sea of fiends that erupted from hell and prevented it from spreading across the world.
Demon Soul. As an action, you can sacrifice 3 Hit Dice to assume the form of a type-III demon or a bone devil, replacing your own stats and abilities with the fiend's. You can cast your spells normally if you assume a form that can cast spells. You can maintain this form for 1 hour or until you drop unconscious, after which you revert to your original form and can heal the sacrificed damage normally.
Damnation. Demons and devils automatically fail their saving throws against banishment cast by you.
Scion of Seven Cities. After performing a ritual for 10 minutes, you can open a gate to one of the Seven Cities of Hell, allowing you to freely travel there from the Mundane World. Only you can use this gate. It remains open until you return through it, after which it closes.
Flames of Hell. Once per week, as an action, you may sacrifice Hit Dice to summon a Legion of Hell. The unit's size depends on the number of Hit Dice sacrificed.
The Key to the Gate. While the codex incabulum is on the Mundane World, summoned demons and devils cannot summon more demons or devils.
Source: Strongholds & Followers