Files @ cc8c03ab626a
Branch filter:

Location: NPO-Accounting/import2ledger/tests/data/templates.ini

Brett Smith
main: Provide template variables about the file being imported.
[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}