Comments (11)
There is a note
directive in Beancount, but there is a explicit date attached. The example given would look like this:
2018-05-23 note Expenses:Membership "organization membership, non-profits, political parties, etc."
Another possibility would be to add it to the open
statement of an account, eg.
2018-05-23 open Expenses:Membership
note: "organization membership, non-profits, political parties, etc."
from ledger2beancount.
ledger2beancount currently ignores note entries.
It shouldn't. A "note" is converted to "description" metadata for accounts and for commodities you get metadata "name" for a note.
1970-01-01 open Expenses:Membership
description: "organization membership, non-profits, political parties, etc."
Does this not happen for you?
Since beancount apparently supports note
metadata I guess we should use that. @aumayr does that exist for commodities too?
from ledger2beancount.
My bad, I was looking at an outdated beancount file after having modified the source ledger one. I do have description
metadata for accounts, as expected.
from ledger2beancount.
I think we should reopen this as @aumayr had some good input. If "note" is more official in beancount than "description" we should use that instead.
@aumayr can you clarify on this point (and my question regarding commodities)?
from ledger2beancount.
from ledger2beancount.
@aumayr can you provide more input on this?
from ledger2beancount.
Since beancount apparently supports note metadata I guess we should use that. @aumayr does that exist for commodities too?
In fact, it does:
# Straight from the Beancount docs: https://docs.google.com/document/d/1wAMVrKIA2qtRGmoVDSUBJGmYZSygUaR0uOMW1GV3YE0/edit
2012-01-01 commodity HOOL
name: "Hooli Corporation Class C Shares"
asset-class: "stock"
from ledger2beancount.
In fact, it does:
@aumayr sorry, I think I wasn't clear. I understand that accounts and commodities support meta-data but afaik the meta-data has no pre-defined meaning, so you can use whatever keys you want.
I understood your original comment to mean that the key note
has a special in beancount and I wanted to clarify if it indeed does. But I cannot find anything about note
being special so I guess it makes little different if we use note
or description
.
from ledger2beancount.
I don't think note
or description
makes a difference.
from ledger2beancount.
Sorry, I didn't want to close (pressed the wrong button). But I think this probably ought to be closed.
from ledger2beancount.
I'm closing this. I find no evidence that note
or name
or whatever has any special meaning
from ledger2beancount.
Related Issues (20)
- Use ledger transaction note as beancount transaction narration HOT 8
- Document how beancount_header is being interpreted HOT 2
- Can't parse date 2020/01/06 HOT 3
- Doesn't set commodity for commodity-less balance assertion
- Having some trouble installing on macOS HOT 7
- Support +amount HOT 1
- Top-level "Revenue" accounts lead to errors in beancount HOT 7
- Multiple assertions for one day HOT 11
- hledger allows 1000. (number dot without number)
- Overriding transaction dates using metadata HOT 1
- hledger: decimal comma values broken with default commodity
- Add support for beancount v3
- uninitialized value with inline math and comment HOT 1
- Doesn't recognize all tags HOT 1
- Add tag_map HOT 3
- Adds empty note for balance check withour narration
- Implicit conversion leads to bogus collision warning
- docs: mention "Expression amounts"
- Add .readthedocs.yaml config
- add support for per-account booking method override HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ledger2beancount.