;update manuals

This commit is contained in:
Simon Michael 2021-06-16 10:11:03 -10:00
parent 2cba15a97d
commit ba94582945
3 changed files with 174 additions and 224 deletions

View File

@ -6575,59 +6575,20 @@ account expenses ; type: Expense
If you happen to use common english top-level account names, you may not If you happen to use common english top-level account names, you may not
need to declare account types, as they will be detected automatically need to declare account types, as they will be detected automatically
using the following rules: using the following rules:
.PP .IP
.TS .nf
tab(@); \f[C]
l l. If account\[aq]s name matches this regular expression: | its type is:
T{ ------------------------------------------------------------------- | ------------
If name matches this regular expression: \[ha]assets?(:|$) |
T}@T{ and does not contain regexp (investment|receivable|:A/R|:fixed) | Cash
account type is: otherwise | Asset
T} \[ha](debts?|liabilit(y|ies))(:|$) | Liability
_ \[ha]equity(:|$) | Equity
T{ \[ha](income|revenue)s?(:|$) | Revenue
\f[C]\[ha]assets?(:|$)\f[R] \[ha]expenses?(:|$) | Expense
T}@T{ \f[R]
\f[C]Asset\f[R] .fi
T}
T{
\f[C]\[ha](debts?|liabilit(y|ies))(:|$)\f[R]
T}@T{
\f[C]Liability\f[R]
T}
T{
\f[C]\[ha]equity(:|$)\f[R]
T}@T{
\f[C]Equity\f[R]
T}
T{
\f[C]\[ha](income|revenue)s?(:|$)\f[R]
T}@T{
\f[C]Revenue\f[R]
T}
T{
\f[C]\[ha]expenses?(:|$)\f[R]
T}@T{
\f[C]Expense\f[R]
T}
.TE
.PP
.TS
tab(@);
lw(57.6n) lw(12.4n).
T{
If account type is \f[C]Asset\f[R] and name does not contain this
regular expression:
T}@T{
account type is:
T}
_
T{
\f[C](investment|receivable|:A/R|:fixed)\f[R]
T}@T{
\f[C]Cash\f[R]
T}
.TE
.PP .PP
Even so, explicit declarations may be a good idea, for clarity and Even so, explicit declarations may be a good idea, for clarity and
predictability. predictability.

View File

