payee field, accouting customs?

272 views
Skip to first unread message

Jeroen De Vlieger

unread,
Oct 21, 2012, 12:46:20 PM10/21/12
to ledge...@googlegroups.com
I'm strugling a bit with the content of the payee field of a transaction.

I realize that ledger doesn't really impose anything in this respect, which is nice because one can do whatever one wants (assuming that one knows what he wants :-s )
but not so nice if one isn't sure about how to proceed due to lack of knowledge or experience.

So...
as a newbie, in an attempt to not reinvent the wheel,
I'm interested in the knowledge and experience of others and I would like to ask:
"How do you use the payee field?"

Do you use it to specify a payee, i.e. the person/institution that money is going to is case of an expense of the coming from in case of an income.
In this case the possible payee field values would be a *limited* list of people or instances you have dealings with.
Each person/instance would only be referred to using one specific *known* payee string. Which you could potentially use in analysis later on.

Or

Do you use it to give a general free form description of what the transaction is about? E.g provide context of the transaction which is inherently *unknown* before hand.
In this case the payee field value would be non-descript. Because the field value can be anything it can't be used to filter or analysis, it would only be used as an aid to remember what the transaction was about.


So ...
"How do you use the payee field?"

with kind regards,
Jeroen

Johann Klähn

unread,
Oct 21, 2012, 1:08:54 PM10/21/12
to ledge...@googlegroups.com

I use the payee field to specify the payee (or "ATM", "Transfer") and use the note field (simple indented comment) to store notes. This way the output of "ledger payees" remains useful.

Jeroen De Vlieger

unread,
Oct 21, 2012, 1:38:26 PM10/21/12
to ledge...@googlegroups.com
On Sun, Oct 21, 2012 at 7:08 PM, Johann Klähn <kljo...@gmail.com> wrote:

I use the payee field to specify the payee (or "ATM", "Transfer") and use the note field (simple indented comment) to store notes. This way the output of "ledger payees" remains useful.


thx for the input Johann :-)

Seeing that it list all payees I assume you are a defender of casus 1.

I haven't yet used the payees command myself, but I do use the register command very often and
till now, do remember that I have just recently started using ledger, I used the payees field as a free form description (casus 2) because
this description would then show up in the register command output giving some context to all the transactions.

In your case the register command would simply list the payee's for each transaction which would be  generally unhelpful in giving some the context of each transaction or am I now missing something? Or misusing the tool in some way?

Jeroen

Martin Michlmayr

unread,
Oct 21, 2012, 2:25:32 PM10/21/12
to ledge...@googlegroups.com
* Jeroen De Vlieger <fly...@gmail.com> [2012-10-21 09:46]:
> Do you use it to give a general free form description of what the
> transaction is about?

That's what I do since I want to see a description of the transaction
with "ledger reg".

--
Martin Michlmayr
http://www.cyrius.com/

Johann Klähn

unread,
Oct 21, 2012, 3:00:31 PM10/21/12
to ledge...@googlegroups.com

Using "ledger --payee note reg", ledger will use the note field instead of the payee, if available. So it is possible to get both types of output using case 1. But feel free to structure your ledger file as you see fit! After all that's the joy of using ledger.

Jeroen De Vlieger

unread,
Oct 21, 2012, 3:53:21 PM10/21/12
to ledge...@googlegroups.com
On Sun, Oct 21, 2012 at 9:00 PM, Johann Klähn <kljo...@gmail.com> wrote:

Using "ledger --payee note reg", ledger will use the note field instead of the payee, if available. So it is possible to get both types of output using case 1.

Thx I didn't yet know about the --payee note option.
I'm reading the manual and as I go and try to get some experience by using the stuff I learn.
I haven't yet completed the reading of the manual though, guess I should put in a bit more effort on that front.

Jeroen De Vlieger

unread,
Oct 21, 2012, 7:05:04 PM10/21/12
to ledge...@googlegroups.com
On Sun, Oct 21, 2012 at 9:53 PM, Jeroen De Vlieger <fly...@gmail.com> wrote:


On Sun, Oct 21, 2012 at 9:00 PM, Johann Klähn <kljo...@gmail.com> wrote:

