CLI reference

rachuba sheet

rachuba sheet [--year YYYY] > runs.csv

Writes every run recorded in the year (default the current one) as one CSV sheet on standard output, a row per run, oldest first, for a spreadsheet or an accountant. The columns are the fields the ledger records for a run, under the names it stores them by, in alphabetical order: pay_date, kind, gross, the wages each tax is figured on, every withholding and employer tax, net_pay, and taxes_deposited and deferral_remitted, the days recorded with deposited and remitted, empty until then. Amounts are the decimal strings the ledger keeps, never a rounded float. Every cell is quoted as RFC 4180 quotes a field. A year with no run writes nothing. It records nothing, and it reads only the ledger, so it needs no tax tables for the year.

The same runs, with whether their money moved, are listed by runs; the year's totals by ytd.

Refusals

Only the shared ones on configuration: a ledger that cannot be read is refused with the reason.