@ -5695,19 +5695,15 @@ If you happen to use common english top-level account names, you may not
need to declare account types, as they will be detected automatically need to declare account types, as they will be detected automatically
using the following rules: using the following rules:
If name matches this regular expression: account If account's name matches this regular expression: | its type is:
type is: ------------------------------------------------------------------- | ------------
--------------------------------------------------------- ^assets?(:|$) |
'^assets?(:|$)' 'Asset' and does not contain regexp (investment|receivable|:A/R|:fixed) | Cash
'^(debts?|liabilit(y|ies))(:|$)' 'Liability' otherwise | Asset
'^equity(:|$)' 'Equity' ^(debts?|liabilit(y|ies))(:|$) | Liability
'^(income|revenue)s?(:|$)' 'Revenue' ^equity(:|$) | Equity
'^expenses?(:|$)' 'Expense' ^(income|revenue)s?(:|$) | Revenue
^expenses?(:|$) | Expense
If account type is 'Asset' and name does not contain this account
regular expression: type is:
--------------------------------------------------------------------------
'(investment|receivable|:A/R|:fixed)' 'Cash'
Even so, explicit declarations may be a good idea, for clarity and Even so, explicit declarations may be a good idea, for clarity and
predictability. predictability.
@ -8540,147 +8536,147 @@ Node: Declaring account types204949
Ref: #declaring-account-types205128 Ref: #declaring-account-types205128
Node: Auto-detected account types205778 Node: Auto-detected account types205778
Ref: #auto-detected-account-types206019 Ref: #auto-detected-account-types206019
Node: Interference from auto-detected account types206983 Node: Interference from auto-detected account types206979
Ref: #interference-from-auto-detected-account-types207260 Ref: #interference-from-auto-detected-account-types207256
Node: Old account type syntax207743 Node: Old account type syntax207739
Ref: #old-account-type-syntax207940 Ref: #old-account-type-syntax207936
Node: Account display order208240 Node: Account display order208236
Ref: #account-display-order208400 Ref: #account-display-order208396
Node: Rewriting accounts209551 Node: Rewriting accounts209547
Ref: #rewriting-accounts209730 Ref: #rewriting-accounts209726
Node: Basic aliases210487 Node: Basic aliases210483
Ref: #basic-aliases210623 Ref: #basic-aliases210619
Node: Regex aliases211367 Node: Regex aliases211363
Ref: #regex-aliases211529 Ref: #regex-aliases211525
Node: Combining aliases212248 Node: Combining aliases212244
Ref: #combining-aliases212431 Ref: #combining-aliases212427
Node: Aliases and multiple files213707 Node: Aliases and multiple files213703
Ref: #aliases-and-multiple-files213906 Ref: #aliases-and-multiple-files213902
Node: end aliases214485 Node: end aliases214481
Ref: #end-aliases214632 Ref: #end-aliases214628
Node: Default parent account214733 Node: Default parent account214729
Ref: #default-parent-account214923 Ref: #default-parent-account214919
Node: Periodic transactions215807 Node: Periodic transactions215803
Ref: #periodic-transactions215990 Ref: #periodic-transactions215986
Node: Periodic rule syntax217907 Node: Periodic rule syntax217903
Ref: #periodic-rule-syntax218107 Ref: #periodic-rule-syntax218103
Node: Two spaces between period expression and description!218811 Node: Two spaces between period expression and description!218807
Ref: #two-spaces-between-period-expression-and-description219124 Ref: #two-spaces-between-period-expression-and-description219120
Node: Forecasting with periodic transactions219808 Node: Forecasting with periodic transactions219804
Ref: #forecasting-with-periodic-transactions220107 Ref: #forecasting-with-periodic-transactions220103
Node: Budgeting with periodic transactions222162 Node: Budgeting with periodic transactions222158
Ref: #budgeting-with-periodic-transactions222395 Ref: #budgeting-with-periodic-transactions222391
Node: Auto postings222804 Node: Auto postings222800
Ref: #auto-postings222940 Ref: #auto-postings222936
Node: Auto postings and multiple files225119 Node: Auto postings and multiple files225115
Ref: #auto-postings-and-multiple-files225317 Ref: #auto-postings-and-multiple-files225313
Node: Auto postings and dates225526 Node: Auto postings and dates225522
Ref: #auto-postings-and-dates225794 Ref: #auto-postings-and-dates225790
Node: Auto postings and transaction balancing / inferred amounts / balance assertions225969 Node: Auto postings and transaction balancing / inferred amounts / balance assertions225965
Ref: #auto-postings-and-transaction-balancing-inferred-amounts-balance-assertions226314 Ref: #auto-postings-and-transaction-balancing-inferred-amounts-balance-assertions226310
Node: Auto posting tags226656 Node: Auto posting tags226652
Ref: #auto-posting-tags226865 Ref: #auto-posting-tags226861
Node: CSV FORMAT227501 Node: CSV FORMAT227497
Ref: #csv-format227629 Ref: #csv-format227625
Node: Examples230215 Node: Examples230211
Ref: #examples230318 Ref: #examples230314
Node: Basic230526 Node: Basic230522
Ref: #basic230628 Ref: #basic230624
Node: Bank of Ireland231170 Node: Bank of Ireland231166
Ref: #bank-of-ireland231307 Ref: #bank-of-ireland231303
Node: Amazon232769 Node: Amazon232765
Ref: #amazon232889 Ref: #amazon232885
Node: Paypal234608 Node: Paypal234604
Ref: #paypal234704 Ref: #paypal234700
Node: CSV rules242348 Node: CSV rules242344
Ref: #csv-rules242466 Ref: #csv-rules242462
Node: skip242778 Node: skip242774
Ref: #skip242873 Ref: #skip242869
Node: fields243248 Node: fields243244
Ref: #fields243372 Ref: #fields243368
Node: Transaction field names244537 Node: Transaction field names244533
Ref: #transaction-field-names244699 Ref: #transaction-field-names244695
Node: Posting field names244810 Node: Posting field names244806
Ref: #posting-field-names244964 Ref: #posting-field-names244960
Node: field assignment247478 Node: field assignment247474
Ref: #field-assignment247623 Ref: #field-assignment247619
Node: separator248441 Node: separator248437
Ref: #separator248578 Ref: #separator248574
Node: if block249118 Node: if block249114
Ref: #if-block249245 Ref: #if-block249241
Node: Matching the whole record249646 Node: Matching the whole record249642
Ref: #matching-the-whole-record249823 Ref: #matching-the-whole-record249819
Node: Matching individual fields250626 Node: Matching individual fields250622
Ref: #matching-individual-fields250832 Ref: #matching-individual-fields250828
Node: Combining matchers251056 Node: Combining matchers251052
Ref: #combining-matchers251254 Ref: #combining-matchers251250
Node: Rules applied on successful match251567 Node: Rules applied on successful match251563
Ref: #rules-applied-on-successful-match251760 Ref: #rules-applied-on-successful-match251756
Node: if table252414 Node: if table252410
Ref: #if-table252535 Ref: #if-table252531
Node: end254273 Node: end254269
Ref: #end254387 Ref: #end254383
Node: date-format254611 Node: date-format254607
Ref: #date-format254745 Ref: #date-format254741
Node: decimal-mark255494 Node: decimal-mark255490
Ref: #decimal-mark255639 Ref: #decimal-mark255635
Node: newest-first255978 Node: newest-first255974
Ref: #newest-first256121 Ref: #newest-first256117
Node: include256804 Node: include256800
Ref: #include256937 Ref: #include256933
Node: balance-type257381 Node: balance-type257377
Ref: #balance-type257503 Ref: #balance-type257499
Node: Tips258203 Node: Tips258199
Ref: #tips258294 Ref: #tips258290
Node: Rapid feedback258593 Node: Rapid feedback258589
Ref: #rapid-feedback258712 Ref: #rapid-feedback258708
Node: Valid CSV259172 Node: Valid CSV259168
Ref: #valid-csv259304 Ref: #valid-csv259300
Node: File Extension259496 Node: File Extension259492
Ref: #file-extension259650 Ref: #file-extension259646
Node: Reading multiple CSV files260079 Node: Reading multiple CSV files260075
Ref: #reading-multiple-csv-files260266 Ref: #reading-multiple-csv-files260262
Node: Valid transactions260507 Node: Valid transactions260503
Ref: #valid-transactions260687 Ref: #valid-transactions260683
Node: Deduplicating importing261315 Node: Deduplicating importing261311
Ref: #deduplicating-importing261496 Ref: #deduplicating-importing261492
Node: Setting amounts262529 Node: Setting amounts262525
Ref: #setting-amounts262686 Ref: #setting-amounts262682
Node: Amount signs265127 Node: Amount signs265123
Ref: #amount-signs265281 Ref: #amount-signs265277
Node: Setting currency/commodity265968 Node: Setting currency/commodity265964
Ref: #setting-currencycommodity266156 Ref: #setting-currencycommodity266152
Node: Amount decimal places267330 Node: Amount decimal places267326
Ref: #amount-decimal-places267522 Ref: #amount-decimal-places267518
Node: Referencing other fields267834 Node: Referencing other fields267830
Ref: #referencing-other-fields268033 Ref: #referencing-other-fields268029
Node: How CSV rules are evaluated268930 Node: How CSV rules are evaluated268926
Ref: #how-csv-rules-are-evaluated269105 Ref: #how-csv-rules-are-evaluated269101
Node: TIMECLOCK FORMAT270556 Node: TIMECLOCK FORMAT270552
Ref: #timeclock-format270696 Ref: #timeclock-format270692
Node: TIMEDOT FORMAT272757 Node: TIMEDOT FORMAT272753
Ref: #timedot-format272895 Ref: #timedot-format272891
Node: COMMON TASKS277171 Node: COMMON TASKS277167
Ref: #common-tasks277300 Ref: #common-tasks277296
Node: Getting help277707 Node: Getting help277703
Ref: #getting-help277841 Ref: #getting-help277837
Node: Constructing command lines278394 Node: Constructing command lines278390
Ref: #constructing-command-lines278588 Ref: #constructing-command-lines278584
Node: Starting a journal file279285 Node: Starting a journal file279281
Ref: #starting-a-journal-file279485 Ref: #starting-a-journal-file279481
Node: Setting opening balances280673 Node: Setting opening balances280669
Ref: #setting-opening-balances280871 Ref: #setting-opening-balances280867
Node: Recording transactions284012 Node: Recording transactions284008
Ref: #recording-transactions284194 Ref: #recording-transactions284190
Node: Reconciling284750 Node: Reconciling284746
Ref: #reconciling284895 Ref: #reconciling284891
Node: Reporting287152 Node: Reporting287148
Ref: #reporting287294 Ref: #reporting287290
Node: Migrating to a new file291293 Node: Migrating to a new file291289
Ref: #migrating-to-a-new-file291443 Ref: #migrating-to-a-new-file291439
Node: LIMITATIONS291742 Node: LIMITATIONS291738
Ref: #limitations291870 Ref: #limitations291866
Node: TROUBLESHOOTING292613 Node: TROUBLESHOOTING292609
Ref: #troubleshooting292728 Ref: #troubleshooting292724
 
End Tag Table End Tag Table

View File

@ -4786,22 +4786,15 @@ JOURNAL FORMAT
not need to declare account types, as they will be detected automati- not need to declare account types, as they will be detected automati-
cally using the following rules: cally using the following rules:
If account's name matches this regular expression: | its type is:
If name matches this regu- account type is: ------------------------------------------------------------------- | ------------
lar expression: ^assets?(:|$) |
---------------------------------------------- and does not contain regexp (investment|receivable|:A/R|:fixed) | Cash
^assets?(:|$) Asset otherwise | Asset
^(debts?|lia- Liability ^(debts?|liabilit(y|ies))(:|$) | Liability
bilit(y|ies))(:|$) ^equity(:|$) | Equity
^equity(:|$) Equity ^(income|revenue)s?(:|$) | Revenue
^(income|revenue)s?(:|$) Revenue ^expenses?(:|$) | Expense
^expenses?(:|$) Expense
If account type is Asset and name does not contain this account type
regular expression: is:
--------------------------------------------------------------------------
(investment|receivable|:A/R|:fixed) Cash
Even so, explicit declarations may be a good idea, for clarity and pre- Even so, explicit declarations may be a good idea, for clarity and pre-
dictability. dictability.