One thing to keep in mind is that, by design, ledger-cli NEVER alters the
input file.

On Fri, Sep 13, 2019 at 10:29 Jimi Damon <[email protected]> wrote:

> Clearing that way is really cumbersome, isn't nearly as scriptable as the
> method mentioned and really doesn't jive well with modern day
> Cryptocurrency / block chain solutions.
>
>
> On Friday, September 13, 2019 at 5:20:44 AM UTC-7, psionl0 wrote:
>>
>> This is what the "cleared" field is mean to do. I would initially write
>> the entries as follows:
>>
>> ; file: check_writing.ledger
>> 2000/01/01 * Initial Balance
>>     Bank:Checking Account      $1000.00
>>     Equity:Initial
>>
>> 2019/09/12  Landlord
>>     Expenses:Rent                    $500.00
>>     Bank:Checking Account:Cheque:124
>>
>> When the cheque clears, you mark the entry with an asterisk.
>>
>> If you don't want to alter the initial file then you could do the
>> following:
>>
>> 2000/01/01 * Initial Balance
>>     Bank:Checking Account      $1000.00
>>     Equity:Initial
>>
>> 2019/09/12  Landlord
>>     Expenses:Rent                    $500.00
>>     Bank:Checking Account:Cheque:124
>>
>> 2019/10/11  Landlord
>>     Expenses:Rent                   -$500.00
>>     Bank:Checking Account:Cheque:124
>>
>> 2019/10/11 *  Landlord ; Cheque cleared
>>     Expenses:Rent                    $500.00
>>     Bank:Checking Account:Cheque:124
>>
>> Using the -C or -U option (or neither) in your reports will give you an
>> accurate picture of the state of your finances at all times.
>>
>>
>>
>>
>> On Friday, September 13, 2019 at 5:40:03 AM UTC+8, Jimi Damon wrote:
>>>
>>> So according to your commentary Martin , would you just change it to
>>>
>>> ; file: check_writing.ledger
>>> 2000/01/01 * Initial Balance
>>>     Assets:Cash      $1000.00
>>>     Equity:Initial
>>>
>>> 2019/09/12 * Landlord
>>>     Expenses:Rent    $500.00
>>>     Assets:Cash:Cheque:124
>>>
>>> 2019/10/11 * Landlord Cashed the check
>>>     Assets:Cash:Checque:124   $500.00
>>>     Assets:Cash
>>>
>>>
>>> I'm not sure how what you describe is different than these two reports
>>>
>>> One is at the end of September
>>>
>>> ledger -f check_writing.ledger -e 2019/09/30 bal ^assets:cash$
>>>            $1000.00  Assets:Cash
>>>
>>>
>>> The other is at the end of next month
>>> ledger -f check_writing.ledger  -e 2019/10/31 bal ^assets:cash$
>>>              $500.00  Assets:Cash
>>>
>>>
>>> Thanks for any clarifications you can give.
>>>
>>>
>>>
>>>
>>> On Saturday, August 31, 2019 at 11:59:20 AM UTC-7, Martin Michlmayr
>>> wrote:
>>>>
>>>> * Taylor R Campbell <[email protected]> [2019-08-14 21:04]:
>>>> > ; hand-written ledger entry
>>>> > account Liabilities:Bank:Cheque:123
>>>> > 2017-01-31 Landlord
>>>> >     Expenses:Rent                            $750.00
>>>> >     Liabilities:Bank:Cheque:123
>>>> >
>>>> > ; automatically generated by bank2ledger script
>>>> > 2017-02-25 Bank statement
>>>> >     Liabilities:Bank:Cheque:123              $750.00
>>>> >     Assets:Bank
>>>>
>>>> This works fine for personal accounts where you can do whatever works
>>>> best for you instead of following official accounting practices.
>>>>
>>>> This won't work for a business, however.  Cheques are treated as
>>>> immediate cash expenses: when you write a check, the money immediately
>>>> gets deducted (in your books), even though in reality it only gets
>>>> deducted from your bank account when the person deposits the check.
>>>>
>>>> That's (one reason) why businesses do bank reconciliations at the end
>>>> of the month where they compare their books with their actual bank
>>>> balances and account for the differences (undeposited checks get added
>>>> to the balance from your book to match the bank balance).
>>>>
>>>
>>>> --
>>>> Martin Michlmayr
>>>> https://www.cyrius.com/
>>>>
>>> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Ledger" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ledger-cli/5dcf74ac-4798-4693-932c-e8fd428b8147%40googlegroups.com
> <https://groups.google.com/d/msgid/ledger-cli/5dcf74ac-4798-4693-932c-e8fd428b8147%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Craig, Corona De Tucson, AZ
[image: missile_flyout]
enderw88.wordpress.com

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAKs9TO%2BnYm6xWBeDr8sF-YakWFPvSMrs_O237Lh-S2j01CTBtg%40mail.gmail.com.

Reply via email to