@@ -198,22 +198,23 @@ journalCheckTags j = do
198
198
])
199
199
200
200
-- | Tag names which have special significance to hledger.
201
+ -- Keep synced with check-tags.test and hledger manual > Special tags.
201
202
builtinTags = [
202
- " type " -- declares an account 's type
203
- ," t " -- declares the (user defined, single letter) type of a 15m unit of time parsed from timedot format
204
- -- generated by close
205
- ," balances " -- balance assertions transaction
206
- ," retain " -- retain earnings transaction
207
- ," start " -- opening balances, closing balances or balance assignment transaction
208
- -- optionally generated on periodic transactions and auto postings
209
- ," generated-transaction"
210
- ," generated-posting"
211
- ," modified"
212
- -- used internally, not shown (but queryable)
213
- ," _generated-transaction"
214
- ," _generated-posting"
215
- ," _modified"
216
- ," _conversion-matched"
203
+ " date " -- overrides a posting 's date
204
+ ," date2 " -- overrides a posting's secondary date
205
+ , " type " -- declares an account's type
206
+ ," t " -- appears on postings generated by timedot letters
207
+ ," assert " -- appears on txns generated by close --assert
208
+ ," retain " -- appears on txns generated by close --retain
209
+ , " start " -- appears on txns generated by close --migrate/--close/--open/--assign
210
+ ," generated-transaction" -- with --verbose-tags, appears on generated periodic txns
211
+ ," generated-posting" -- with --verbose-tags, appears on generated auto postings
212
+ ," modified" -- with --verbose-tags, appears on txns which have had auto postings added
213
+ -- hidden tags used internally (and also queryable):
214
+ ," _generated-transaction" -- always exists on generated periodic txns
215
+ ," _generated-posting" -- always exists on generated auto postings
216
+ ," _modified" -- always exists on txns which have had auto postings added
217
+ ," _conversion-matched" -- exists on postings which have been matched with a nearby @/@@ cost notation
217
218
]
218
219
219
220
-- | In each tranaction, check that any conversion postings occur in adjacent pairs.
0 commit comments