version 1.1, 2020/09/27 14:35:34 |
version 1.2, 2020/09/27 15:36:43 |
|
|
.Os |
.Os |
.Sh NAME |
.Sh NAME |
.Nm pta-journal |
.Nm pta-journal |
.Nd main input file format for the plain text accounting program |
.Nd main input file format for plain text accounting |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The file |
The file |
.Pa journal.txt |
.Pa journal.txt |
Line 75 a decimal point, and again one or more digits. |
|
Line 75 a decimal point, and again one or more digits. |
|
A text string that can include space characters. |
A text string that can include space characters. |
.El |
.El |
.Pp |
.Pp |
If the text starts with as string enclosed in |
If the text contains a string enclosed in |
.Bq square brackets , |
.Bq square brackets , |
the enclosed string is used as the name of a |
the enclosed string is used as the name of a |
.Em cost center . |
.Em cost center . |
.Pp |
.Pp |
If the text starts with as string enclosed in |
If the text contains a string enclosed in |
.Pq parentheses , |
.Pq parentheses , |
the enclosed string is used as the name of a |
the enclosed string is used as the name of a |
.Em subaccount , |
.Em subaccount , |
Line 90 In the unusual case that both the debit and the credit |
|
Line 90 In the unusual case that both the debit and the credit |
|
revenue or expense account, using the split notation described below |
revenue or expense account, using the split notation described below |
is recommended to disambiguate which account the subaccount name |
is recommended to disambiguate which account the subaccount name |
applies to. |
applies to. |
.Pp |
|
If both a cost center and a subaccount are given on the same line, |
|
the cost center is expected to precede the subaccount. |
|
.Ss Split journal entries |
.Ss Split journal entries |
All transactions can be represented by using only elementary |
All transactions can be represented by using only elementary |
.Em journal entries |
.Em journal entries |