import2ledger/tests/data/templates.ini
Brett Smith 76f2707aac hooks.ledger_entry: New hook to output Ledger entries.
This is roughly the smallest diff necessary to move output to a hook.
There's a lot of code reorganization that should still happen to bring it
better in line with this new structure.
2017-12-31 12:35:20 -05:00

47 lines
971 B
INI

[Simplest]
template = Accrued:Accounts Receivable {amount}
Income:Donations -{amount}
[FiftyFifty]
template =
Accrued:Accounts Receivable {amount}
Income:Donations -.5 * {amount}
Income:Sales -.5*{amount}
[Complex]
template =
;Tag: Value
;TransactionID: {txid}
Accrued:Accounts Receivable {amount}
;Entity: Supplier
Income:Donations:{program} -.955* {amount}
;Program: {program}
;Entity: {entity}
Income:Donations:General -.045 * {amount}
;Entity: {entity}
[Multivalue]
template =
Expenses:Taxes {tax}
;TaxAuthority: IRS
Accrued:Accounts Receivable {amount} - {tax}
Income:RBI -.1*{amount}
Income:Donations -.9*{amount}
[Custom Payee]
template = {custom_date} {payee} - Custom
Accrued:Accounts Receivable {amount}
Income:Donations -{amount}
[Multisplit]
template =
Assets:Cash {amount}
Income:Sales -{amount} + {item_sales}
; :NonItem:
Income:Sales -{item_sales}
; :Item:
[Empty]
template =
[Nonexistent]