rock_books 0.1.6 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -0
  3. data/LICENSE.txt +201 -21
  4. data/README.md +64 -142
  5. data/RELEASE_NOTES.md +38 -0
  6. data/lib/rock_books/cmd_line/command_line_interface.rb +30 -10
  7. data/lib/rock_books/documents/book_set.rb +5 -99
  8. data/lib/rock_books/documents/chart_of_accounts.rb +66 -29
  9. data/lib/rock_books/documents/journal.rb +45 -40
  10. data/lib/rock_books/documents/journal_entry_builder.rb +11 -5
  11. data/lib/rock_books/errors/date_range_error.rb +20 -0
  12. data/lib/rock_books/helpers/html_helper.rb +29 -0
  13. data/lib/rock_books/reports/balance_sheet.rb +2 -2
  14. data/lib/rock_books/reports/book_set_reporter.rb +201 -0
  15. data/lib/rock_books/reports/income_statement.rb +2 -2
  16. data/lib/rock_books/reports/index.html.erb +156 -0
  17. data/lib/rock_books/reports/receipts.html.erb +54 -0
  18. data/lib/rock_books/reports/receipts_report.rb +23 -10
  19. data/lib/rock_books/reports/report_context.rb +1 -6
  20. data/lib/rock_books/reports/reporter.rb +1 -1
  21. data/lib/rock_books/reports/transaction_report.rb +4 -2
  22. data/lib/rock_books/version.rb +1 -1
  23. data/manual.md +251 -0
  24. data/rock_books.gemspec +4 -3
  25. data/sample_data/minimal/receipts/01/2018-01-01-sample-receipt.jpg +0 -0
  26. data/sample_data/minimal/rockbooks-inputs/{2017-xyz-chart-of-accounts.txt → 2018-xyz-chart-of-accounts.txt} +3 -1
  27. data/sample_data/minimal/rockbooks-inputs/{2017-xyz-checking-journal.txt → 2018-xyz-checking-journal.txt} +3 -6
  28. data/sample_data/minimal/rockbooks-inputs/{2017-xyz-general-journal.txt → 2018-xyz-general-journal.txt} +3 -3
  29. data/sample_data/minimal/rockbooks-inputs/2018-xyz-visa-journal.txt +32 -0
  30. data/sample_data/minimal/rockbooks-reports/html/all_txns_by_acct.html +467 -454
  31. data/sample_data/minimal/rockbooks-reports/html/all_txns_by_amount.html +90 -84
  32. data/sample_data/minimal/rockbooks-reports/html/all_txns_by_date.html +89 -83
  33. data/sample_data/minimal/rockbooks-reports/html/balance_sheet.html +35 -35
  34. data/sample_data/minimal/rockbooks-reports/html/ck.hsbc.disb.html +27 -27
  35. data/sample_data/minimal/rockbooks-reports/html/ck_hsbc_disb.html +40 -0
  36. data/sample_data/minimal/rockbooks-reports/html/general.html +28 -28
  37. data/sample_data/minimal/rockbooks-reports/html/hsbc_visa.html +45 -40
  38. data/sample_data/minimal/rockbooks-reports/html/income_statement.html +33 -32
  39. data/sample_data/minimal/rockbooks-reports/html/index.html +271 -0
  40. data/sample_data/minimal/rockbooks-reports/html/receipts.html +28 -27
  41. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_accts.rec.html +14 -14
  42. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_accts_rec.html +27 -0
  43. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_bank.fees.html +14 -14
  44. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_bank_fees.html +27 -0
  45. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_books.refs.html +14 -14
  46. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_books_refs.html +27 -0
  47. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_cc.hsbc.visa.html +61 -54
  48. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_cc.proc.html +14 -14
  49. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_cc_hsbc_visa.html +74 -0
  50. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_cc_proc.html +27 -0
  51. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_ck.hsbc.html +32 -32
  52. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_ck_hsbc.html +45 -0
  53. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_conf.fees.html +23 -23
  54. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_conf_fees.html +36 -0
  55. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_cowork.fees.html +29 -29
  56. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_cowork_fees.html +42 -0
  57. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_govt.fees.html +14 -14
  58. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_govt_fees.html +27 -0
  59. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_inet.fees.html +14 -14
  60. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_inet_fees.html +27 -0
  61. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_insurance.html +23 -23
  62. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_int.exp.html +14 -14
  63. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_int_exp.html +27 -0
  64. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_loan.to.sh.html +34 -34
  65. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_loan_to_sh.html +47 -0
  66. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_meals.ent.html +14 -14
  67. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_meals_ent.html +27 -0
  68. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_misc.exp.html +14 -14
  69. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_misc_exp.html +27 -0
  70. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_mktng.exp.html +14 -14
  71. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_mktng_exp.html +27 -0
  72. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_own.equity.html +22 -22
  73. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_own_equity.html +35 -0
  74. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_paypal.html +14 -14
  75. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_prof.fees.html +14 -14
  76. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_prof_fees.html +27 -0
  77. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_repair.maint.html +14 -14
  78. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_repair_maint.html +27 -0
  79. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_ret.earn.html +14 -14
  80. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_ret_earn.html +27 -0
  81. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_ship.exp.html +14 -14
  82. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_ship_exp.html +27 -0
  83. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_sls.cons.html +22 -22
  84. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_sls_cons.html +35 -0
  85. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_supplies.html +23 -14
  86. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_sw.exp.html +14 -14
  87. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_sw_exp.html +27 -0
  88. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.airfare.html +22 -22
  89. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.autorent.html +14 -14
  90. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.gas.etc.html +14 -14
  91. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.govt.html +14 -14
  92. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.lodging.html +23 -23
  93. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.m.e.html +14 -14
  94. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.m.i.html +14 -14
  95. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.mileage.html +22 -22
  96. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.misc.html +14 -14
  97. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.parking.html +14 -14
  98. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.perdiem.mi.html +22 -22
  99. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.taxi.html +14 -14
  100. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.trainfare.html +14 -14
  101. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr.unclass.html +14 -14
  102. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_airfare.html +35 -0
  103. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_autorent.html +27 -0
  104. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_gas_etc.html +27 -0
  105. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_govt.html +27 -0
  106. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_lodging.html +36 -0
  107. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_m_e.html +27 -0
  108. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_m_i.html +27 -0
  109. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_mileage.html +35 -0
  110. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_misc.html +27 -0
  111. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_parking.html +27 -0
  112. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_perdiem_mi.html +35 -0
  113. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_taxi.html +27 -0
  114. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_trainfare.html +27 -0
  115. data/sample_data/minimal/rockbooks-reports/html/single-account/acct_tr_unclass.html +27 -0
  116. data/sample_data/minimal/rockbooks-reports/pdf/all_txns_by_acct.pdf +0 -0
  117. data/sample_data/minimal/rockbooks-reports/pdf/all_txns_by_amount.pdf +0 -0
  118. data/sample_data/minimal/rockbooks-reports/pdf/all_txns_by_date.pdf +0 -0
  119. data/sample_data/minimal/rockbooks-reports/pdf/balance_sheet.pdf +0 -0
  120. data/sample_data/minimal/rockbooks-reports/pdf/ck.hsbc.disb.pdf +0 -0
  121. data/sample_data/minimal/rockbooks-reports/pdf/ck_hsbc_disb.pdf +0 -0
  122. data/sample_data/minimal/rockbooks-reports/pdf/general.pdf +0 -0
  123. data/sample_data/minimal/rockbooks-reports/pdf/hsbc_visa.pdf +0 -0
  124. data/sample_data/minimal/rockbooks-reports/pdf/income_statement.pdf +0 -0
  125. data/sample_data/minimal/rockbooks-reports/pdf/receipts.pdf +0 -0
  126. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_accts.rec.pdf +0 -0
  127. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_accts_rec.pdf +0 -0
  128. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_bank.fees.pdf +0 -0
  129. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_bank_fees.pdf +0 -0
  130. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_books.refs.pdf +0 -0
  131. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_books_refs.pdf +0 -0
  132. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_cc.hsbc.visa.pdf +0 -0
  133. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_cc.proc.pdf +0 -0
  134. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_cc_hsbc_visa.pdf +0 -0
  135. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_cc_proc.pdf +0 -0
  136. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_ck.hsbc.pdf +0 -0
  137. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_ck_hsbc.pdf +0 -0
  138. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_conf.fees.pdf +0 -0
  139. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_conf_fees.pdf +0 -0
  140. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_cowork.fees.pdf +0 -0
  141. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_cowork_fees.pdf +0 -0
  142. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_govt.fees.pdf +0 -0
  143. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_govt_fees.pdf +0 -0
  144. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_inet.fees.pdf +0 -0
  145. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_inet_fees.pdf +0 -0
  146. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_insurance.pdf +0 -0
  147. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_int.exp.pdf +0 -0
  148. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_int_exp.pdf +0 -0
  149. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_loan.to.sh.pdf +0 -0
  150. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_loan_to_sh.pdf +0 -0
  151. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_meals.ent.pdf +0 -0
  152. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_meals_ent.pdf +0 -0
  153. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_misc.exp.pdf +0 -0
  154. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_misc_exp.pdf +0 -0
  155. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_mktng.exp.pdf +0 -0
  156. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_mktng_exp.pdf +0 -0
  157. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_own.equity.pdf +0 -0
  158. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_own_equity.pdf +0 -0
  159. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_paypal.pdf +0 -0
  160. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_prof.fees.pdf +0 -0
  161. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_prof_fees.pdf +0 -0
  162. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_repair.maint.pdf +0 -0
  163. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_repair_maint.pdf +0 -0
  164. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_ret.earn.pdf +0 -0
  165. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_ret_earn.pdf +0 -0
  166. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_ship.exp.pdf +0 -0
  167. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_ship_exp.pdf +0 -0
  168. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_sls.cons.pdf +0 -0
  169. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_sls_cons.pdf +0 -0
  170. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_supplies.pdf +0 -0
  171. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_sw.exp.pdf +0 -0
  172. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_sw_exp.pdf +0 -0
  173. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.airfare.pdf +0 -0
  174. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.autorent.pdf +0 -0
  175. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.gas.etc.pdf +0 -0
  176. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.govt.pdf +0 -0
  177. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.lodging.pdf +0 -0
  178. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.m.e.pdf +0 -0
  179. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.m.i.pdf +0 -0
  180. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.mileage.pdf +0 -0
  181. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.misc.pdf +0 -0
  182. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.parking.pdf +0 -0
  183. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.perdiem.mi.pdf +0 -0
  184. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.taxi.pdf +0 -0
  185. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.trainfare.pdf +0 -0
  186. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr.unclass.pdf +0 -0
  187. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_airfare.pdf +0 -0
  188. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_autorent.pdf +0 -0
  189. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_gas_etc.pdf +0 -0
  190. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_govt.pdf +0 -0
  191. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_lodging.pdf +0 -0
  192. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_m_e.pdf +0 -0
  193. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_m_i.pdf +0 -0
  194. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_mileage.pdf +0 -0
  195. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_misc.pdf +0 -0
  196. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_parking.pdf +0 -0
  197. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_perdiem_mi.pdf +0 -0
  198. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_taxi.pdf +0 -0
  199. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_trainfare.pdf +0 -0
  200. data/sample_data/minimal/rockbooks-reports/pdf/single-account/acct_tr_unclass.pdf +0 -0
  201. data/sample_data/minimal/rockbooks-reports/txt/all_txns_by_acct.txt +56 -43
  202. data/sample_data/minimal/rockbooks-reports/txt/all_txns_by_amount.txt +29 -23
  203. data/sample_data/minimal/rockbooks-reports/txt/all_txns_by_date.txt +29 -23
  204. data/sample_data/minimal/rockbooks-reports/txt/balance_sheet.txt +4 -4
  205. data/sample_data/minimal/rockbooks-reports/txt/ck.hsbc.disb.txt +5 -5
  206. data/sample_data/minimal/rockbooks-reports/txt/ck_hsbc_disb.txt +24 -0
  207. data/sample_data/minimal/rockbooks-reports/txt/general.txt +5 -5
  208. data/sample_data/minimal/rockbooks-reports/txt/hsbc_visa.txt +18 -13
  209. data/sample_data/minimal/rockbooks-reports/txt/income_statement.txt +4 -3
  210. data/sample_data/minimal/rockbooks-reports/txt/receipts.txt +6 -5
  211. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_accts_rec.txt +11 -0
  212. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_bank_fees.txt +11 -0
  213. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_books_refs.txt +11 -0
  214. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_cc.hsbc.visa.txt +21 -14
  215. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_cc_hsbc_visa.txt +58 -0
  216. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_cc_proc.txt +11 -0
  217. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_ck.hsbc.txt +4 -4
  218. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_ck_hsbc.txt +29 -0
  219. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_conf.fees.txt +2 -2
  220. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_conf_fees.txt +20 -0
  221. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_cowork.fees.txt +4 -4
  222. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_cowork_fees.txt +26 -0
  223. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_govt_fees.txt +11 -0
  224. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_inet_fees.txt +11 -0
  225. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_insurance.txt +3 -3
  226. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_int_exp.txt +11 -0
  227. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_loan.to.sh.txt +4 -4
  228. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_loan_to_sh.txt +31 -0
  229. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_meals_ent.txt +11 -0
  230. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_misc_exp.txt +11 -0
  231. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_mktng_exp.txt +11 -0
  232. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_own.equity.txt +1 -1
  233. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_own_equity.txt +19 -0
  234. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_prof_fees.txt +11 -0
  235. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_repair_maint.txt +11 -0
  236. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_ret_earn.txt +11 -0
  237. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_ship_exp.txt +11 -0
  238. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_sls.cons.txt +2 -2
  239. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_sls_cons.txt +19 -0
  240. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_supplies.txt +11 -2
  241. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_sw_exp.txt +11 -0
  242. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr.airfare.txt +1 -1
  243. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr.lodging.txt +2 -2
  244. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr.mileage.txt +2 -2
  245. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr.perdiem.mi.txt +1 -1
  246. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_airfare.txt +19 -0
  247. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_autorent.txt +11 -0
  248. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_gas_etc.txt +11 -0
  249. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_govt.txt +11 -0
  250. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_lodging.txt +20 -0
  251. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_m_e.txt +11 -0
  252. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_m_i.txt +11 -0
  253. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_mileage.txt +19 -0
  254. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_misc.txt +11 -0
  255. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_parking.txt +11 -0
  256. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_perdiem_mi.txt +19 -0
  257. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_taxi.txt +11 -0
  258. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_trainfare.txt +11 -0
  259. data/sample_data/minimal/rockbooks-reports/txt/single-account/acct_tr_unclass.txt +11 -0
  260. metadata +147 -15
  261. data/sample_data/minimal/receipts/01/2017-01-20-phoenix-hampton.pdf +0 -0
  262. data/sample_data/minimal/rockbooks-inputs/2017-xyz-visa-journal.txt +0 -27
