X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank2ledger;a=blobdiff_plain;f=lib%2FApp%2FHomeBank2Ledger%2FLedger.pm;h=2c8f15eda65899cff859080f60809c5490e3aa47;hp=72a0953fac64d30f561b50b189512cda1ddaca95;hb=2761fbe1d147a87c4294277078eb6a14080de99d;hpb=c98b44648f2abff9b21d994f6c94c837ac612d41 diff --git a/lib/App/HomeBank2Ledger/Ledger.pm b/lib/App/HomeBank2Ledger/Ledger.pm index 72a0953..2c8f15e 100644 --- a/lib/App/HomeBank2Ledger/Ledger.pm +++ b/lib/App/HomeBank2Ledger/Ledger.pm @@ -24,7 +24,7 @@ accounts. Examples: =for :list * "Assets:Bank:Chase1234" -* "Liabilities:Credit Card:CapitalOne" +* "Liabilities:Credit Card:Capital One" =head2 commodity @@ -51,9 +51,11 @@ This is a hashref like this: { date => '2019-06-12', # required - payee => 'Malcolm Reynolds', # required + aux_date => '2019-06-13', # optional status => 'cleared', # optional; can be "cleared" or "pending" - memo => 'Medical supplies', # optional + code => '1234', # optional + payee => 'Malcolm Reynolds', # required + note => 'Medical supplies', # optional postings => [ # required { account => 'Some Account', # required @@ -69,9 +71,20 @@ This is a hashref like this: frac => 2, }, payee => 'Somebody', # optional - memo => 'Whatever', # optional + note => 'Whatever', # optional status => 'pending', # optional; can be "cleared" or "pending" tags => [qw(niska train-job)], + lot => { # optional + date => '2019-01-28', + price => { + amount => '15.00', + commodity => { ... }, + }, + }, + cost => { # optional + amount => '10.00', + commodity => { ... }, + }, }, ... ],