Commit graph

59 commits

Author SHA1 Message Date
tripun
45b8d981c2 improved patchwork 2014-07-08 21:32:49 +05:30
tripun
c0135638fc reimplemented precision feature 2014-07-03 00:37:06 +05:30
tripun
e419881701 improved basic precision test 2014-07-02 00:47:05 +05:30
tripun
87837d3875 final example from rounding post 2014-07-02 00:31:19 +05:30
tripun
06a74e7a61 added precision directive test 2014-07-02 00:20:51 +05:30
tripun
49ea0a1380 fixed price debug 2014-07-01 20:19:41 +05:30
tripun
680e25846d more updated logs 2014-07-01 18:50:09 +05:30
tripun
f15d9be613 debugging exchange function in pool.cc 2014-07-01 18:00:36 +05:30
tripun
0c97e80295 more debug logs 2014-07-01 14:48:22 +05:30
tripun
f1f611b1ae patch for ledger to add precision feature 2014-06-30 15:55:26 +05:30
tripun
f7453fff54 added a feature in ledger 2014-06-27 17:55:35 +05:30
tripun
5037c02066 ledger bugs related debug reports 2014-06-20 17:24:29 +05:30
tripun
fa0755e4b5 updated solution 2014-06-20 15:06:36 +05:30
tripun
e32a546ab0 added new files 2014-06-20 14:10:46 +05:30
tripun
244315882f updated doc 2014-06-13 06:57:18 +05:30
tripun
7f02b677fd created proposal doc about rounding 2014-06-12 20:33:20 +05:30
Martin Michlmayr
19d32244e3 Add missing reference 2014-05-18 09:16:16 -04:00
Martin Michlmayr
a5f212dc71 Typo fixes 2014-05-18 09:14:58 -04:00
Martin Michlmayr
620278d220 Cosmetic fixes 2014-04-18 22:32:53 -04:00
Bradley M. Kuhn
78e68f0bd9 W2 is also a valid tag value for TaxImplication: tag. 2013-05-10 17:33:23 -04:00
Bradley M. Kuhn
18a4125ff7 Initial documentation for Income accounts, including tagging requirements.
Implemented in the config-accounts.ledger is an incomeChecker() function that
matches the documentation requirements.
2013-05-10 17:04:15 -04:00
Bradley M. Kuhn
4a1ce514a5 Add example into the main-org.ledger where the TaxImplication and Entity are required. 2013-05-10 16:56:28 -04:00
Bradley M. Kuhn
3569620d0f Require and Entity and TaxImplication tag for outgoing payments over $10.
This now enforces what was said in the documentation in the previous commit:

   The `TaxImplication:` tag is used for all `Asset:` accounts when the
   transaction includes a payment of $10.00 or more leaving the
   account. .... An [`Entity:` tag](entity-tag) should always go along with a
   TaxImplication tag.
2013-05-10 16:54:44 -04:00
Bradley M. Kuhn
9f9ba87e52 Initial documentation of the TaxImplication tag.
Includes declaration in the configuration for TaxImplication tag.
2013-05-10 16:53:04 -04:00
Bradley M. Kuhn
081a2d72b8 Updated documentation on Expense: account requirements. 2013-04-30 15:20:59 -04:00
Bradley M. Kuhn
f0ea3f31bf First documentation for the Entity: tag.
Included also is a ledger command to get the list of all tag values.
2013-04-30 14:42:54 -04:00
Bradley M. Kuhn
1e2c39d3cd Fix awkward descriptions: details on the tags were under the account tag requirements.
Thus, I factored the text regarding the linking to documents that was in the
Expense account section into the section on describing the tags themselves,
and then merely linked back to that.
2013-04-30 14:36:23 -04:00
Bradley M. Kuhn
a4a10fc7b0 Initial documentation of the Program: tag.
Includes introduction of the section about making use of these tags.
2013-04-29 19:55:07 -04:00
Bradley M. Kuhn
204faae77f Added Accrued:Accounts Receivable:Main Org and some other trivial changes. 2013-04-29 17:55:14 -04:00
Bradley M. Kuhn
621bc34ecb Add Income:Main Org:Donations account. 2013-04-29 17:54:43 -04:00
Bradley M. Kuhn
8edcae92d3 First documentation of the IncomeType tag. 2013-04-29 17:50:07 -04:00
Bradley M. Kuhn
eb1e2f7aa9 Spacing fix. 2013-04-29 17:44:10 -04:00
Bradley M. Kuhn
6b75627d40 Add example that explains very briefly how tagging works in Ledger CLI.
Since this system relies so heavily on tagging, even though we assume the
reader is generally familiar with Ledger CLI, it's worth ensuring they know
the basics of how tagging works.

