;doc:Special tags: edits

This commit is contained in:
Simon Michael 2024-02-17 13:52:22 -10:00
parent d65114f57a
commit f706bd2765

View File

@ -1629,23 +1629,29 @@ There's not much harm in using them yourself, but some could produce an error me
They are explained elsewhere, but here is a quick list for reference: They are explained elsewhere, but here is a quick list for reference:
<!-- keep synced with JournalChecks.hs --> <!-- keep synced with JournalChecks.hs -->
Tags you can set to influence hledger's behaviour:
``` ```
date -- overrides a posting's date date -- overrides a posting's date
date2 -- overrides a posting's secondary date date2 -- overrides a posting's secondary date
type -- declares an account's type type -- declares an account's type
t -- appears on postings generated by timedot letters ```
assert -- appears on txns generated by close --assert Tags hledger adds to indicate generated data:
retain -- appears on txns generated by close --retain ```
start -- appears on txns generated by close --migrate/--close/--open/--assign t -- appears on postings generated by timedot letters
generated-transaction -- with --verbose-tags, appears on generated periodic txns assert -- appears on txns generated by close --assert
generated-posting -- with --verbose-tags, appears on generated auto postings retain -- appears on txns generated by close --retain
modified -- with --verbose-tags, appears on txns which have had auto postings added start -- appears on txns generated by close --migrate/--close/--open/--assign
generated-transaction -- appears on generated periodic txns (with --verbose-tags)
Hidden tags used internally (and queryable): generated-posting -- appears on generated auto postings (with --verbose-tags)
_generated-transaction -- always exists on generated periodic txns modified -- appears on txns which have had auto postings added (with --verbose-tags)
_generated-posting -- always exists on generated auto postings Not displayed, but queryable:
_modified -- always exists on txns which have had auto postings added _generated-transaction -- exists on generated periodic txns (always)
_conversion-matched -- exists on postings which have been matched with a nearby @/@@ cost notation _generated-posting -- exists on generated auto postings (always)
_modified -- exists on txns which have had auto postings added (always)
```
Tags hledger uses internally:
```
_conversion-matched -- exists on postings which have been matched with a nearby @/@@ cost annotation
``` ```
### Tag values ### Tag values