@@ -0,0 +1,20 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account conf.fees -- Conference Fees (Expense)
4
+ Total: 500.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ 2018-01-06 hsbc_visa -500.00 cc.hsbc.visa Visa Credit Card
9
+ 500.00 conf.fees Conference Fees
10
+ Phoenix conference registration fee
11
+ Receipt: 01/2018-01-06-phoenix-conference-registration.pdf
12
+
13
+
14
+ Totals
15
+ ------
16
+
17
+ -500.00 cc.hsbc.visa Visa Credit Card
18
+ 500.00 conf.fees Conference Fees
19
+ ------------
20
+ 0.00
@@ -5,16 +5,16 @@
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- 2017-01-02 hsbc_visa -100.00 cc.hsbc.visa Visa Credit Card
8
+ 2018-01-02 hsbc_visa -100.00 cc.hsbc.visa Visa Credit Card
9
9
  100.00 cowork.fees Coworking Fees
10
10
  New Work City coworking fee for the month of January
11
- Receipt: 01/2017-01-02-nwc.pdf
11
+ Receipt: 01/2018-01-02-nwc.pdf
12
12
 
13
13
 
14
- 2017-02-01 hsbc_visa -100.00 cc.hsbc.visa Visa Credit Card
14
+ 2018-02-01 hsbc_visa -100.00 cc.hsbc.visa Visa Credit Card
15
15
  100.00 cowork.fees Coworking Fees
