I have a huge expenses setup for Ledger.
The workflow is straightforward:
- Spend money & collect receipts
- Scan receipts (I use Shoeboxed.com)
- Download CSV from my credit card
- Use CSV2Ledger to import CC data into Ledger format
- Tag expenses with project code and receipt
- Generate an expense report from Ledger data via Perl script into Latex for PDF publishing
- Distribute the PDF
Ledger works GREAT at this, and I heavily abuse metadata to allow me
to do project cost accounting. On the other hand, it's still a pretty
manual process.
My biggest issue is consistency, a data entry widget to enforce
metadata and ledger formatting would go a long way.
Come hang out on IRC sometime and ask more. Maybe we can find a way to
make a "skeleton" workflow to share.
Thanks.
------------------------------------------------------------------
Russell Adams RLA...@AdamsInfoServ.com
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
OMG. Having to work with tools that take XML and build docx files as
part of my day job, I weep for you if you go down that path. If LaTeX
means a learning curve, then maybe going to CSV or Tab separated
values and pulling into a spreadsheet would be simpler...
-Doug
The Latex table is easy, here's a single line from a Latex table:
2011/05/20 & TravelAgencyFee & AGENT FEE & \$40.00 & \\ \hline
It's '&' separated.
Latex also links in all my receipt images seamlessly that I get via
Ledger metadata.
\includegraphics[scale=.6,angle=90]{./Receipts/PROJ3009/20110527_NJTransit_3_00.jpg} \\
Tada. All that and a fully function PDF with TOC to boot.
The perl script interrogates Ledger and parses the output to reformat
to Latex.
To get you started, here's a sample txn:
2011/03/13 (03/15/2011) HAMPTON INNS
; RECEIPT: Receipts/PROJ0000/hampton.jpg
Source:Visa $-246.34
Dest:Projects
; ER: ER0001
; PROJECT: PROJ0000
; CATEGORY: Lodging
Then you can play with --pivot and ER, PROJECT, and use %ER=ER0001 to
see your expense.
Thanks.
While it won't do exactly what you mention, this might be helpful:
http://johnmacfarlane.net/pandoc/
- Zack