Using "ledger --payee note reg", ledger will use the note field instead of the payee, if available. So it is possible to get both types of output using case 1.

Thx I didn't yet know about the --payee note option.
I'm reading the manual and as I go and try to get some experience by using the stuff I learn.
I haven't yet completed the reading of the manual though, guess I should put in a bit more effort on that front.

Is is possible that this actually isn't documented yet? I have been fruitlessly hunting this information down in the ledger 3.0 documentation :-s
If so how did you learn of this option?

Jeroen

Craig Earls

unread,
Oct 21, 2012, 8:42:06 PM10/21/12
to ledge...@googlegroups.com
It is NOT in the documentation yet, I don't think it has been there for long.  The best documentation is the source code.  I AM catching up though.
--
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

Johann Klähn

unread,
Oct 22, 2012, 5:00:00 AM10/22/12
to ledge...@googlegroups.com
I found out about it by browsing the source, but it's also documented
at http://www.ledger-cli.org/3.0/doc/ledger3.html#Report-Options :
--payee <VEXPR>
Sets a value expression for formatting the payee. In the register
report this prevents the second entry from having a date and payee for
each transaction

Alexis

unread,
Oct 30, 2012, 6:12:16 PM10/30/12
to ledge...@googlegroups.com
Hi Jeroen,
I use the payee field to denote the person/institution where
the money flows to and use a Payee tag to set a different payee
for the individual postings.

One example: Assume I've made some digital prints and
bought some binders and pens along with that at my
favorite copy shop ACME Inc.

Now the money flows to AMCE Inc. (payee) and
comes from my checking account (1st posting)
though for me it is a office supply expense (2nd posting)

% cat <<EOF | ledger -f - reg --wide
2012/10/30 * (1) ACME Inc.
Assets:Bank:Checking € 50,00
Expenses:Office Supplies
; Payee: Binders, Pens, Digital Prints
EOF
30.10.2012 ACME Inc. Assets:Bank:Checking € 50,00 € 50,00
Binders, Pens, Digital Prints Expenses:Office Supplies € -50,00 0

The example demonstrates, that the payee field is set for each
posting individually, the best of both worlds ;)


Best regards,
Alexis

Samuel Tardieu

unread,
Nov 11, 2012, 11:34:42 AM11/11/12
to ledge...@googlegroups.com



2012/10/30 Alexis <surr...@gmail.com>

This is a great example and I just used it. However, it also allowed me to exhibit a bug (recent Git version). If you add "--sort=amount", then both sides of the account will show as if they were related to the "Binders, Pens, Digital Prints" payee:

 % cat <<EOF | ledger -f - reg --wide --sort=amount

2012/10/30 * (1) ACME Inc.
  Assets:Bank:Checking                € 50,00
  Expenses:Office Supplies
    ; Payee: Binders, Pens, Digital Prints
EOF
12-Oct-30 Binders, Pens, Digital Prints      Expenses:Office Supplies                            € -50,00             € -50,00
                                             Assets:Bank:Checking                                 € 50,00                    0


John, do I need to copy this into a bug report or do you have anything you need here?

  Sam

John Wiegley

unread,
Nov 11, 2012, 2:05:15 PM11/11/12
to ledge...@googlegroups.com
>>>>> Samuel Tardieu <s...@rfc1149.net> writes:

> This is a great example and I just used it. However, it also allowed me to
> exhibit a bug (recent Git version). If you add "--sort=amount", then both
> sides of the account will show as if they were related to the "Binders,
> Pens, Digital Prints" payee:

>  % cat <<EOF | ledger -f - reg --wide --sort=amount
> 2012/10/30 * (1) ACME Inc.
>   Assets:Bank:Checking                € 50,00
>   Expenses:Office Supplies
>     ; Payee: Binders, Pens, Digital Prints
> EOF
> 12-Oct-30 Binders, Pens, Digital Prints      Expenses:Office
> Supplies                            € -50,00             € -50,00
>                                             
> Assets:Bank:Checking                                 € 50,00                   
> 0

> John, do I need to copy this into a bug report or do you have anything you
> need here?

Too much information is always better than too little. Please copy everything
in the bug that might relate.

John
Reply all
Reply to author
Forward
0 new messages