summaryrefslogtreecommitdiff
path: root/man/libeufin-nexus.1
blob: 9cf4e29110145821e30df0177ebeac3c940eff3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "LIBEUFIN-NEXUS" "1" "Jan 21, 2024" "0.9" "GNU Taler"
.SH NAME
libeufin-nexus \- service to interface to various bank access APIs
.SH SYNOPSIS
.sp
\fBlibeufin\-nexus\fP
[\fB\-h\fP\ |\ \fB\-\-help\fP]
[\fB\-\-version\fP]
COMMAND [ARGS...]
.sp
Subcommands: \fBdbinit\fP, \fBebics\-setup\fP, \fBebics\-submit\fP, \fBebics\-fetch\fP, \fBconfig\fP
.SH DESCRIPTION
.sp
\fBlibeufin\-nexus\fP is a program that provides a service to interface to
various bank access APIs
.sp
Its options are as follows:
.INDENT 0.0
.TP
\fB\-h\fP | \fB\-\-help\fP
Print short help on options.
.TP
\fB–version\fP
Print version information.
.UNINDENT
.sp
The interaction model is as follows:
.sp
In order to operate any EBICS communication with \fBlibeufin\-nexus\fP, it is necessary to setup EBICS access via the \fBebics\-setup\fP subcommand.  Setting the access means to share the client keys with the bank and downloading the bank keys.  After a successful setup, the subcommands \fBebics\-submit\fP and \fBebics\-fetch\fP can be run to respectively send payments and download the bank account history.
.sp
The following sections describe each command in detail.
.SS ebics\-setup
.sp
This command creates the client keys, if they aren\(aqt found already on the disk, and sends them to the bank if they were not sent yet.  In case of sending, it ejects the PDF document that contains the keys fingerprints, so that the user can send it to the bank to confirm their keys.  The process continues by checking if the bank keys exist already on disk, and proceeds with downloading them in case they are not.  It checks then if the bank keys were accepted by the user; if yes, the setup terminates, otherwise it interactively asks the user to mark the keys as accepted.  By accepting the bank keys, the setup terminates successfully.
.sp
Its options are as follows:
.INDENT 0.0
.TP
\fB\-h\fP | \fB\-\-help\fP
Prints short help on options.
.TP
\fB\-c\fP | \fB\-\-config\fP ‌\fIFILENAME\fP
Specifies the configuration file.
.TP
\fB\-\-force\-keys\-resubmission\fP
Resubmits the client keys.  If no keys were found, it creates and submits them.
.TP
\fB\-\-auto\-accept\-keys\fP
Accepts the bank keys without interactively asking the user.
.TP
\fB\-\-generate\-registration\-pdf\fP
Generates the PDF with the client keys fingerprints, if the keys have the submitted state.  That\(aqs useful in case the PDF went lost after the first submission and the user needs a new PDF.
.UNINDENT
.SS dbinit
.sp
This subcommand defines the database schema for Nexus.  It is mandatory to run this command before invoking the \fBebics\-submit\fP or \fBebics\-fetch\fP subcommands.
.sp
Its options are as follows:
.INDENT 0.0
.TP
\fB\-h\fP | \fB\-\-help\fP
Print short help on options.
.TP
\fB\-c\fP | \fB\-\-config\fP ‌\fIFILENAME\fP
Specifies the configuration file.
.TP
\fB\-r\fP | \fB\-\-reset\fP
If present, deletes any database table (WARNING: potential data loss)
.UNINDENT
.SS ebics\-submit
.sp
This subcommand submits any initiated payment that was not already sent to the bank.  In the current version, initiated payments may come from a cash\-out operation or from a bounced incoming payment.  ebics\-submit is Taler friendly, therefore bounced payments are those that do not contain a valid subject to start a Taler withdrawal.  Cash\-out operations come from a tightly integrated bank that offers their customers to convert their currency to the currency whose the EBICS subscriber bank account is tied to.
.sp
Its options are as follows:
.INDENT 0.0
.TP
\fB\-h\fP | \fB\-\-help\fP
Print short help on options.
.TP
\fB\-c\fP | \fB\-\-config\fP ‌\fIFILENAME\fP
Specifies the configuration file.
.TP
\fB\-\-transient\fP
This flag, enabled by default, causes the command to check the database and submit only once, and then return.
.UNINDENT
.SS ebics\-fetch
.sp
This subcommand downloads banking records via EBICS and stores them into the database. Along the download, ebics\-fetch would bounce incoming payments that do not have a valid Taler subject, or as well those with an already existing valid subject. Valid incoming payments are then stored in the database so that they can trigger Taler withdrawals. Along this process, ebics\-submit would as well reconcile initiated outgoing payments with any outgoing transactions that shows up in the downloaded records.
.INDENT 0.0
.TP
\fB\-h\fP | \fB\-\-help\fP
Print short help on options.
.TP
\fB\-c\fP | \fB\-\-config\fP ‌\fIFILENAME\fP
Specifies the configuration file.
.TP
\fB\-\-transient\fP
This flag, enabled by default, causes the command to perform one download and return.
.TP
\fB\-\-pinned\-start\fP
Only supported in \-\-transient mode, this option lets specify the earliest timestamp of the downloaded documents.  The latest timestamp is always the current time.
.UNINDENT
.SS config
.sp
This command inspect or change the configuration.
.INDENT 0.0
.TP
\fB\-h\fP | \fB\-\-help\fP
Print short help on options.
.UNINDENT
.sp
Subcommands: \fBget\fP, \fBdump\fP, \fBpathsub\fP
.SS config get
.sp
This command lookup config value.
.sp
It takes two arguments, the section name and the option name
.INDENT 0.0
.TP
\fB\-h\fP | \fB\-\-help\fP
Print short help on options.
.TP
\fB\-c\fP | \fB\-\-config\fP \fIFILENAME\fP
Specifies the configuration file.
.TP
\fB\-f\fP | \fB\-\-filename\fP
Interpret value as path with dollar\-expansion.
.UNINDENT
.SS config dump
.sp
This command dump the configuration.
.INDENT 0.0
.TP
\fB\-h\fP | \fB\-\-help\fP
Print short help on options.
.TP
\fB\-c\fP | \fB\-\-config\fP \fIFILENAME\fP
Specifies the configuration file.
.UNINDENT
.SS config pathsub
.sp
This command substitute variables in a path.
.sp
It takes one argument, a path expresion.
.INDENT 0.0
.TP
\fB\-h\fP | \fB\-\-help\fP
Print short help on options.
.TP
\fB\-c\fP | \fB\-\-config\fP \fIFILENAME\fP
Specifies the configuration file.
.UNINDENT
.SH SEE ALSO
.sp
libeufin\-nexus.conf(5)
.SH BUGS
.sp
Report bugs by using \fI\%https://bugs.taler.net\fP or by sending electronic mail to <\fI\%taler@gnu.org\fP>.
.SH AUTHOR
GNU Taler contributors
.SH COPYRIGHT
2014-2022 Taler Systems SA (GPLv3+ or GFDL 1.3+)
.\" Generated by docutils manpage writer.
.