2019-03-14 Invoice Clienta ; :Invoice: 201901
; Invoice: 201901
; Period: 2019-02-01--2019-03-02
Income:Consulting 11.00 h @ -$50.00 ; Rendered at x ; Period: 2019-02-10--2019-02-16
Income:Consulting 7.00 h @ -$50.00 ; Rendered at x ; Period: 2019-02-17--2019-02-23
Income:Consulting 7.00 h @ -$50.00 ; Rendered at x ; Period: 2019-02-23--2019-03-02
Assets:Accounts Receivable:Clienta
hledger r and b commands work just fine.
~ ledger hledger r Receiv -e 20190315
2019/03/14 Invoice Clienta Assets:Accounts Receivable:Clienta $ 1,250.00 $ 1,250.00
But ledger is giving me this:
~ ledger ledger r Receiv
In file included from "/data/ledger/business/general.journal", line 3:
While parsing file "/data/ledger/business/invoices.journal", line 9:
While parsing posting:
Income:Consulting 11.00 h @ -$50.00 ; Rendered at ; Period: 2019-02-10--2019-02-16
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: A posting's cost may not be negative
As I understand Income account needs to be negative and it seems work. But then why is ledger giving me this message? What do I have to do to my file to keep it compatible? Appreciate any answers and any ideas also as to the Invoice format.