16
16
  New Work City coworking fee for the month of February
17
- Receipt: 02/2017-02-01-nwc.pdf
17
+ Receipt: 02/2018-02-01-nwc.pdf
18
18
 
19
19
 
20
20
  Totals
@@ -0,0 +1,26 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account cowork.fees -- Coworking Fees (Expense)
4
+ Total: 200.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ 2018-01-02 hsbc_visa -100.00 cc.hsbc.visa Visa Credit Card
9
+ 100.00 cowork.fees Coworking Fees
10
+ New Work City coworking fee for the month of January
11
+ Receipt: 01/2018-01-02-nwc.pdf
12
+
13
+
14
+ 2018-02-01 hsbc_visa -100.00 cc.hsbc.visa Visa Credit Card
15
+ 100.00 cowork.fees Coworking Fees
16
+ New Work City coworking fee for the month of February
17
+ Receipt: 02/2018-02-01-nwc.pdf
18
+
19
+
20
+ Totals
21
+ ------
22
+
23
+ -200.00 cc.hsbc.visa Visa Credit Card
24
+ 200.00 cowork.fees Coworking Fees
25
+ ------------
26
+ 0.00
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account govt.fees -- Government Fees (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account inet.fees -- Internet Service, Domain, and Hosting Fees (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -5,10 +5,10 @@
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- 2017-01-02 hsbc_visa -750.00 cc.hsbc.visa Visa Credit Card
8
+ 2018-01-02 hsbc_visa -750.00 cc.hsbc.visa Visa Credit Card
9
9
  750.00 insurance Insurance
10
- Professional insurance for the year 2017, Hartford Insurance
11
- Receipt: 01/2017-01-02-hartford-insurance.pdf
10
+ Professional insurance for the year 2018, Hartford Insurance
11
+ Receipt: 01/2018-01-02-hartford-insurance.pdf
12
12
 
13
13
 
14
14
  Totals
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account int.exp -- Interest Expense (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -5,19 +5,19 @@ Transactions for Account loan.to.sh -- Loan Payable to Shareholder (Liability)
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- 2017-01-08 general 300.00 tr.airfare Travel - Air Fares
8
+ 2018-01-08 general 300.00 tr.airfare Travel - Air Fares
9
9
  -300.00 loan.to.sh Loan Payable to Shareholder
10
10
  Phoenix conference air ticket paid on personal credit card
11
11
 
12
12
 
13
- 2017-01-20 general 495.00 tr.perdiem.mi Travel - Per Diem (Meals and Incidentals)
13
+ 2018-01-20 general 495.00 tr.perdiem.mi Travel - Per Diem (Meals and Incidentals)
14
14
  -495.00 loan.to.sh Loan Payable to Shareholder
15
15
  Per diem allowance for Phoenix conference (see worksheet)
16
16
 
17
17
 
18
- 2017-01-31 general 117.70 tr.mileage Travel - Mileage Allowance
18
+ 2018-01-31 general 117.70 tr.mileage Travel - Mileage Allowance
19
19
  -117.70 loan.to.sh Loan Payable to Shareholder
20
- Mileage reimbursement for business travel of January 2017 (see worksheet)
20
+ Mileage reimbursement for business travel of January 2018 (see worksheet)
21
21
 
22
22
 
23
23
  Totals
@@ -0,0 +1,31 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account loan.to.sh -- Loan Payable to Shareholder (Liability)
4
+ Total: -912.70
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ 2018-01-08 general 300.00 tr.airfare Travel - Air Fares
9
+ -300.00 loan.to.sh Loan Payable to Shareholder
10
+ Phoenix conference air ticket paid on personal credit card
11
+
12
+
13
+ 2018-01-20 general 495.00 tr.perdiem.mi Travel - Per Diem (Meals and Incidentals)
14
+ -495.00 loan.to.sh Loan Payable to Shareholder
15
+ Per diem allowance for Phoenix conference (see worksheet)
16
+
17
+
18
+ 2018-01-31 general 117.70 tr.mileage Travel - Mileage Allowance
19
+ -117.70 loan.to.sh Loan Payable to Shareholder
20
+ Mileage reimbursement for business travel of January 2018 (see worksheet)
21
+
22
+
23
+ Totals
24
+ ------
25
+
26
+ -912.70 loan.to.sh Loan Payable to Shareholder
27
+ 300.00 tr.airfare Travel - Air Fares
28
+ 117.70 tr.mileage Travel - Mileage Allowance
29
+ 495.00 tr.perdiem.mi Travel - Per Diem (Meals and Incidentals)
30
+ ------------
31
+ 0.00
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account meals.ent -- Meals & Entertainment (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account misc.exp -- Miscellaneous Expenses (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account mktng.exp -- Marketing Expenses (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -5,7 +5,7 @@
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- 2017-01-01 ck.hsbc.disb 5000.00 ck.hsbc HSBC Checking
8
+ 2018-01-01 ck.hsbc.disb 5000.00 ck.hsbc HSBC Checking
9
9
  -5000.00 own.equity Owner's Equity
10
10
  Initial Deposit from Shareholder
11
11
 
@@ -0,0 +1,19 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account own.equity -- Owner's Equity (Equity)
4
+ Total: -5000.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ 2018-01-01 ck.hsbc.disb 5000.00 ck.hsbc HSBC Checking
9
+ -5000.00 own.equity Owner's Equity
10
+ Initial Deposit from Shareholder
11
+
12
+
13
+ Totals
14
+ ------
15
+
16
+ 5000.00 ck.hsbc HSBC Checking
17
+ -5000.00 own.equity Owner's Equity
18
+ ------------
19
+ 0.00
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account prof.fees -- Professional Fees (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account repair.maint -- Repair & Maintenance (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account ret.earn -- Retained Earnings (Equity)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account ship.exp -- Shipping and Mailing Expenses (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -5,9 +5,9 @@
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- 2017-01-07 ck.hsbc.disb 10000.00 ck.hsbc HSBC Checking
8
+ 2018-01-07 ck.hsbc.disb 10000.00 ck.hsbc HSBC Checking
9
9
  -10000.00 sls.cons Sales - Consulting
10
- Invoice #437, Dec. 2016 work, ABC, Inc.
10
+ Invoice #437, Dec. 2017 work, ABC, Inc.
11
11
 
12
12
 
13
13
  Totals
@@ -0,0 +1,19 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account sls.cons -- Sales - Consulting (Income)
4
+ Total: -10000.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ 2018-01-07 ck.hsbc.disb 10000.00 ck.hsbc HSBC Checking
9
+ -10000.00 sls.cons Sales - Consulting
10
+ Invoice #437, Dec. 2017 work, ABC, Inc.
11
+
12
+
13
+ Totals
14
+ ------
15
+
16
+ 10000.00 ck.hsbc HSBC Checking
17
+ -10000.00 sls.cons Sales - Consulting
18
+ ------------
19
+ 0.00
@@ -1,11 +1,20 @@
1
1
  --------------------------------------------------------------------------------
2
2
  XYZ Consulting, Inc.
3
3
  Transactions for Account supplies -- Supplies (Expense)
4
- Total: 0.00
4
+ Total: 257.25
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- There were no transactions for this account.
8
+ 2018-01-01 hsbc_visa -257.25 cc.hsbc.visa Visa Credit Card
9
+ 257.25 supplies Supplies
10
+ Office Supplies
11
+ Receipt: 01/2018-01-01-sample-receipt.jpg
9
12
 
10
13
 
14
+ Totals
15
+ ------
11
16
 
17
+ -257.25 cc.hsbc.visa Visa Credit Card
18
+ 257.25 supplies Supplies
19
+ ------------
20
+ 0.00
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account sw.exp -- Software Expense (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+
@@ -5,7 +5,7 @@
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- 2017-01-08 general 300.00 tr.airfare Travel - Air Fares
8
+ 2018-01-08 general 300.00 tr.airfare Travel - Air Fares
9
9
  -300.00 loan.to.sh Loan Payable to Shareholder
10
10
  Phoenix conference air ticket paid on personal credit card
11
11
 
@@ -5,10 +5,10 @@
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- 2017-01-20 hsbc_visa -400.00 cc.hsbc.visa Visa Credit Card
8
+ 2018-01-20 hsbc_visa -400.00 cc.hsbc.visa Visa Credit Card
9
9
  400.00 tr.lodging Travel - Lodging
10
10
  Hampton Inn Phoenix (conference)
11
- Receipt: 01/2017-01-20-phoenix-hampton.pdf
11
+ Receipt: 01/2018-01-20-phoenix-hampton.pdf
12
12
 
13
13
 
14
14
  Totals
@@ -5,9 +5,9 @@
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- 2017-01-31 general 117.70 tr.mileage Travel - Mileage Allowance
8
+ 2018-01-31 general 117.70 tr.mileage Travel - Mileage Allowance
9
9
  -117.70 loan.to.sh Loan Payable to Shareholder
10
- Mileage reimbursement for business travel of January 2017 (see worksheet)
10
+ Mileage reimbursement for business travel of January 2018 (see worksheet)
11
11
 
12
12
 
13
13
  Totals
@@ -5,7 +5,7 @@ Transactions for Account tr.perdiem.mi -- Travel - Per Diem (Meals and Incidenta
5
5
  --------------------------------------------------------------------------------
6
6
 
7
7
 
8
- 2017-01-20 general 495.00 tr.perdiem.mi Travel - Per Diem (Meals and Incidentals)
8
+ 2018-01-20 general 495.00 tr.perdiem.mi Travel - Per Diem (Meals and Incidentals)
9
9
  -495.00 loan.to.sh Loan Payable to Shareholder
10
10
  Per diem allowance for Phoenix conference (see worksheet)
11
11
 
@@ -0,0 +1,19 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account tr.airfare -- Travel - Air Fares (Expense)
4
+ Total: 300.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ 2018-01-08 general 300.00 tr.airfare Travel - Air Fares
9
+ -300.00 loan.to.sh Loan Payable to Shareholder
10
+ Phoenix conference air ticket paid on personal credit card
11
+
12
+
13
+ Totals
14
+ ------
15
+
16
+ -300.00 loan.to.sh Loan Payable to Shareholder
17
+ 300.00 tr.airfare Travel - Air Fares
18
+ ------------
19
+ 0.00
@@ -0,0 +1,11 @@
1
+ --------------------------------------------------------------------------------
2
+ XYZ Consulting, Inc.
3
+ Transactions for Account tr.autorent -- Travel - Auto Rental (Expense)
4
+ Total: 0.00
5
+ --------------------------------------------------------------------------------
6
+
7
+
8
+ There were no transactions for this account.
9
+
10
+
11
+