Skip to content

Commit

Permalink
Documentation: Added negative numbers for introductory transactions a…
Browse files Browse the repository at this point in the history
…nd added footnote explaining "amount elision"

Signed-off-by: Tomas Fabrizio Orsi <torsi@fi.uba.ar>

[ci skip]

Signed-off-by: Tomas Fabrizio Orsi <torsi@fi.uba.ar>
  • Loading branch information
lima-limon-inc authored and jwiegley committed Oct 27, 2024
1 parent b7d079c commit d187487
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions doc/ledger3.texi
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ account, such as when you get paid. Here is a typical transaction:
@smallexample @c input:6B43DD4
2004/09/29 My Employer
Assets:Checking $500.00
Income:Salary
Income:Salary $-500.00
@end smallexample

Money, here, comes from an Income account belonging to @samp{My
Expand All @@ -798,7 +798,7 @@ it:
@smallexample @c input:6B43DD4
2004/09/30 Restaurant
Expenses:Dining $25.00
Liabilities:MasterCard
Liabilities:MasterCard $-25.00
@end smallexample

The Dining account balance now shows $25 spent on Dining, and
Expand Down Expand Up @@ -880,9 +880,12 @@ each person or business that you spend money for. For example:
@end smallexample

This shows $100.00 spent on a MasterCard at Circuit City, with the
expense was made on behalf of Company XYZ. Later, when Company XYZ
pays the amount back, the money will transfer from that reimbursement
account back to a regular asset account:
expense was made on behalf of Company XYZ@footnote{Note that there
is no negative amount. If left blank, Ledger will assume that the
balanced amount is the same as the first line. For more information,
@pxref{Eliding amounts}.}. Later, when Company XYZ pays the
amount back, the money will transfer from that reimbursement account
back to a regular asset account:

@smallexample @c input:validate
2004/09/29 Company XYZ
Expand Down

0 comments on commit d187487

Please sign in to comment.