mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-28 21:02:04 +03:00
;doc: note that payee
and tag
can't have tags, unlike account
This commit is contained in:
parent
c062b14c5d
commit
74cbbd152f
@ -2128,6 +2128,8 @@ commodity 1.000,00 EUR
|
|||||||
commodity 1 000 000.0000 ; the no-symbol commodity
|
commodity 1 000 000.0000 ; the no-symbol commodity
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Commodities do not have tags (tags in the comment will be ignored).
|
||||||
|
|
||||||
A commodity directive's sample amount must always include a period or comma decimal mark
|
A commodity directive's sample amount must always include a period or comma decimal mark
|
||||||
(this rule helps disambiguate decimal marks and digit group marks).
|
(this rule helps disambiguate decimal marks and digit group marks).
|
||||||
If you don't want to show any decimal digits, write the decimal mark at the end:
|
If you don't want to show any decimal digits, write the decimal mark at the end:
|
||||||
@ -2257,15 +2259,19 @@ in another commodity. See [Value reporting](#value-reporting).
|
|||||||
|
|
||||||
This directive can be used to declare a limited set of payees which may appear in [transaction descriptions](#descriptions).
|
This directive can be used to declare a limited set of payees which may appear in [transaction descriptions](#descriptions).
|
||||||
The ["payees" check](#check) will report an error if any transaction refers to a payee that has not been declared.
|
The ["payees" check](#check) will report an error if any transaction refers to a payee that has not been declared.
|
||||||
To declare the empty payee name, use `""`.
|
|
||||||
Eg:
|
Eg:
|
||||||
|
|
||||||
```journal
|
```journal
|
||||||
payee Whole Foods
|
payee Whole Foods ; a comment
|
||||||
|
```
|
||||||
|
Payees do not have tags (tags in the comment will be ignored).
|
||||||
|
|
||||||
|
To declare the empty payee name, use `""`.
|
||||||
|
```journal
|
||||||
payee ""
|
payee ""
|
||||||
```
|
```
|
||||||
|
|
||||||
Any indented subdirectives are currently ignored.
|
Ledger-style indented subdirectives, if any, are currently ignored.
|
||||||
|
|
||||||
## `tag` directive
|
## `tag` directive
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user