codes List the codes seen in transactions, in the order parsed. _FLAGS This command prints the value of each transaction's code field, in the order transactions were parsed. The transaction code is an optional value written in parentheses between the date and description, often used to store a cheque number, order number or similar. Transactions aren't required to have a code, and missing or empty codes will not be shown by default. With the -E/--empty flag, they will be printed as blank lines. You can add a query to select a subset of transactions. Examples: 1/1 (123) (a) 1 1/1 () (a) 1 1/1 (a) 1 1/1 (126) (a) 1 $ hledger codes 123 124 126 $ hledger codes -E 123 124 126