GithubHelp home page GithubHelp logo

Comments (11)

aumayr avatar aumayr commented on June 6, 2024

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.

tbm avatar tbm commented on June 6, 2024

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.

zacchiro avatar zacchiro commented on June 6, 2024

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.

tbm avatar tbm commented on June 6, 2024

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.

zacchiro avatar zacchiro commented on June 6, 2024

from ledger2beancount.

tbm avatar tbm commented on June 6, 2024

@aumayr can you provide more input on this?

from ledger2beancount.

aumayr avatar aumayr commented on June 6, 2024

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.

tbm avatar tbm commented on June 6, 2024

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.

tbm avatar tbm commented on June 6, 2024

I don't think note or description makes a difference.

from ledger2beancount.

tbm avatar tbm commented on June 6, 2024

Sorry, I didn't want to close (pressed the wrong button). But I think this probably ought to be closed.

from ledger2beancount.

tbm avatar tbm commented on June 6, 2024

I'm closing this. I find no evidence that note or name or whatever has any special meaning

from ledger2beancount.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.