If you are new to hledger, one of the first things to learn is the parts of a basic hledger transaction.
Towards that end, I created two resources. The first, is the most popular video on my hledger fan YouTube channel: The Basics: An hledger Transaction. (Truth in advertising: Alright, it’s probably the most popular video because it’s the first on the channel, and that’s what the YouTube algorithm sends people to more often than the other videos on the channel.)
Second, if you want a static diagram for study, then the following will be useful.
If you are an hledger beginner, the above two resources will go a long way in helping you understand the basics of an hledger transaction.
For more hledger resources for beginners, please see here.