import2ledger/tests/data/templates.ini

60 lines
1.2 KiB
INI
Raw Normal View History

[DEFAULT]
date_format = %%Y-%%m-%%d
signed_currencies = USD, CAD
signed_currency_format = ¤#,##0.###
unsigned_currency_format = #,##0.### ¤¤
[Simplest]
2017-12-18 17:23:18 +00:00
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}
2017-12-18 17:23:18 +00:00
[Custom Payee]
template = {custom_date} {payee} - Custom
Accrued:Accounts Receivable {amount}
Income:Donations -{amount}
2017-12-30 20:55:25 +00:00
[Multisplit]
template =
Assets:Cash {amount}
Income:Sales -{amount} + {item_sales}
; :NonItem:
Income:Sales -{item_sales}
; :Item:
[Conditional]
template =
Assets:Cash {amount} - (6 if {amount} > 50 else 3)
Expenses:Banking Fees (6 if {amount} > 50 else 3)
Income:Sales -{amount}
[Empty]
template =
[Nonexistent]