Comments (3)
Idea: the closing of balances can be done as part of this export.
An example configuration could be:
exports += {
type = "balance"
closures += {
from = [Income, Expense]
to = [Capital:Profit]
}
}
This will close the Income and Expense accounts completely and transfer their amount to the Capital:Profit account, and print the resulting balance statement.
If the closure
option is useful in other reports too, it can be moved later to global scope in the config file.
One more option that can be considered is to "split the closure" or not. If split, then the the output will contain two transactions like this:
2013/3/31
; Balance before closure
...
Income 4,000
Expense -1,000
Capital:Profit 10,000
2013/3/31
; Closure
Capital:Profit 3,000
Income -4,000
Expense +1,000
Note: The date will need to be specified in the config file.
from abandon.
Missing from sheetalk's PR which I need to follow up:
- use trait AccountMatcher if possible.
More things TODO:
- Allow accounts to be filtered in export
from abandon.
Created follow up issues #95 and #96
from abandon.
Related Issues (20)
- Support for commodities / units / currencies HOT 7
- Use external DirSuite tool (DirSuite Mk3)? HOT 3
- Let's put this issue number aside HOT 1
- "More than one account with unspecified amount" should be an input error, not an internal assertion
- Transaction with a single posting should be an input error
- GUI: handle settings error gracefully
- GUI: Show heading for transaction view
- Cannot use apostrophe in a transaction payee HOT 3
- Trim leading and trailing whitespace from comment on read HOT 2
- Unexpected error: Too many open files HOT 6
- Non-linear processing algorithm and time HOT 4
- Output ledger format journal HOT 8
- Automate release process HOT 2
- Implement balance assertions
- Ability to customize locales and follow locale specific formatting
- aliases should be substituted within an account name path
- Incorrect Closure when account is reused
- Allow new account to be specified in closure
- Discontinue the JavaFX GUI HOT 1
- Cannot parse a simple file 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 abandon.