;doc: update manuals

This commit is contained in:
Simon Michael 2021-12-05 11:23:18 -10:00
parent 7b9cad6cdc
commit 08f95d051e
3 changed files with 553 additions and 483 deletions

View File

@ -2384,10 +2384,10 @@ txt
T}@T{ T}@T{
csv csv
T}@T{ T}@T{
json
T}@T{
html html
T}@T{ T}@T{
json
T}@T{
sql sql
T} T}
_ _
@ -2398,67 +2398,67 @@ Y
T}@T{ T}@T{
Y Y
T}@T{ T}@T{
Y
T}@T{
T}@T{
T}
T{
balance \f[I][1]\f[R]
T}@T{
Y
T}@T{
Y
T}@T{
Y
T}@T{
Y \f[I][2]\f[R]
T}@T{
T}
T{
balancesheet \f[I][1]\f[R]
T}@T{
Y
T}@T{
Y
T}@T{
Y
T}@T{ T}@T{
Y Y
T}@T{ T}@T{
T} T}
T{ T{
balancesheetequity \f[I][1]\f[R] balance
T}@T{ T}@T{
Y Y \f[I]1\f[R]
T}@T{ T}@T{
Y Y \f[I]1\f[R]
T}@T{ T}@T{
Y Y \f[I]1,2\f[R]
T}@T{ T}@T{
Y Y
T}@T{ T}@T{
T} T}
T{ T{
cashflow \f[I][1]\f[R] balancesheet
T}@T{ T}@T{
Y Y \f[I]1\f[R]
T}@T{ T}@T{
Y Y \f[I]1\f[R]
T}@T{ T}@T{
Y Y \f[I]1\f[R]
T}@T{ T}@T{
Y Y
T}@T{ T}@T{
T} T}
T{ T{
incomestatement \f[I][1]\f[R] balancesheetequity
T}@T{
Y \f[I]1\f[R]
T}@T{
Y \f[I]1\f[R]
T}@T{
Y \f[I]1\f[R]
T}@T{ T}@T{
Y Y
T}@T{ T}@T{
Y T}
T{
cashflow
T}@T{
Y \f[I]1\f[R]
T}@T{
Y \f[I]1\f[R]
T}@T{
Y \f[I]1\f[R]
T}@T{ T}@T{
Y Y
T}@T{ T}@T{
T}
T{
incomestatement
T}@T{
Y \f[I]1\f[R]
T}@T{
Y \f[I]1\f[R]
T}@T{
Y \f[I]1\f[R]
T}@T{
Y Y
T}@T{ T}@T{
T} T}
@ -2469,8 +2469,8 @@ Y
T}@T{ T}@T{
Y Y
T}@T{ T}@T{
Y
T}@T{ T}@T{
Y
T}@T{ T}@T{
Y Y
T} T}
@ -2481,17 +2481,17 @@ Y
T}@T{ T}@T{
Y Y
T}@T{ T}@T{
Y
T}@T{ T}@T{
Y
T}@T{ T}@T{
T} T}
.TE .TE
.IP \[bu] 2 .IP \[bu] 2
\f[I][1] Balance commands also have a multi-commodity \f[I]1 Also affected by the balance commands\[aq] \f[CI]--layout\f[I]
\f[CI]--layout\f[I] option which affects some output formats.\f[R] option.\f[R]
.IP \[bu] 2 .IP \[bu] 2
\f[I][2] Except with no report interval, or with the \f[CI]--budget\f[I] \f[I]2 \f[CI]balance\f[I] does not support html output without a report
flag.\f[R] interval or with \f[CI]--budget\f[I].\f[R]
.PP .PP
The output format is selected by the \f[C]-O/--output-format=FMT\f[R] The output format is selected by the \f[C]-O/--output-format=FMT\f[R]
option: option:
@ -3359,6 +3359,60 @@ $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -O csv --layout=
\f[R] \f[R]
.fi .fi
.RE .RE
.PP
Here is how \f[C]--layout\f[R] currently affects the various output
formats:
.PP
.TS
tab(@);
l l l l l l.
T{
T}@T{
txt
T}@T{
csv
T}@T{
html
T}@T{
json
T}@T{
sql
T}
_
T{
\f[C]wide\f[R]
T}@T{
Y
T}@T{
Y
T}@T{
Y
T}@T{
T}@T{
T}
T{
\f[C]tall\f[R]
T}@T{
Y
T}@T{
Y
T}@T{
Y
T}@T{
T}@T{
T}
T{
\f[C]bare\f[R]
T}@T{
Y
T}@T{
Y
T}@T{
Y
T}@T{
T}@T{
T}
.TE
.SS Sorting by amount .SS Sorting by amount
.PP .PP
With \f[C]-S/--sort-amount\f[R], accounts with the largest (most With \f[C]-S/--sort-amount\f[R], accounts with the largest (most

View File

@ -1877,20 +1877,20 @@ Some commands offer additional output formats, other than the usual
plain text terminal output. Here are those commands and the formats plain text terminal output. Here are those commands and the formats
currently supported: currently supported:
txt csv json html sql txt csv html json sql
-------------------------------------------------------- ------------------------------------------------------
aregister Y Y Y aregister Y Y Y
balance _[1]_ Y Y Y Y _[2]_ balance Y _1_ Y _1_ Y _1,2_ Y
balancesheet _[1]_ Y Y Y Y balancesheet Y _1_ Y _1_ Y _1_ Y
balancesheetequity _[1]_ Y Y Y Y balancesheetequity Y _1_ Y _1_ Y _1_ Y
cashflow _[1]_ Y Y Y Y cashflow Y _1_ Y _1_ Y _1_ Y
incomestatement _[1]_ Y Y Y Y incomestatement Y _1_ Y _1_ Y _1_ Y
print Y Y Y Y print Y Y Y Y
register Y Y Y register Y Y Y
* _[1] Balance commands also have a multi-commodity '--layout' option * _1 Also affected by the balance commands' '--layout' option._
which affects some output formats._ * _2 'balance' does not support html output without a report interval
* _[2] Except with no report interval, or with the '--budget' flag._ or with '--budget'._
The output format is selected by the '-O/--output-format=FMT' option: The output format is selected by the '-O/--output-format=FMT' option:
@ -2709,6 +2709,14 @@ commodity are displayed:
"total","VEA","36.00" "total","VEA","36.00"
"total","VHT","294.00" "total","VHT","294.00"
Here is how '--layout' currently affects the various output formats:
txt csv html json sql
-----------------------------------
'wide' Y Y Y
'tall' Y Y Y
'bare' Y Y Y
 
File: hledger.info, Node: Sorting by amount, Next: Percentages, Prev: Commodity layout, Up: balance File: hledger.info, Node: Sorting by amount, Next: Percentages, Prev: Commodity layout, Up: balance
@ -9150,418 +9158,418 @@ Node: Output styling63980
Ref: #output-styling64128 Ref: #output-styling64128
Node: Output format64885 Node: Output format64885
Ref: #output-format65029 Ref: #output-format65029
Node: HTML output66373 Node: HTML output66365
Ref: #html-output66494 Ref: #html-output66486
Node: JSON output66588 Node: JSON output66580
Ref: #json-output66728 Ref: #json-output66720
Node: SQL output67645 Node: SQL output67637
Ref: #sql-output67763 Ref: #sql-output67755
Node: Commodity styles68264 Node: Commodity styles68256
Ref: #commodity-styles68391 Ref: #commodity-styles68383
Node: COMMANDS69167 Node: COMMANDS69159
Ref: #commands69279 Ref: #commands69271
Node: accounts72644 Node: accounts72636
Ref: #accounts72744 Ref: #accounts72736
Node: activity73440 Node: activity73432
Ref: #activity73552 Ref: #activity73544
Node: add73935 Node: add73927
Ref: #add74038 Ref: #add74030
Node: aregister76831 Node: aregister76823
Ref: #aregister76945 Ref: #aregister76937
Node: aregister and custom posting dates79310 Node: aregister and custom posting dates79302
Ref: #aregister-and-custom-posting-dates79476 Ref: #aregister-and-custom-posting-dates79468
Node: balance80028 Node: balance80020
Ref: #balance80147 Ref: #balance80139
Node: balance features81145 Node: balance features81137
Ref: #balance-features81285 Ref: #balance-features81277
Node: Simple balance report83209 Node: Simple balance report83201
Ref: #simple-balance-report83391 Ref: #simple-balance-report83383
Node: Filtered balance report84871 Node: Filtered balance report84863
Ref: #filtered-balance-report85058 Ref: #filtered-balance-report85050
Node: List or tree mode85385 Node: List or tree mode85377
Ref: #list-or-tree-mode85553 Ref: #list-or-tree-mode85545
Node: Depth limiting86898 Node: Depth limiting86890
Ref: #depth-limiting87064 Ref: #depth-limiting87056
Node: Dropping top-level accounts87665 Node: Dropping top-level accounts87657
Ref: #dropping-top-level-accounts87867 Ref: #dropping-top-level-accounts87859
Node: Multi-period balance report88177 Node: Multi-period balance report88169
Ref: #multi-period-balance-report88390 Ref: #multi-period-balance-report88382
Node: Showing declared accounts90665 Node: Showing declared accounts90657
Ref: #showing-declared-accounts90863 Ref: #showing-declared-accounts90855
Node: Commodity layout91394 Node: Commodity layout91386
Ref: #commodity-layout91564 Ref: #commodity-layout91556
Node: Sorting by amount97389 Node: Sorting by amount97592
Ref: #sorting-by-amount97549 Ref: #sorting-by-amount97752
Node: Percentages98219 Node: Percentages98422
Ref: #percentages98377 Ref: #percentages98580
Node: Balance change end balance99338 Node: Balance change end balance99541
Ref: #balance-change-end-balance99531 Ref: #balance-change-end-balance99734
Node: Balance report types100959 Node: Balance report types101162
Ref: #balance-report-types101149 Ref: #balance-report-types101352
Node: Useful balance reports105428 Node: Useful balance reports105631
Ref: #useful-balance-reports105609 Ref: #useful-balance-reports105812
Node: Budget report106694 Node: Budget report106897
Ref: #budget-report106878 Ref: #budget-report107081
Node: Budget report start date112153 Node: Budget report start date112356
Ref: #budget-report-start-date112331 Ref: #budget-report-start-date112534
Node: Budgets and subaccounts113663 Node: Budgets and subaccounts113866
Ref: #budgets-and-subaccounts113870 Ref: #budgets-and-subaccounts114073
Node: Selecting budget goals117310 Node: Selecting budget goals117513
Ref: #selecting-budget-goals117482 Ref: #selecting-budget-goals117685
Node: Customising single-period balance reports118516 Node: Customising single-period balance reports118719
Ref: #customising-single-period-balance-reports118725 Ref: #customising-single-period-balance-reports118928
Node: balancesheet120900 Node: balancesheet121103
Ref: #balancesheet121038 Ref: #balancesheet121241
Node: balancesheetequity122337 Node: balancesheetequity122540
Ref: #balancesheetequity122488 Ref: #balancesheetequity122691
Node: cashflow123868 Node: cashflow124071
Ref: #cashflow123992 Ref: #cashflow124195
Node: check125138 Node: check125341
Ref: #check125243 Ref: #check125446
Node: Basic checks125877 Node: Basic checks126080
Ref: #basic-checks125995 Ref: #basic-checks126198
Node: Strict checks126546 Node: Strict checks126749
Ref: #strict-checks126687 Ref: #strict-checks126890
Node: Other checks127123 Node: Other checks127326
Ref: #other-checks127263 Ref: #other-checks127466
Node: Custom checks127620 Node: Custom checks127823
Ref: #custom-checks127740 Ref: #custom-checks127943
Node: close128157 Node: close128360
Ref: #close128261 Ref: #close128464
Node: close and prices130352 Node: close and prices130555
Ref: #close-and-prices130481 Ref: #close-and-prices130684
Node: close date130876 Node: close date131079
Ref: #close-date131060 Ref: #close-date131263
Node: Example close asset/liability accounts for file transition131817 Node: Example close asset/liability accounts for file transition132020
Ref: #example-close-assetliability-accounts-for-file-transition132118 Ref: #example-close-assetliability-accounts-for-file-transition132321
Node: Hiding opening/closing transactions132977 Node: Hiding opening/closing transactions133180
Ref: #hiding-openingclosing-transactions133248 Ref: #hiding-openingclosing-transactions133451
Node: close and balance assertions134625 Node: close and balance assertions134828
Ref: #close-and-balance-assertions134883 Ref: #close-and-balance-assertions135086
Node: Example close revenue/expense accounts to retained earnings136237 Node: Example close revenue/expense accounts to retained earnings136440
Ref: #example-close-revenueexpense-accounts-to-retained-earnings136515 Ref: #example-close-revenueexpense-accounts-to-retained-earnings136718
Node: codes137405 Node: codes137608
Ref: #codes137515 Ref: #codes137718
Node: commodities138227 Node: commodities138430
Ref: #commodities138356 Ref: #commodities138559
Node: descriptions138438 Node: descriptions138641
Ref: #descriptions138568 Ref: #descriptions138771
Node: diff138872 Node: diff139075
Ref: #diff138980 Ref: #diff139183
Node: files140027 Node: files140230
Ref: #files140129 Ref: #files140332
Node: help140276 Node: help140479
Ref: #help140378 Ref: #help140581
Node: import141196 Node: import141399
Ref: #import141312 Ref: #import141515
Node: Deduplication142177 Node: Deduplication142380
Ref: #deduplication142302 Ref: #deduplication142505
Node: Import testing144196 Node: Import testing144399
Ref: #import-testing144361 Ref: #import-testing144564
Node: Importing balance assignments144849 Node: Importing balance assignments145052
Ref: #importing-balance-assignments145055 Ref: #importing-balance-assignments145258
Node: Commodity display styles145704 Node: Commodity display styles145907
Ref: #commodity-display-styles145877 Ref: #commodity-display-styles146080
Node: incomestatement146006 Node: incomestatement146209
Ref: #incomestatement146141 Ref: #incomestatement146344
Node: notes147446 Node: notes147649
Ref: #notes147561 Ref: #notes147764
Node: payees147929 Node: payees148132
Ref: #payees148037 Ref: #payees148240
Node: prices148563 Node: prices148766
Ref: #prices148671 Ref: #prices148874
Node: print149040 Node: print149243
Ref: #print149152 Ref: #print149355
Node: print-unique154467 Node: print-unique154670
Ref: #print-unique154595 Ref: #print-unique154798
Node: register154880 Node: register155083
Ref: #register155009 Ref: #register155212
Node: Custom register output159455 Node: Custom register output159658
Ref: #custom-register-output159586 Ref: #custom-register-output159789
Node: register-match160923 Node: register-match161126
Ref: #register-match161059 Ref: #register-match161262
Node: rewrite161410 Node: rewrite161613
Ref: #rewrite161527 Ref: #rewrite161730
Node: Re-write rules in a file163433 Node: Re-write rules in a file163636
Ref: #re-write-rules-in-a-file163596 Ref: #re-write-rules-in-a-file163799
Node: Diff output format164745 Node: Diff output format164948
Ref: #diff-output-format164928 Ref: #diff-output-format165131
Node: rewrite vs print --auto166020 Node: rewrite vs print --auto166223
Ref: #rewrite-vs.-print---auto166180 Ref: #rewrite-vs.-print---auto166383
Node: roi166736 Node: roi166939
Ref: #roi166836 Ref: #roi167039
Node: Spaces and special characters in --inv and --pnl168522 Node: Spaces and special characters in --inv and --pnl168725
Ref: #spaces-and-special-characters-in---inv-and---pnl168762 Ref: #spaces-and-special-characters-in---inv-and---pnl168965
Node: Semantics of --inv and --pnl169250 Node: Semantics of --inv and --pnl169453
Ref: #semantics-of---inv-and---pnl169489 Ref: #semantics-of---inv-and---pnl169692
Node: IRR and TWR explained171339 Node: IRR and TWR explained171542
Ref: #irr-and-twr-explained171499 Ref: #irr-and-twr-explained171702
Node: stats174567 Node: stats174770
Ref: #stats174668 Ref: #stats174871
Node: tags176048 Node: tags176251
Ref: #tags176148 Ref: #tags176351
Node: test176667 Node: test176870
Ref: #test176783 Ref: #test176986
Node: About add-on commands177530 Node: About add-on commands177733
Ref: #about-add-on-commands177667 Ref: #about-add-on-commands177870
Node: JOURNAL FORMAT178798 Node: JOURNAL FORMAT179001
Ref: #journal-format178926 Ref: #journal-format179129
Node: Transactions181153 Node: Transactions181356
Ref: #transactions181268 Ref: #transactions181471
Node: Dates182282 Node: Dates182485
Ref: #dates182398 Ref: #dates182601
Node: Simple dates182463 Node: Simple dates182666
Ref: #simple-dates182583 Ref: #simple-dates182786
Node: Secondary dates183092 Node: Secondary dates183295
Ref: #secondary-dates183240 Ref: #secondary-dates183443
Node: Posting dates184576 Node: Posting dates184779
Ref: #posting-dates184699 Ref: #posting-dates184902
Node: Status186071 Node: Status186274
Ref: #status186181 Ref: #status186384
Node: Code187889 Node: Code188092
Ref: #code188001 Ref: #code188204
Node: Description188233 Node: Description188436
Ref: #description188361 Ref: #description188564
Node: Payee and note188681 Node: Payee and note188884
Ref: #payee-and-note188789 Ref: #payee-and-note188992
Node: Comments189124 Node: Comments189327
Ref: #comments189246 Ref: #comments189449
Node: Tags190440 Node: Tags190643
Ref: #tags-1190551 Ref: #tags-1190754
Node: Postings191944 Node: Postings192147
Ref: #postings192068 Ref: #postings192271
Node: Virtual postings193094 Node: Virtual postings193297
Ref: #virtual-postings193205 Ref: #virtual-postings193408
Node: Account names194510 Node: Account names194713
Ref: #account-names194647 Ref: #account-names194850
Node: Amounts195135 Node: Amounts195338
Ref: #amounts195272 Ref: #amounts195475
Node: Decimal marks digit group marks196257 Node: Decimal marks digit group marks196460
Ref: #decimal-marks-digit-group-marks196434 Ref: #decimal-marks-digit-group-marks196637
Node: Commodity197455 Node: Commodity197658
Ref: #commodity197644 Ref: #commodity197847
Node: Directives influencing number parsing and display198596 Node: Directives influencing number parsing and display198799
Ref: #directives-influencing-number-parsing-and-display198857 Ref: #directives-influencing-number-parsing-and-display199060
Node: Commodity display style199350 Node: Commodity display style199553
Ref: #commodity-display-style199558 Ref: #commodity-display-style199761
Node: Rounding201753 Node: Rounding201956
Ref: #rounding201873 Ref: #rounding202076
Node: Transaction prices202285 Node: Transaction prices202488
Ref: #transaction-prices202451 Ref: #transaction-prices202654
Node: Lot prices lot dates204882 Node: Lot prices lot dates205085
Ref: #lot-prices-lot-dates205065 Ref: #lot-prices-lot-dates205268
Node: Balance assertions205553 Node: Balance assertions205756
Ref: #balance-assertions205731 Ref: #balance-assertions205934
Node: Assertions and ordering206764 Node: Assertions and ordering206967
Ref: #assertions-and-ordering206946 Ref: #assertions-and-ordering207149
Node: Assertions and included files207646 Node: Assertions and included files207849
Ref: #assertions-and-included-files207883 Ref: #assertions-and-included-files208086
Node: Assertions and multiple -f options208216 Node: Assertions and multiple -f options208419
Ref: #assertions-and-multiple--f-options208466 Ref: #assertions-and-multiple--f-options208669
Node: Assertions and commodities208598 Node: Assertions and commodities208801
Ref: #assertions-and-commodities208824 Ref: #assertions-and-commodities209027
Node: Assertions and prices209981 Node: Assertions and prices210184
Ref: #assertions-and-prices210189 Ref: #assertions-and-prices210392
Node: Assertions and subaccounts210629 Node: Assertions and subaccounts210832
Ref: #assertions-and-subaccounts210852 Ref: #assertions-and-subaccounts211055
Node: Assertions and virtual postings211176 Node: Assertions and virtual postings211379
Ref: #assertions-and-virtual-postings211412 Ref: #assertions-and-virtual-postings211615
Node: Assertions and precision211554 Node: Assertions and precision211757
Ref: #assertions-and-precision211741 Ref: #assertions-and-precision211944
Node: Balance assignments212008 Node: Balance assignments212211
Ref: #balance-assignments212178 Ref: #balance-assignments212381
Node: Balance assignments and prices213342 Node: Balance assignments and prices213545
Ref: #balance-assignments-and-prices213508 Ref: #balance-assignments-and-prices213711
Node: Directives213732 Node: Directives213935
Ref: #directives213895 Ref: #directives214098
Node: Directives and multiple files218387 Node: Directives and multiple files218590
Ref: #directives-and-multiple-files218583 Ref: #directives-and-multiple-files218786
Node: Comment blocks219275 Node: Comment blocks219478
Ref: #comment-blocks219452 Ref: #comment-blocks219655
Node: Including other files219628 Node: Including other files219831
Ref: #including-other-files219802 Ref: #including-other-files220005
Node: Default year220726 Node: Default year220929
Ref: #default-year220884 Ref: #default-year221087
Node: Declaring payees221291 Node: Declaring payees221494
Ref: #declaring-payees221462 Ref: #declaring-payees221665
Node: Declaring the decimal mark221708 Node: Declaring the decimal mark221911
Ref: #declaring-the-decimal-mark221908 Ref: #declaring-the-decimal-mark222111
Node: Declaring commodities222305 Node: Declaring commodities222508
Ref: #declaring-commodities222496 Ref: #declaring-commodities222699
Node: Commodity error checking225014 Node: Commodity error checking225217
Ref: #commodity-error-checking225164 Ref: #commodity-error-checking225367
Node: Default commodity225421 Node: Default commodity225624
Ref: #default-commodity225601 Ref: #default-commodity225804
Node: Declaring market prices226717 Node: Declaring market prices226920
Ref: #declaring-market-prices226906 Ref: #declaring-market-prices227109
Node: Declaring accounts227719 Node: Declaring accounts227922
Ref: #declaring-accounts227899 Ref: #declaring-accounts228102
Node: Account error checking229101 Node: Account error checking229304
Ref: #account-error-checking229267 Ref: #account-error-checking229470
Node: Account comments230446 Node: Account comments230649
Ref: #account-comments230630 Ref: #account-comments230833
Node: Account subdirectives231054 Node: Account subdirectives231257
Ref: #account-subdirectives231239 Ref: #account-subdirectives231442
Node: Account types231552 Node: Account types231755
Ref: #account-types231726 Ref: #account-types231929
Node: Auto-detected account types233049 Node: Auto-detected account types233252
Ref: #auto-detected-account-types233204 Ref: #auto-detected-account-types233407
Node: Account display order234439 Node: Account display order234642
Ref: #account-display-order234599 Ref: #account-display-order234802
Node: Rewriting accounts235750 Node: Rewriting accounts235953
Ref: #rewriting-accounts235929 Ref: #rewriting-accounts236132
Node: Basic aliases236686 Node: Basic aliases236889
Ref: #basic-aliases236822 Ref: #basic-aliases237025
Node: Regex aliases237566 Node: Regex aliases237769
Ref: #regex-aliases237728 Ref: #regex-aliases237931
Node: Combining aliases238447 Node: Combining aliases238650
Ref: #combining-aliases238630 Ref: #combining-aliases238833
Node: Aliases and multiple files239906 Node: Aliases and multiple files240109
Ref: #aliases-and-multiple-files240105 Ref: #aliases-and-multiple-files240308
Node: end aliases240684 Node: end aliases240887
Ref: #end-aliases240831 Ref: #end-aliases241034
Node: Default parent account240980 Node: Default parent account241183
Ref: #default-parent-account241170 Ref: #default-parent-account241373
Node: Periodic transactions242054 Node: Periodic transactions242257
Ref: #periodic-transactions242237 Ref: #periodic-transactions242440
Node: Periodic rule syntax244154 Node: Periodic rule syntax244357
Ref: #periodic-rule-syntax244354 Ref: #periodic-rule-syntax244557
Node: Two spaces between period expression and description!245058 Node: Two spaces between period expression and description!245261
Ref: #two-spaces-between-period-expression-and-description245371 Ref: #two-spaces-between-period-expression-and-description245574
Node: Forecasting with periodic transactions246055 Node: Forecasting with periodic transactions246258
Ref: #forecasting-with-periodic-transactions246354 Ref: #forecasting-with-periodic-transactions246557
Node: Budgeting with periodic transactions249125 Node: Budgeting with periodic transactions249328
Ref: #budgeting-with-periodic-transactions249358 Ref: #budgeting-with-periodic-transactions249561
Node: Auto postings249767 Node: Auto postings249970
Ref: #auto-postings249903 Ref: #auto-postings250106
Node: Auto postings and multiple files252082 Node: Auto postings and multiple files252285
Ref: #auto-postings-and-multiple-files252280 Ref: #auto-postings-and-multiple-files252483
Node: Auto postings and dates252489 Node: Auto postings and dates252692
Ref: #auto-postings-and-dates252757 Ref: #auto-postings-and-dates252960
Node: Auto postings and transaction balancing / inferred amounts / balance assertions252932 Node: Auto postings and transaction balancing / inferred amounts / balance assertions253135
Ref: #auto-postings-and-transaction-balancing-inferred-amounts-balance-assertions253277 Ref: #auto-postings-and-transaction-balancing-inferred-amounts-balance-assertions253480
Node: Auto posting tags253780 Node: Auto posting tags253983
Ref: #auto-posting-tags253989 Ref: #auto-posting-tags254192
Node: CSV FORMAT254625 Node: CSV FORMAT254828
Ref: #csv-format254753 Ref: #csv-format254956
Node: Examples257382 Node: Examples257585
Ref: #examples257485 Ref: #examples257688
Node: Basic257693 Node: Basic257896
Ref: #basic257795 Ref: #basic257998
Node: Bank of Ireland258337 Node: Bank of Ireland258540
Ref: #bank-of-ireland258474 Ref: #bank-of-ireland258677
Node: Amazon259936 Node: Amazon260139
Ref: #amazon260056 Ref: #amazon260259
Node: Paypal261775 Node: Paypal261978
Ref: #paypal261871 Ref: #paypal262074
Node: CSV rules269515 Node: CSV rules269718
Ref: #csv-rules269633 Ref: #csv-rules269836
Node: skip269966 Node: skip270169
Ref: #skip270066 Ref: #skip270269
Node: fields list270441 Node: fields list270644
Ref: #fields-list270580 Ref: #fields-list270783
Node: field assignment272083 Node: field assignment272286
Ref: #field-assignment272235 Ref: #field-assignment272438
Node: Field names273270 Node: Field names273473
Ref: #field-names273410 Ref: #field-names273613
Node: date field273790 Node: date field273993
Ref: #date-field273910 Ref: #date-field274113
Node: date2 field273958 Node: date2 field274161
Ref: #date2-field274101 Ref: #date2-field274304
Node: status field274157 Node: status field274360
Ref: #status-field274302 Ref: #status-field274505
Node: code field274351 Node: code field274554
Ref: #code-field274498 Ref: #code-field274701
Node: description field274543 Node: description field274746
Ref: #description-field274705 Ref: #description-field274908
Node: comment field274764 Node: comment field274967
Ref: #comment-field274921 Ref: #comment-field275124
Node: account field275221 Node: account field275424
Ref: #account-field275373 Ref: #account-field275576
Node: amount field275948 Node: amount field276151
Ref: #amount-field276099 Ref: #amount-field276302
Node: currency field277344 Node: currency field277547
Ref: #currency-field277499 Ref: #currency-field277702
Node: balance field277756 Node: balance field277959
Ref: #balance-field277890 Ref: #balance-field278093
Node: separator278262 Node: separator278465
Ref: #separator278394 Ref: #separator278597
Node: if block278934 Node: if block279137
Ref: #if-block279061 Ref: #if-block279264
Node: Matching the whole record279462 Node: Matching the whole record279665
Ref: #matching-the-whole-record279639 Ref: #matching-the-whole-record279842
Node: Matching individual fields280442 Node: Matching individual fields280645
Ref: #matching-individual-fields280648 Ref: #matching-individual-fields280851
Node: Combining matchers280872 Node: Combining matchers281075
Ref: #combining-matchers281070 Ref: #combining-matchers281273
Node: Rules applied on successful match281383 Node: Rules applied on successful match281586
Ref: #rules-applied-on-successful-match281576 Ref: #rules-applied-on-successful-match281779
Node: if table282230 Node: if table282433
Ref: #if-table282351 Ref: #if-table282554
Node: end284089 Node: end284292
Ref: #end284203 Ref: #end284406
Node: date-format284427 Node: date-format284630
Ref: #date-format284561 Ref: #date-format284764
Node: decimal-mark285557 Node: decimal-mark285760
Ref: #decimal-mark285704 Ref: #decimal-mark285907
Node: newest-first286043 Node: newest-first286246
Ref: #newest-first286186 Ref: #newest-first286389
Node: include286869 Node: include287072
Ref: #include287002 Ref: #include287205
Node: balance-type287446 Node: balance-type287649
Ref: #balance-type287568 Ref: #balance-type287771
Node: Tips288268 Node: Tips288471
Ref: #tips288359 Ref: #tips288562
Node: Rapid feedback288658 Node: Rapid feedback288861
Ref: #rapid-feedback288777 Ref: #rapid-feedback288980
Node: Valid CSV289229 Node: Valid CSV289432
Ref: #valid-csv289361 Ref: #valid-csv289564
Node: File Extension289553 Node: File Extension289756
Ref: #file-extension289707 Ref: #file-extension289910
Node: Reading multiple CSV files290136 Node: Reading multiple CSV files290339
Ref: #reading-multiple-csv-files290323 Ref: #reading-multiple-csv-files290526
Node: Valid transactions290564 Node: Valid transactions290767
Ref: #valid-transactions290744 Ref: #valid-transactions290947
Node: Deduplicating importing291372 Node: Deduplicating importing291575
Ref: #deduplicating-importing291553 Ref: #deduplicating-importing291756
Node: Setting amounts292586 Node: Setting amounts292789
Ref: #setting-amounts292743 Ref: #setting-amounts292946
Node: Amount signs295184 Node: Amount signs295387
Ref: #amount-signs295338 Ref: #amount-signs295541
Node: Setting currency/commodity296025 Node: Setting currency/commodity296228
Ref: #setting-currencycommodity296213 Ref: #setting-currencycommodity296416
Node: Amount decimal places297387 Node: Amount decimal places297590
Ref: #amount-decimal-places297579 Ref: #amount-decimal-places297782
Node: Referencing other fields297891 Node: Referencing other fields298094
Ref: #referencing-other-fields298090 Ref: #referencing-other-fields298293
Node: How CSV rules are evaluated298987 Node: How CSV rules are evaluated299190
Ref: #how-csv-rules-are-evaluated299162 Ref: #how-csv-rules-are-evaluated299365
Node: TIMECLOCK FORMAT300613 Node: TIMECLOCK FORMAT300816
Ref: #timeclock-format300753 Ref: #timeclock-format300956
Node: TIMEDOT FORMAT302814 Node: TIMEDOT FORMAT303017
Ref: #timedot-format302952 Ref: #timedot-format303155
Node: COMMON TASKS307514 Node: COMMON TASKS307717
Ref: #common-tasks307643 Ref: #common-tasks307846
Node: Getting help308050 Node: Getting help308253
Ref: #getting-help308184 Ref: #getting-help308387
Node: Constructing command lines308737 Node: Constructing command lines308940
Ref: #constructing-command-lines308931 Ref: #constructing-command-lines309134
Node: Starting a journal file309628 Node: Starting a journal file309831
Ref: #starting-a-journal-file309828 Ref: #starting-a-journal-file310031
Node: Setting opening balances311016 Node: Setting opening balances311219
Ref: #setting-opening-balances311214 Ref: #setting-opening-balances311417
Node: Recording transactions314355 Node: Recording transactions314558
Ref: #recording-transactions314537 Ref: #recording-transactions314740
Node: Reconciling315093 Node: Reconciling315296
Ref: #reconciling315238 Ref: #reconciling315441
Node: Reporting317495 Node: Reporting317698
Ref: #reporting317637 Ref: #reporting317840
Node: Migrating to a new file321636 Node: Migrating to a new file321839
Ref: #migrating-to-a-new-file321786 Ref: #migrating-to-a-new-file321989
Node: LIMITATIONS322085 Node: LIMITATIONS322288
Ref: #limitations322213 Ref: #limitations322416
Node: TROUBLESHOOTING322956 Node: TROUBLESHOOTING323159
Ref: #troubleshooting323071 Ref: #troubleshooting323274
 
End Tag Table End Tag Table

View File

@ -1554,28 +1554,25 @@ OUTPUT
currently supported: currently supported:
txt csv json html sql txt csv html json sql
--------------------------------------------- ---------------------------------------------
aregister Y Y Y aregister Y Y Y
balance [1] Y Y Y Y [2] balance Y 1 Y 1 Y 1,2 Y
bal- Y Y Y Y bal- Y 1 Y 1 Y 1 Y
ancesheet ancesheet
[1] bal- Y 1 Y 1 Y 1 Y
bal- Y Y Y Y
ancesheete- ancesheete-
quity [1] quity
cashflow Y Y Y Y cashflow Y 1 Y 1 Y 1 Y
[1] incomes- Y 1 Y 1 Y 1 Y
incomes- Y Y Y Y
tatement tatement
[1] print Y Y Y Y
print Y Y Y Y register Y Y Y
register Y Y Y
o [1] Balance commands also have a multi-commodity --layout option o 1 Also affected by the balance commands' --layout option.
which affects some output formats.
o [2] Except with no report interval, or with the --budget flag. o 2 balance does not support html output without a report interval or
with --budget.
The output format is selected by the -O/--output-format=FMT option: The output format is selected by the -O/--output-format=FMT option:
@ -2294,6 +2291,16 @@ COMMANDS
"total","VEA","36.00" "total","VEA","36.00"
"total","VHT","294.00" "total","VHT","294.00"
Here is how --layout currently affects the various output formats:
txt csv html json sql
-------------------------------------
wide Y Y Y
tall Y Y Y
bare Y Y Y
Sorting by amount Sorting by amount
With -S/--sort-amount, accounts with the largest (most positive) bal- With -S/--sort-amount, accounts with the largest (most positive) bal-
ances are shown first. Eg: hledger bal expenses -MAS shows your big- ances are shown first. Eg: hledger bal expenses -MAS shows your big-
@ -4934,6 +4941,7 @@ JOURNAL FORMAT
budget goals budget goals
Generate extra postings = Generate extra postings =
CHECKING FOR ERRORS: CHECKING FOR ERRORS:
Define valid entities to allow account, commodity, Define valid entities to allow account, commodity,
stricter error checking payee stricter error checking payee
DISPLAYING REPORTS: DISPLAYING REPORTS: