mirror of
https://github.com/davidkeegan/dklrt
synced 2024-12-26 21:58:08 +01:00
WIP: Texi.
This commit is contained in:
parent
79dc45e7c6
commit
94a1fd7988
2 changed files with 42 additions and 19 deletions
18
dklrt.ldg
18
dklrt.ldg
|
@ -1,3 +1,12 @@
|
||||||
|
2013-10-01 Payee8
|
||||||
|
Premium:Sns:Total €-2620.83
|
||||||
|
Premium:Sns:Dk:Monthly €2124.97
|
||||||
|
Premium:Sns:Sns:Monthly €495.86
|
||||||
|
|
||||||
|
2013-10-10 Payee Details
|
||||||
|
Asset:Bank:Boi:Current:Dk €10.00
|
||||||
|
Expense:Misc:Charity
|
||||||
|
|
||||||
2013-10-14 Payee1
|
2013-10-14 Payee1
|
||||||
Asset:Cash:Euro €50.00
|
Asset:Cash:Euro €50.00
|
||||||
Expense:Education
|
Expense:Education
|
||||||
|
@ -10,15 +19,6 @@
|
||||||
Liability:CreditCard:Mc €5.25
|
Liability:CreditCard:Mc €5.25
|
||||||
Expense:Groceries
|
Expense:Groceries
|
||||||
|
|
||||||
2013-10-01 Payee8
|
|
||||||
Premium:Sns:Total €-2620.83
|
|
||||||
Premium:Sns:Dk:Monthly €2124.97
|
|
||||||
Premium:Sns:Sns:Monthly €495.86
|
|
||||||
|
|
||||||
2013-10-10 Payee Details
|
|
||||||
Asset:Bank:Boi:Current:Dk €10.00
|
|
||||||
Expense:Misc:Charity
|
|
||||||
|
|
||||||
2013-11-01 Payee8
|
2013-11-01 Payee8
|
||||||
Premium:Sns:Total €-2620.83
|
Premium:Sns:Total €-2620.83
|
||||||
Premium:Sns:Dk:Monthly €2124.97
|
Premium:Sns:Dk:Monthly €2124.97
|
||||||
|
|
43
dklrt.texi
43
dklrt.texi
|
@ -125,7 +125,16 @@ transactions.
|
||||||
|
|
||||||
@enumerate
|
@enumerate
|
||||||
@item
|
@item
|
||||||
DkTbd: Only ISO Dates are supported: YYYY-MM-DD.
|
In the configuration file, transaction dates must be
|
||||||
|
expressed in ISO format, eg ``YYYY-MM-DD'' or
|
||||||
|
``YYYY/MM/DD'', and this format is preserved when the
|
||||||
|
transaction is appended to the ledger file. This is
|
||||||
|
compatible with ledger's default date format, and should
|
||||||
|
work with ledger-mode.
|
||||||
|
|
||||||
|
Problems can be expected if --input-date-format has been
|
||||||
|
configured with a non-ISO format in the ledger init file
|
||||||
|
(.ledgerrc) or on the ledger command line.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Depends on some python code which is included in the package
|
Depends on some python code which is included in the package
|
||||||
|
@ -146,19 +155,34 @@ the same directory as the ledger file, and its filename is
|
||||||
the same as that of the ledger file except that the ledger
|
the same as that of the ledger file except that the ledger
|
||||||
file suffix is replaced by @file{.rec} (configurable).
|
file suffix is replaced by @file{.rec} (configurable).
|
||||||
|
|
||||||
A recurring transactions configuration file contains one or
|
The configuration file contains one or more transactions in
|
||||||
more transactions in ledger file format, but with the
|
ledger file format. I must not contain any of the following
|
||||||
following restrictions on the initial (date/payee) line of
|
ledger constructs:
|
||||||
the transaction:
|
|
||||||
|
|
||||||
@enumerate
|
@enumerate
|
||||||
@item
|
@item
|
||||||
The transaction date must be in ISO format: YYYY-MM-DD.
|
Stand-alone comment (ie not part of a transaction).
|
||||||
DkTbd.
|
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Automated transactions (beginning with ``='' are not
|
Historical commodity price (starts with ``P'').
|
||||||
supported.
|
|
||||||
|
@item
|
||||||
|
Automated transaction (starts with ``='').
|
||||||
|
|
||||||
|
@item
|
||||||
|
Period transaction (starts with ``~'').
|
||||||
|
|
||||||
|
@item
|
||||||
|
Command directive.
|
||||||
|
@end enumerate
|
||||||
|
|
||||||
|
In addition the following rules apply to the the initial
|
||||||
|
(date/payee) line of each transaction:
|
||||||
|
|
||||||
|
@enumerate
|
||||||
|
@item
|
||||||
|
The transaction date must be in ISO format: ``YYYY-MM-DD'' or
|
||||||
|
``YYYY/MM/DD''.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Auxiliary dates (date1=date2) are not supported.
|
Auxiliary dates (date1=date2) are not supported.
|
||||||
|
@ -190,7 +214,6 @@ A single character from the following y (year), m (month) w
|
||||||
(week), d (day), specifying the period unit and following
|
(week), d (day), specifying the period unit and following
|
||||||
immediately after the integer without intervening space.
|
immediately after the integer without intervening space.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@end enumerate
|
@end enumerate
|
||||||
|
|
||||||
@node Operations
|
@node Operations
|
||||||
|
|
Loading…
Reference in a new issue