Also added herein is the example  used in the text over to the Ledger file
itself.
2013-04-29 17:44:04 -04:00
Bradley M. Kuhn
40e3c779a5 Correct linkage. For relative links, at least with pandoc, I need a # here. 2013-04-29 17:11:10 -04:00
Bradley M. Kuhn
8b5f3f7fab Create links in Expense: account section to (Invoice|Statement|Receipt) tag sections. 2013-04-29 17:10:37 -04:00
Bradley M. Kuhn
6334d92739 Initial documentation of Statement tag. 2013-04-29 17:08:40 -04:00
Bradley M. Kuhn
c9fc4a8761 Initial documentation of the Invoice: tag. 2013-04-29 16:30:49 -04:00
Bradley M. Kuhn
68d036aa02 Documentation of Receipt: tag and its appropriate uses. 2013-04-29 16:27:45 -04:00
Bradley M. Kuhn
8d70db6127 Split out config-npo.ledger into four different files.
I realized that it makes more sense, even if it does create extra files, for
the accounts, commodities and tags declarations of the project to be
carefully split into different files.  It's definitely more didactic to have
separate files for these declarations, to note that they are, in fact,
separable.

More to that point, users who cut-and-paste from this project into their own
setup will likely be least interested in the chart of accounts, which is
likely to be the longest file by far.  The tags will probably be the most
interesting, so it's important they are in a stand-alone file that can be
easily found.
2013-04-29 16:20:05 -04:00
Bradley M. Kuhn
a274533f02 Properly declare Receipt, Invoice, and Statement tags.
The Statement, Receipt, and Invoice tags' values should always a be a
relative path names.  Note that we "check", but do not "assert" that the file
name match a standard Unix-like path syntax, without spaces in the file name.
2013-04-29 16:09:29 -04:00
Bradley M. Kuhn
83553bd2aa "Conservancy" is obviously what Conservancy calls the "Main Org" internally,
but this tutorial should not include those.

Herein I correct  that error from a recent commit.
2013-04-29 16:06:03 -04:00
Bradley M. Kuhn
746a998ba3 Added Visa Credit Card to list of declared accounts. 2013-04-29 16:01:36 -04:00
Bradley M. Kuhn
8f1f957cab Initial documentation for Expense: documentation requirements.
This includes some additions to the example ledger files.
2013-04-29 15:41:44 -04:00
Bradley M. Kuhn
ddf29b6c10 Create top-level books.ledger for the entire books of the org.
Really, the right place to include the configuration is from here, not the
individual files.
2013-04-29 15:31:14 -04:00
Bradley M. Kuhn
e128777818 Started main-org.ledger file. 2013-04-29 15:28:37 -04:00
Bradley M. Kuhn
85016f3754 Basic organizational expense accounts, with a tester function for assert.
Note that Expense account entries need to be tagged with an Invoice, Receipt,
or Statement tag (those tag declarations will be added in next commit).

payee with "NEVER CHARGED"
==========================

The only exception is when the payee has been modified to indicate that the
expense was "NEVER CHARGED".  This was a special-case we encountered where we
were expecting something, they never invoiced us, and it turns out the thing
to be invoiced for never happened.

Typically, we'd just remove the entry from the Ledger file, and allow the VCS
to log the fact that we thought we'd be charged and weren't.  However, in
this case, the expense had been post-audit and therefore was a permanent
fixture on our books.  Changing the payee allowed it to pass checks.

However, going forward, we'd likely never enter anything the ledger UNTIL we
had real proof via an Invoice, Receipt or Statement that showed the Expense
did/should occur.
2013-04-29 15:15:10 -04:00
Bradley M. Kuhn
75bf92ca81 Center header a bit better. 2013-04-29 13:52:07 -04:00
Bradley M. Kuhn
01013ec96c Beginning of general description of using Ledger CLI for fiscal sponsorship accounts. 2013-04-21 15:41:32 -04:00
Bradley M. Kuhn
38c378629e Finished chart of accounts section. 2013-04-21 15:12:16 -04:00
Bradley M. Kuhn
4d319df867 First draft of configuration template for NPO accounts. 2013-04-20 14:37:07 -04:00