Show full journal entries, representing transactions. More information: https://hledger.org/hledger.html#print.
hledger print
hledger print --explicit --infer-costs
hledger print --file path/to/2023.journal --file path/to/2024.journal --cost
$
transactions in *food*
but not *groceries*
accounts this month:hledger print cur:\\$ food not:groceries date:thismonth
whole foods
in their description:hledger print amt:'>50' desc:'whole foods'
EUR
amounts rounded and with decimal commas:hledger print --cleared --commodity '1000, EUR' --round hard
foo.journal
as a CSV file:hledger print --file path/to/foo.journal --output-file path/to/output_file.csv