22 lines
378 B
Plaintext
22 lines
378 B
Plaintext
# check payees succeeds when all payees are declared:
|
|
<
|
|
payee foo
|
|
2020-01-01 foo
|
|
2020-01-02 foo | some description
|
|
$ hledger -f - check payees
|
|
|
|
# and otherwise fails:
|
|
<
|
|
2020-01-01 foo
|
|
$ hledger -f - check payees
|
|
>2 /payee "foo" has not been declared/
|
|
>=1
|
|
|
|
# or:
|
|
<
|
|
payee foo
|
|
2020-01-01 the payee | foo
|
|
$ hledger -f - check payees
|
|
>2 /payee "the payee" has not been declared/
|
|
>=1
|