n8n-nodes-qonto-api 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/credentials/QontoApi.credentials.js +1 -1
- package/dist/credentials/QontoApi.credentials.js.map +1 -1
- package/dist/credentials/QontoOAuth2Api.credentials.js +1 -1
- package/dist/credentials/QontoOAuth2Api.credentials.js.map +1 -1
- package/dist/nodes/Qonto/Qonto.node.js +999 -92
- package/dist/nodes/Qonto/Qonto.node.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/AttachmentDescriptions.js +5 -15
- package/dist/nodes/Qonto/descriptions/AttachmentDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/AttachmentsInATransactionDescriptions.js +11 -33
- package/dist/nodes/Qonto/descriptions/AttachmentsInATransactionDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/BankAccountsDescriptions.d.ts +2 -0
- package/dist/nodes/Qonto/descriptions/BankAccountsDescriptions.js +88 -0
- package/dist/nodes/Qonto/descriptions/BankAccountsDescriptions.js.map +1 -0
- package/dist/nodes/Qonto/descriptions/BeneficiariesDescriptions.js +169 -48
- package/dist/nodes/Qonto/descriptions/BeneficiariesDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/CardsDescriptions.js +421 -74
- package/dist/nodes/Qonto/descriptions/CardsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/ClientsDescriptions.js +315 -87
- package/dist/nodes/Qonto/descriptions/ClientsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/ClientsInvoicesDescriptions.js +785 -120
- package/dist/nodes/Qonto/descriptions/ClientsInvoicesDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/CreditNotesDescriptions.js +10 -30
- package/dist/nodes/Qonto/descriptions/CreditNotesDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/EinvoicingDescriptions.d.ts +2 -0
- package/dist/nodes/Qonto/descriptions/EinvoicingDescriptions.js +25 -0
- package/dist/nodes/Qonto/descriptions/EinvoicingDescriptions.js.map +1 -0
- package/dist/nodes/Qonto/descriptions/ExternalTransfersDescriptions.js +50 -150
- package/dist/nodes/Qonto/descriptions/ExternalTransfersDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/InsuranceContractsDescriptions.js +295 -121
- package/dist/nodes/Qonto/descriptions/InsuranceContractsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/InternalTransactionsDescriptions.js +13 -39
- package/dist/nodes/Qonto/descriptions/InternalTransactionsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/InternationalTransfersDescriptions.d.ts +2 -0
- package/dist/nodes/Qonto/descriptions/InternationalTransfersDescriptions.js +154 -0
- package/dist/nodes/Qonto/descriptions/InternationalTransfersDescriptions.js.map +1 -0
- package/dist/nodes/Qonto/descriptions/LabelsDescriptions.js +8 -24
- package/dist/nodes/Qonto/descriptions/LabelsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/MembershipsDescriptions.js +35 -74
- package/dist/nodes/Qonto/descriptions/MembershipsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/OrganizationsDescriptions.js +3 -9
- package/dist/nodes/Qonto/descriptions/OrganizationsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/PaymentLinksDescriptions.d.ts +2 -0
- package/dist/nodes/Qonto/descriptions/PaymentLinksDescriptions.js +112 -0
- package/dist/nodes/Qonto/descriptions/PaymentLinksDescriptions.js.map +1 -0
- package/dist/nodes/Qonto/descriptions/QuotesDescriptions.d.ts +2 -0
- package/dist/nodes/Qonto/descriptions/QuotesDescriptions.js +94 -0
- package/dist/nodes/Qonto/descriptions/QuotesDescriptions.js.map +1 -0
- package/dist/nodes/Qonto/descriptions/RequestsDescriptions.js +160 -56
- package/dist/nodes/Qonto/descriptions/RequestsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/SepaTransfersDescriptions.d.ts +2 -0
- package/dist/nodes/Qonto/descriptions/SepaTransfersDescriptions.js +233 -0
- package/dist/nodes/Qonto/descriptions/SepaTransfersDescriptions.js.map +1 -0
- package/dist/nodes/Qonto/descriptions/StatementsDescriptions.js +10 -30
- package/dist/nodes/Qonto/descriptions/StatementsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/SupplierInvoicesDescriptions.js +31 -36
- package/dist/nodes/Qonto/descriptions/SupplierInvoicesDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/TeamsDescriptions.js +21 -50
- package/dist/nodes/Qonto/descriptions/TeamsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/TransactionsDescriptions.js +12 -36
- package/dist/nodes/Qonto/descriptions/TransactionsDescriptions.js.map +1 -1
- package/dist/nodes/Qonto/descriptions/WebhookSubscriptionsDescriptions.d.ts +2 -0
- package/dist/nodes/Qonto/descriptions/WebhookSubscriptionsDescriptions.js +100 -0
- package/dist/nodes/Qonto/descriptions/WebhookSubscriptionsDescriptions.js.map +1 -0
- package/dist/nodes/Qonto/descriptions/index.d.ts +7 -0
- package/dist/nodes/Qonto/descriptions/index.js +7 -0
- package/dist/nodes/Qonto/descriptions/index.js.map +1 -1
- package/dist/nodes/Qonto/helpers.d.ts +1 -0
- package/dist/nodes/Qonto/helpers.js +6 -1
- package/dist/nodes/Qonto/helpers.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -9,26 +9,35 @@ exports.clientsInvoicesOperations = [
|
|
|
9
9
|
noDataExpression: true,
|
|
10
10
|
displayOptions: {
|
|
11
11
|
show: {
|
|
12
|
-
resource: [
|
|
13
|
-
'clientsInvoices',
|
|
14
|
-
],
|
|
12
|
+
resource: ['clientsInvoices'],
|
|
15
13
|
},
|
|
16
14
|
},
|
|
17
15
|
options: [
|
|
18
|
-
{
|
|
19
|
-
name: 'List Client Invoices',
|
|
20
|
-
value: 'listInvoices',
|
|
21
|
-
action: 'List client invoices',
|
|
22
|
-
},
|
|
16
|
+
{ name: 'Cancel Client Invoice', value: 'cancelClientInvoice', action: 'Cancel a client invoice' },
|
|
23
17
|
{
|
|
24
18
|
name: 'Create a Client Invoice',
|
|
25
19
|
value: 'createClientInvoice',
|
|
26
20
|
action: 'Create a client invoice',
|
|
27
21
|
},
|
|
22
|
+
{ name: 'Delete Client Invoice', value: 'deleteClientInvoice', action: 'Delete a client invoice' },
|
|
23
|
+
{ name: 'Finalize Client Invoice', value: 'finalizeClientInvoice', action: 'Finalize a client invoice' },
|
|
24
|
+
{ name: 'List Client Invoices', value: 'listInvoices', action: 'List client invoices' },
|
|
28
25
|
{
|
|
29
|
-
name: '
|
|
30
|
-
value: '
|
|
31
|
-
action: '
|
|
26
|
+
name: 'Mark Client Invoice as Paid',
|
|
27
|
+
value: 'markClientInvoiceAsPaid',
|
|
28
|
+
action: 'Mark a client invoice as paid',
|
|
29
|
+
},
|
|
30
|
+
{ name: 'Send Client Invoice', value: 'sendClientInvoice', action: 'Send a client invoice by email' },
|
|
31
|
+
{ name: 'Show Client Invoice', value: 'showClientInvoice', action: 'Show client invoice' },
|
|
32
|
+
{
|
|
33
|
+
name: 'Unmark Client Invoice as Paid',
|
|
34
|
+
value: 'unmarkClientInvoiceAsPaid',
|
|
35
|
+
action: 'Unmark a client invoice as paid',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'Update a Draft Client Invoice',
|
|
39
|
+
value: 'updateClientInvoice',
|
|
40
|
+
action: 'Update a draft client invoice',
|
|
32
41
|
},
|
|
33
42
|
],
|
|
34
43
|
default: 'listInvoices',
|
|
@@ -41,12 +50,8 @@ exports.clientsInvoicesOperations = [
|
|
|
41
50
|
description: 'Whether to return all results or only up to a given limit',
|
|
42
51
|
displayOptions: {
|
|
43
52
|
show: {
|
|
44
|
-
resource: [
|
|
45
|
-
|
|
46
|
-
],
|
|
47
|
-
operation: [
|
|
48
|
-
'listInvoices',
|
|
49
|
-
],
|
|
53
|
+
resource: ['clientsInvoices'],
|
|
54
|
+
operation: ['listInvoices'],
|
|
50
55
|
},
|
|
51
56
|
},
|
|
52
57
|
},
|
|
@@ -56,15 +61,9 @@ exports.clientsInvoicesOperations = [
|
|
|
56
61
|
type: 'number',
|
|
57
62
|
displayOptions: {
|
|
58
63
|
show: {
|
|
59
|
-
resource: [
|
|
60
|
-
|
|
61
|
-
],
|
|
62
|
-
operation: [
|
|
63
|
-
'listInvoices',
|
|
64
|
-
],
|
|
65
|
-
returnAll: [
|
|
66
|
-
false,
|
|
67
|
-
],
|
|
64
|
+
resource: ['clientsInvoices'],
|
|
65
|
+
operation: ['listInvoices'],
|
|
66
|
+
returnAll: [false],
|
|
68
67
|
},
|
|
69
68
|
},
|
|
70
69
|
typeOptions: {
|
|
@@ -81,12 +80,8 @@ exports.clientsInvoicesOperations = [
|
|
|
81
80
|
default: {},
|
|
82
81
|
displayOptions: {
|
|
83
82
|
show: {
|
|
84
|
-
resource: [
|
|
85
|
-
|
|
86
|
-
],
|
|
87
|
-
operation: [
|
|
88
|
-
'listInvoices',
|
|
89
|
-
],
|
|
83
|
+
resource: ['clientsInvoices'],
|
|
84
|
+
operation: ['listInvoices'],
|
|
90
85
|
},
|
|
91
86
|
},
|
|
92
87
|
options: [
|
|
@@ -95,42 +90,21 @@ exports.clientsInvoicesOperations = [
|
|
|
95
90
|
name: 'created_at_from',
|
|
96
91
|
type: 'dateTime',
|
|
97
92
|
default: '',
|
|
98
|
-
description: 'Filter invoices created from this date',
|
|
93
|
+
description: 'Filter invoices created from this date (ISO 8601 format)',
|
|
99
94
|
},
|
|
100
95
|
{
|
|
101
96
|
displayName: 'Created At To',
|
|
102
97
|
name: 'created_at_to',
|
|
103
98
|
type: 'dateTime',
|
|
104
99
|
default: '',
|
|
105
|
-
description: 'Filter invoices created up to this date',
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
displayName: 'Due Date',
|
|
109
|
-
name: 'due_date',
|
|
110
|
-
type: 'dateTime',
|
|
111
|
-
default: '',
|
|
112
|
-
description: 'Filter invoices by exact due date',
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
displayName: 'Due Date From',
|
|
116
|
-
name: 'due_date_from',
|
|
117
|
-
type: 'dateTime',
|
|
118
|
-
default: '',
|
|
119
|
-
description: 'Filter invoices with due date from this date',
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
displayName: 'Due Date To',
|
|
123
|
-
name: 'due_date_to',
|
|
124
|
-
type: 'dateTime',
|
|
125
|
-
default: '',
|
|
126
|
-
description: 'Filter invoices with due date up to this date',
|
|
100
|
+
description: 'Filter invoices created up to this date (ISO 8601 format)',
|
|
127
101
|
},
|
|
128
102
|
{
|
|
129
103
|
displayName: 'Exclude Imported',
|
|
130
104
|
name: 'exclude_imported',
|
|
131
105
|
type: 'boolean',
|
|
132
|
-
default:
|
|
133
|
-
description: 'Whether to exclude imported invoices',
|
|
106
|
+
default: true,
|
|
107
|
+
description: 'Whether to exclude imported invoices. Default is true.',
|
|
134
108
|
},
|
|
135
109
|
{
|
|
136
110
|
displayName: 'Sort By',
|
|
@@ -145,142 +119,833 @@ exports.clientsInvoicesOperations = [
|
|
|
145
119
|
name: 'Created At (Descending)',
|
|
146
120
|
value: 'created_at:desc',
|
|
147
121
|
},
|
|
148
|
-
{
|
|
149
|
-
name: 'Due Date (Ascending)',
|
|
150
|
-
value: 'due_date:asc',
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
name: 'Due Date (Descending)',
|
|
154
|
-
value: 'due_date:desc',
|
|
155
|
-
},
|
|
156
122
|
],
|
|
157
123
|
default: 'created_at:desc',
|
|
158
|
-
description: 'Sort invoices by
|
|
124
|
+
description: 'Sort invoices by created_at property',
|
|
159
125
|
},
|
|
160
126
|
{
|
|
161
127
|
displayName: 'Status',
|
|
162
128
|
name: 'status',
|
|
163
|
-
type: '
|
|
129
|
+
type: 'options',
|
|
164
130
|
options: [
|
|
165
|
-
{ name: '
|
|
131
|
+
{ name: 'Canceled', value: 'canceled' },
|
|
166
132
|
{ name: 'Draft', value: 'draft' },
|
|
167
|
-
{ name: 'Overdue', value: 'overdue' },
|
|
168
133
|
{ name: 'Paid', value: 'paid' },
|
|
169
|
-
{ name: '
|
|
170
|
-
{ name: 'Sent', value: 'sent' },
|
|
134
|
+
{ name: 'Unpaid', value: 'unpaid' },
|
|
171
135
|
],
|
|
172
|
-
default:
|
|
173
|
-
description: 'Filter client invoices by
|
|
136
|
+
default: 'draft',
|
|
137
|
+
description: 'Filter client invoices by status',
|
|
174
138
|
},
|
|
175
139
|
{
|
|
176
140
|
displayName: 'Updated At From',
|
|
177
141
|
name: 'updated_at_from',
|
|
178
142
|
type: 'dateTime',
|
|
179
143
|
default: '',
|
|
180
|
-
description: 'Filter invoices updated from this date',
|
|
144
|
+
description: 'Filter invoices updated from this date (ISO 8601 format)',
|
|
181
145
|
},
|
|
182
146
|
{
|
|
183
147
|
displayName: 'Updated At To',
|
|
184
148
|
name: 'updated_at_to',
|
|
185
149
|
type: 'dateTime',
|
|
186
150
|
default: '',
|
|
187
|
-
description: 'Filter invoices updated up to this date',
|
|
151
|
+
description: 'Filter invoices updated up to this date (ISO 8601 format)',
|
|
188
152
|
},
|
|
189
153
|
],
|
|
190
154
|
},
|
|
191
155
|
{
|
|
192
|
-
displayName: '
|
|
193
|
-
name: '
|
|
156
|
+
displayName: 'Client ID',
|
|
157
|
+
name: 'clientId',
|
|
194
158
|
type: 'string',
|
|
195
159
|
displayOptions: {
|
|
196
160
|
show: {
|
|
197
|
-
resource: [
|
|
198
|
-
|
|
199
|
-
],
|
|
200
|
-
operation: [
|
|
201
|
-
'createClientInvoice',
|
|
202
|
-
],
|
|
161
|
+
resource: ['clientsInvoices'],
|
|
162
|
+
operation: ['createClientInvoice'],
|
|
203
163
|
},
|
|
204
164
|
},
|
|
205
165
|
default: '',
|
|
206
166
|
required: true,
|
|
207
|
-
description: 'The unique identifier of the
|
|
167
|
+
description: 'The unique identifier of the client for the invoice',
|
|
208
168
|
},
|
|
209
169
|
{
|
|
210
|
-
displayName: '
|
|
211
|
-
name: '
|
|
170
|
+
displayName: 'Issue Date',
|
|
171
|
+
name: 'issueDate',
|
|
172
|
+
type: 'dateTime',
|
|
173
|
+
displayOptions: {
|
|
174
|
+
show: {
|
|
175
|
+
resource: ['clientsInvoices'],
|
|
176
|
+
operation: ['createClientInvoice'],
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
default: '',
|
|
180
|
+
required: true,
|
|
181
|
+
description: 'The issue date of the invoice (YYYY-MM-DD)',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
displayName: 'Due Date',
|
|
185
|
+
name: 'dueDate',
|
|
186
|
+
type: 'dateTime',
|
|
187
|
+
displayOptions: {
|
|
188
|
+
show: {
|
|
189
|
+
resource: ['clientsInvoices'],
|
|
190
|
+
operation: ['createClientInvoice'],
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
default: '',
|
|
194
|
+
required: true,
|
|
195
|
+
description: 'The due date for the invoice payment (YYYY-MM-DD)',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
displayName: 'Currency',
|
|
199
|
+
name: 'currency',
|
|
200
|
+
type: 'string',
|
|
201
|
+
displayOptions: {
|
|
202
|
+
show: {
|
|
203
|
+
resource: ['clientsInvoices'],
|
|
204
|
+
operation: ['createClientInvoice'],
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
default: 'EUR',
|
|
208
|
+
required: true,
|
|
209
|
+
description: 'Currency of the invoice (e.g., EUR)',
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
displayName: 'Payment IBAN',
|
|
213
|
+
name: 'paymentIban',
|
|
214
|
+
type: 'string',
|
|
215
|
+
displayOptions: {
|
|
216
|
+
show: {
|
|
217
|
+
resource: ['clientsInvoices'],
|
|
218
|
+
operation: ['createClientInvoice'],
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
default: '',
|
|
222
|
+
required: true,
|
|
223
|
+
description: 'The IBAN for payment',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
displayName: 'Invoice Items',
|
|
227
|
+
name: 'items',
|
|
212
228
|
type: 'fixedCollection',
|
|
213
229
|
displayOptions: {
|
|
214
230
|
show: {
|
|
215
|
-
resource: [
|
|
216
|
-
|
|
217
|
-
],
|
|
218
|
-
operation: [
|
|
219
|
-
'createClientInvoice',
|
|
220
|
-
],
|
|
231
|
+
resource: ['clientsInvoices'],
|
|
232
|
+
operation: ['createClientInvoice'],
|
|
221
233
|
},
|
|
222
234
|
},
|
|
223
235
|
typeOptions: {
|
|
224
|
-
multipleValues:
|
|
236
|
+
multipleValues: true,
|
|
225
237
|
},
|
|
226
238
|
default: {},
|
|
227
239
|
required: true,
|
|
228
|
-
description: '
|
|
240
|
+
description: 'Items to include in the invoice',
|
|
229
241
|
options: [
|
|
230
242
|
{
|
|
231
|
-
displayName: '
|
|
232
|
-
name: '
|
|
243
|
+
displayName: 'Item',
|
|
244
|
+
name: 'item',
|
|
233
245
|
values: [
|
|
234
246
|
{
|
|
235
|
-
displayName: '
|
|
236
|
-
name: '
|
|
237
|
-
type: '
|
|
247
|
+
displayName: 'Description',
|
|
248
|
+
name: 'description',
|
|
249
|
+
type: 'string',
|
|
238
250
|
default: '',
|
|
239
|
-
|
|
240
|
-
description: 'Amount of the client invoice',
|
|
251
|
+
description: 'Description of the item',
|
|
241
252
|
},
|
|
242
253
|
{
|
|
243
|
-
displayName: '
|
|
244
|
-
name: '
|
|
254
|
+
displayName: 'Quantity',
|
|
255
|
+
name: 'quantity',
|
|
245
256
|
type: 'string',
|
|
246
|
-
default: '
|
|
257
|
+
default: '1',
|
|
247
258
|
required: true,
|
|
248
|
-
description: '
|
|
259
|
+
description: 'Quantity of the item',
|
|
249
260
|
},
|
|
250
261
|
{
|
|
251
|
-
displayName: '
|
|
252
|
-
name: '
|
|
262
|
+
displayName: 'Title',
|
|
263
|
+
name: 'title',
|
|
253
264
|
type: 'string',
|
|
254
265
|
default: '',
|
|
255
|
-
|
|
266
|
+
required: true,
|
|
267
|
+
description: 'Title of the invoice item',
|
|
256
268
|
},
|
|
257
269
|
{
|
|
258
|
-
displayName: '
|
|
259
|
-
name: '
|
|
260
|
-
type: '
|
|
270
|
+
displayName: 'Unit',
|
|
271
|
+
name: 'unit',
|
|
272
|
+
type: 'string',
|
|
261
273
|
default: '',
|
|
274
|
+
description: "Unit of measurement (e.g., 'hour', 'piece')",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
displayName: 'Unit Price Currency',
|
|
278
|
+
name: 'unitPriceCurrency',
|
|
279
|
+
type: 'string',
|
|
280
|
+
default: 'EUR',
|
|
262
281
|
required: true,
|
|
263
|
-
description: '
|
|
282
|
+
description: 'Currency of the unit price',
|
|
264
283
|
},
|
|
265
284
|
{
|
|
266
|
-
displayName: '
|
|
267
|
-
name: '
|
|
268
|
-
type: '
|
|
285
|
+
displayName: 'Unit Price Value',
|
|
286
|
+
name: 'unitPriceValue',
|
|
287
|
+
type: 'string',
|
|
269
288
|
default: '',
|
|
270
289
|
required: true,
|
|
271
|
-
description:
|
|
290
|
+
description: "Unit price value (as string, e.g., '100.00')",
|
|
272
291
|
},
|
|
273
292
|
{
|
|
274
|
-
displayName: '
|
|
275
|
-
name: '
|
|
293
|
+
displayName: 'VAT Rate',
|
|
294
|
+
name: 'vatRate',
|
|
276
295
|
type: 'string',
|
|
277
|
-
default: '',
|
|
296
|
+
default: '0',
|
|
278
297
|
required: true,
|
|
279
|
-
description:
|
|
298
|
+
description: "VAT rate (e.g., '20' for 20%)",
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
},
|
|
302
|
+
],
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
displayName: 'Additional Options',
|
|
306
|
+
name: 'additionalOptions',
|
|
307
|
+
type: 'collection',
|
|
308
|
+
placeholder: 'Add Option',
|
|
309
|
+
default: {},
|
|
310
|
+
displayOptions: {
|
|
311
|
+
show: {
|
|
312
|
+
resource: ['clientsInvoices'],
|
|
313
|
+
operation: ['createClientInvoice'],
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
options: [
|
|
317
|
+
{
|
|
318
|
+
displayName: 'Footer',
|
|
319
|
+
name: 'footer',
|
|
320
|
+
type: 'string',
|
|
321
|
+
default: '',
|
|
322
|
+
description: 'Footer text for the invoice',
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
displayName: 'Header',
|
|
326
|
+
name: 'header',
|
|
327
|
+
type: 'string',
|
|
328
|
+
default: '',
|
|
329
|
+
description: 'Header text for the invoice',
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
displayName: 'Invoice Number',
|
|
333
|
+
name: 'number',
|
|
334
|
+
type: 'string',
|
|
335
|
+
default: '',
|
|
336
|
+
description: 'Custom invoice number',
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
displayName: 'Performance End Date',
|
|
340
|
+
name: 'performanceEndDate',
|
|
341
|
+
type: 'dateTime',
|
|
342
|
+
default: '',
|
|
343
|
+
description: 'End date of the performance period',
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
displayName: 'Performance Start Date',
|
|
347
|
+
name: 'performanceStartDate',
|
|
348
|
+
type: 'dateTime',
|
|
349
|
+
default: '',
|
|
350
|
+
description: 'Start date of the performance period',
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
displayName: 'Purchase Order',
|
|
354
|
+
name: 'purchaseOrder',
|
|
355
|
+
type: 'string',
|
|
356
|
+
default: '',
|
|
357
|
+
description: 'Purchase order reference',
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
displayName: 'Status',
|
|
361
|
+
name: 'status',
|
|
362
|
+
type: 'options',
|
|
363
|
+
options: [
|
|
364
|
+
{ name: 'Draft', value: 'draft' },
|
|
365
|
+
{ name: 'Pending', value: 'pending' },
|
|
366
|
+
],
|
|
367
|
+
default: 'draft',
|
|
368
|
+
description: 'Status of the invoice',
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
displayName: 'Terms and Conditions',
|
|
372
|
+
name: 'termsAndConditions',
|
|
373
|
+
type: 'string',
|
|
374
|
+
default: '',
|
|
375
|
+
description: 'Terms and conditions text',
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
displayName: 'Invoice ID',
|
|
381
|
+
name: 'invoiceId',
|
|
382
|
+
type: 'string',
|
|
383
|
+
displayOptions: {
|
|
384
|
+
show: {
|
|
385
|
+
resource: ['clientsInvoices'],
|
|
386
|
+
operation: ['updateClientInvoice'],
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
default: '',
|
|
390
|
+
required: true,
|
|
391
|
+
description: 'The unique identifier of the invoice to update',
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
displayName: 'Update Fields',
|
|
395
|
+
name: 'updateFields',
|
|
396
|
+
type: 'collection',
|
|
397
|
+
placeholder: 'Add Field',
|
|
398
|
+
default: {},
|
|
399
|
+
displayOptions: {
|
|
400
|
+
show: {
|
|
401
|
+
resource: ['clientsInvoices'],
|
|
402
|
+
operation: ['updateClientInvoice'],
|
|
403
|
+
},
|
|
404
|
+
},
|
|
405
|
+
options: [
|
|
406
|
+
{
|
|
407
|
+
displayName: 'Client ID',
|
|
408
|
+
name: 'clientId',
|
|
409
|
+
type: 'string',
|
|
410
|
+
default: '',
|
|
411
|
+
description: 'The unique identifier of the client',
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
displayName: 'Due Date',
|
|
415
|
+
name: 'dueDate',
|
|
416
|
+
type: 'dateTime',
|
|
417
|
+
default: '',
|
|
418
|
+
description: 'The due date for the invoice payment (YYYY-MM-DD)',
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
displayName: 'Footer',
|
|
422
|
+
name: 'footer',
|
|
423
|
+
type: 'string',
|
|
424
|
+
default: '',
|
|
425
|
+
description: 'Footer text for the invoice',
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
displayName: 'Header',
|
|
429
|
+
name: 'header',
|
|
430
|
+
type: 'string',
|
|
431
|
+
default: '',
|
|
432
|
+
description: 'Header text for the invoice',
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
displayName: 'Invoice Items',
|
|
436
|
+
name: 'items',
|
|
437
|
+
type: 'fixedCollection',
|
|
438
|
+
typeOptions: {
|
|
439
|
+
multipleValues: true,
|
|
440
|
+
},
|
|
441
|
+
default: {},
|
|
442
|
+
description: 'Items to include in the invoice',
|
|
443
|
+
options: [
|
|
444
|
+
{
|
|
445
|
+
displayName: 'Item',
|
|
446
|
+
name: 'item',
|
|
447
|
+
values: [
|
|
448
|
+
{
|
|
449
|
+
displayName: 'Description',
|
|
450
|
+
name: 'description',
|
|
451
|
+
type: 'string',
|
|
452
|
+
default: '',
|
|
453
|
+
description: 'Description of the item',
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
displayName: 'Discount Type',
|
|
457
|
+
name: 'discountType',
|
|
458
|
+
type: 'options',
|
|
459
|
+
options: [
|
|
460
|
+
{
|
|
461
|
+
name: 'Percentage',
|
|
462
|
+
value: 'percentage',
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
name: 'Absolute',
|
|
466
|
+
value: 'absolute',
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
default: 'percentage',
|
|
470
|
+
description: 'Type of discount',
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
displayName: 'Discount Value',
|
|
474
|
+
name: 'discountValue',
|
|
475
|
+
type: 'string',
|
|
476
|
+
default: '',
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
displayName: 'Quantity',
|
|
480
|
+
name: 'quantity',
|
|
481
|
+
type: 'string',
|
|
482
|
+
default: '1',
|
|
483
|
+
description: 'Quantity of the item',
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
displayName: 'Title',
|
|
487
|
+
name: 'title',
|
|
488
|
+
type: 'string',
|
|
489
|
+
default: '',
|
|
490
|
+
description: 'Title of the invoice item',
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
displayName: 'Unit',
|
|
494
|
+
name: 'unit',
|
|
495
|
+
type: 'string',
|
|
496
|
+
default: '',
|
|
497
|
+
description: 'Unit of measurement (e.g., \'hour\', \'piece\')',
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
displayName: 'Unit Price Currency',
|
|
501
|
+
name: 'unitPriceCurrency',
|
|
502
|
+
type: 'string',
|
|
503
|
+
default: 'EUR',
|
|
504
|
+
description: 'Currency of the unit price',
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
displayName: 'Unit Price Value',
|
|
508
|
+
name: 'unitPriceValue',
|
|
509
|
+
type: 'string',
|
|
510
|
+
default: '',
|
|
511
|
+
description: 'Unit price value (as string, e.g., \'100.00\')',
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
displayName: 'VAT Exemption Reason',
|
|
515
|
+
name: 'vatExemptionReason',
|
|
516
|
+
type: 'string',
|
|
517
|
+
default: '',
|
|
518
|
+
description: 'VAT exemption reason code',
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
displayName: 'VAT Rate',
|
|
522
|
+
name: 'vatRate',
|
|
523
|
+
type: 'string',
|
|
524
|
+
default: '0',
|
|
525
|
+
description: 'VAT rate (e.g., \'20\' for 20%)',
|
|
526
|
+
},
|
|
527
|
+
],
|
|
528
|
+
},
|
|
529
|
+
],
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
displayName: 'Invoice Number',
|
|
533
|
+
name: 'number',
|
|
534
|
+
type: 'string',
|
|
535
|
+
default: '',
|
|
536
|
+
description: 'Custom invoice number',
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
displayName: 'Issue Date',
|
|
540
|
+
name: 'issueDate',
|
|
541
|
+
type: 'dateTime',
|
|
542
|
+
default: '',
|
|
543
|
+
description: 'The issue date of the invoice (YYYY-MM-DD)',
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
displayName: 'Payment IBAN',
|
|
547
|
+
name: 'paymentIban',
|
|
548
|
+
type: 'string',
|
|
549
|
+
default: '',
|
|
550
|
+
description: 'The IBAN for payment',
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
displayName: 'Payment Reporting',
|
|
554
|
+
name: 'paymentReporting',
|
|
555
|
+
type: 'collection',
|
|
556
|
+
placeholder: 'Add Payment Reporting',
|
|
557
|
+
default: {},
|
|
558
|
+
description: 'Payment reporting details for e-invoicing',
|
|
559
|
+
options: [
|
|
560
|
+
{
|
|
561
|
+
displayName: 'Conditions',
|
|
562
|
+
name: 'conditions',
|
|
563
|
+
type: 'options',
|
|
564
|
+
options: [
|
|
565
|
+
{ name: 'TP01', value: 'TP01' },
|
|
566
|
+
{ name: 'TP02', value: 'TP02' },
|
|
567
|
+
{ name: 'TP03', value: 'TP03' },
|
|
568
|
+
],
|
|
569
|
+
default: 'TP01',
|
|
570
|
+
description: 'Payment conditions code',
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
displayName: 'Method',
|
|
574
|
+
name: 'method',
|
|
575
|
+
type: 'options',
|
|
576
|
+
options: [
|
|
577
|
+
{ name: 'MP01', value: 'MP01' },
|
|
578
|
+
{ name: 'MP02', value: 'MP02' },
|
|
579
|
+
{ name: 'MP03', value: 'MP03' },
|
|
580
|
+
{ name: 'MP04', value: 'MP04' },
|
|
581
|
+
{ name: 'MP05', value: 'MP05' },
|
|
582
|
+
{ name: 'MP06', value: 'MP06' },
|
|
583
|
+
{ name: 'MP07', value: 'MP07' },
|
|
584
|
+
{ name: 'MP08', value: 'MP08' },
|
|
585
|
+
{ name: 'MP09', value: 'MP09' },
|
|
586
|
+
{ name: 'MP10', value: 'MP10' },
|
|
587
|
+
{ name: 'MP11', value: 'MP11' },
|
|
588
|
+
{ name: 'MP12', value: 'MP12' },
|
|
589
|
+
{ name: 'MP13', value: 'MP13' },
|
|
590
|
+
{ name: 'MP14', value: 'MP14' },
|
|
591
|
+
{ name: 'MP15', value: 'MP15' },
|
|
592
|
+
{ name: 'MP16', value: 'MP16' },
|
|
593
|
+
{ name: 'MP17', value: 'MP17' },
|
|
594
|
+
{ name: 'MP18', value: 'MP18' },
|
|
595
|
+
{ name: 'MP19', value: 'MP19' },
|
|
596
|
+
{ name: 'MP20', value: 'MP20' },
|
|
597
|
+
{ name: 'MP21', value: 'MP21' },
|
|
598
|
+
{ name: 'MP22', value: 'MP22' },
|
|
599
|
+
{ name: 'MP23', value: 'MP23' },
|
|
600
|
+
],
|
|
601
|
+
default: 'MP01',
|
|
602
|
+
description: 'Payment method code',
|
|
603
|
+
},
|
|
604
|
+
],
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
displayName: 'Performance Date',
|
|
608
|
+
name: 'performanceDate',
|
|
609
|
+
type: 'dateTime',
|
|
610
|
+
default: '',
|
|
611
|
+
description: 'The performance date (YYYY-MM-DD)',
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
displayName: 'Purchase Order',
|
|
615
|
+
name: 'purchaseOrder',
|
|
616
|
+
type: 'string',
|
|
617
|
+
default: '',
|
|
618
|
+
description: 'Purchase order reference',
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
displayName: 'Report E-Invoicing',
|
|
622
|
+
name: 'reportEinvoicing',
|
|
623
|
+
type: 'boolean',
|
|
624
|
+
default: false,
|
|
625
|
+
description: 'Whether to report this invoice for e-invoicing',
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
displayName: 'Settings',
|
|
629
|
+
name: 'settings',
|
|
630
|
+
type: 'collection',
|
|
631
|
+
placeholder: 'Add Setting',
|
|
632
|
+
default: {},
|
|
633
|
+
description: 'Invoice settings and company information',
|
|
634
|
+
options: [
|
|
635
|
+
{
|
|
636
|
+
displayName: 'Commercial Register Number',
|
|
637
|
+
name: 'commercialRegisterNumber',
|
|
638
|
+
type: 'string',
|
|
639
|
+
default: '',
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
displayName: 'Company Leadership',
|
|
643
|
+
name: 'companyLeadership',
|
|
644
|
+
type: 'string',
|
|
645
|
+
default: '',
|
|
646
|
+
description: 'Company leadership information',
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
displayName: 'Discount Conditions',
|
|
650
|
+
name: 'discountConditions',
|
|
651
|
+
type: 'string',
|
|
652
|
+
default: '',
|
|
653
|
+
description: 'Discount conditions text',
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
displayName: 'District Court',
|
|
657
|
+
name: 'districtCourt',
|
|
658
|
+
type: 'string',
|
|
659
|
+
default: '',
|
|
660
|
+
description: 'District court information',
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
displayName: 'Late Payment Penalties',
|
|
664
|
+
name: 'latePaymentPenalties',
|
|
665
|
+
type: 'string',
|
|
666
|
+
default: '',
|
|
667
|
+
description: 'Late payment penalties text',
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
displayName: 'Legal Capital Share',
|
|
671
|
+
name: 'legalCapitalShare',
|
|
672
|
+
type: 'fixedCollection',
|
|
673
|
+
default: {},
|
|
674
|
+
description: 'Legal capital share details',
|
|
675
|
+
options: [
|
|
676
|
+
{
|
|
677
|
+
displayName: 'Capital Share',
|
|
678
|
+
name: 'capitalShare',
|
|
679
|
+
values: [
|
|
680
|
+
{
|
|
681
|
+
displayName: 'Value',
|
|
682
|
+
name: 'value',
|
|
683
|
+
type: 'string',
|
|
684
|
+
default: '',
|
|
685
|
+
description: 'Capital share value',
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
displayName: 'Currency',
|
|
689
|
+
name: 'currency',
|
|
690
|
+
type: 'string',
|
|
691
|
+
default: 'EUR',
|
|
692
|
+
description: 'Currency code (e.g., EUR)',
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
},
|
|
696
|
+
],
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
displayName: 'Legal Fixed Compensation',
|
|
700
|
+
name: 'legalFixedCompensation',
|
|
701
|
+
type: 'string',
|
|
702
|
+
default: '',
|
|
703
|
+
description: 'Legal fixed compensation text',
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
displayName: 'Tax Number',
|
|
707
|
+
name: 'taxNumber',
|
|
708
|
+
type: 'string',
|
|
709
|
+
default: '',
|
|
710
|
+
description: 'Tax identification number',
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
displayName: 'Transaction Type',
|
|
714
|
+
name: 'transactionType',
|
|
715
|
+
type: 'options',
|
|
716
|
+
options: [
|
|
717
|
+
{ name: 'Goods', value: 'goods' },
|
|
718
|
+
{ name: 'Services', value: 'services' },
|
|
719
|
+
{ name: 'Goods and Services', value: 'goods_and_services' },
|
|
720
|
+
],
|
|
721
|
+
default: 'goods',
|
|
722
|
+
description: 'Type of transaction',
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
displayName: 'VAT Number',
|
|
726
|
+
name: 'vatNumber',
|
|
727
|
+
type: 'string',
|
|
728
|
+
default: '',
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
displayName: 'VAT Payment Condition',
|
|
732
|
+
name: 'vatPaymentCondition',
|
|
733
|
+
type: 'options',
|
|
734
|
+
options: [
|
|
735
|
+
{ name: 'Compensated for Sales', value: 'compensated_for_sales' },
|
|
736
|
+
{ name: 'On Receipts', value: 'on_receipts' },
|
|
737
|
+
{ name: 'Exempt', value: 'exempt' },
|
|
738
|
+
],
|
|
739
|
+
default: 'compensated_for_sales',
|
|
740
|
+
},
|
|
741
|
+
],
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
displayName: 'Stamp Duty Amount',
|
|
745
|
+
name: 'stampDutyAmount',
|
|
746
|
+
type: 'string',
|
|
747
|
+
default: '',
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
displayName: 'Terms and Conditions',
|
|
751
|
+
name: 'termsAndConditions',
|
|
752
|
+
type: 'string',
|
|
753
|
+
default: '',
|
|
754
|
+
description: 'Terms and conditions text',
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
displayName: 'Welfare Fund',
|
|
758
|
+
name: 'welfareFund',
|
|
759
|
+
type: 'collection',
|
|
760
|
+
placeholder: 'Add Welfare Fund',
|
|
761
|
+
default: {},
|
|
762
|
+
description: 'Welfare fund details for e-invoicing',
|
|
763
|
+
options: [
|
|
764
|
+
{
|
|
765
|
+
displayName: 'Type',
|
|
766
|
+
name: 'type',
|
|
767
|
+
type: 'options',
|
|
768
|
+
options: [
|
|
769
|
+
{ name: 'TC01', value: 'TC01' },
|
|
770
|
+
{ name: 'TC02', value: 'TC02' },
|
|
771
|
+
{ name: 'TC03', value: 'TC03' },
|
|
772
|
+
{ name: 'TC04', value: 'TC04' },
|
|
773
|
+
{ name: 'TC05', value: 'TC05' },
|
|
774
|
+
{ name: 'TC06', value: 'TC06' },
|
|
775
|
+
{ name: 'TC07', value: 'TC07' },
|
|
776
|
+
{ name: 'TC08', value: 'TC08' },
|
|
777
|
+
{ name: 'TC09', value: 'TC09' },
|
|
778
|
+
{ name: 'TC10', value: 'TC10' },
|
|
779
|
+
{ name: 'TC11', value: 'TC11' },
|
|
780
|
+
{ name: 'TC12', value: 'TC12' },
|
|
781
|
+
{ name: 'TC13', value: 'TC13' },
|
|
782
|
+
{ name: 'TC14', value: 'TC14' },
|
|
783
|
+
{ name: 'TC15', value: 'TC15' },
|
|
784
|
+
{ name: 'TC16', value: 'TC16' },
|
|
785
|
+
{ name: 'TC17', value: 'TC17' },
|
|
786
|
+
{ name: 'TC18', value: 'TC18' },
|
|
787
|
+
{ name: 'TC19', value: 'TC19' },
|
|
788
|
+
{ name: 'TC20', value: 'TC20' },
|
|
789
|
+
{ name: 'TC21', value: 'TC21' },
|
|
790
|
+
{ name: 'TC22', value: 'TC22' },
|
|
791
|
+
{ name: 'TC23', value: 'TC23' },
|
|
792
|
+
{ name: 'TC24', value: 'TC24' },
|
|
793
|
+
{ name: 'TC25', value: 'TC25' },
|
|
794
|
+
],
|
|
795
|
+
default: 'TC01',
|
|
796
|
+
description: 'Welfare fund type code',
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
displayName: 'Rate',
|
|
800
|
+
name: 'rate',
|
|
801
|
+
type: 'string',
|
|
802
|
+
default: '',
|
|
803
|
+
description: 'Welfare fund rate',
|
|
804
|
+
},
|
|
805
|
+
],
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
displayName: 'Withholding Tax',
|
|
809
|
+
name: 'withholdingTax',
|
|
810
|
+
type: 'collection',
|
|
811
|
+
placeholder: 'Add Withholding Tax',
|
|
812
|
+
default: {},
|
|
813
|
+
description: 'Withholding tax details for e-invoicing',
|
|
814
|
+
options: [
|
|
815
|
+
{
|
|
816
|
+
displayName: 'Payment Reason',
|
|
817
|
+
name: 'paymentReason',
|
|
818
|
+
type: 'string',
|
|
819
|
+
default: '',
|
|
820
|
+
description: 'Payment reason code',
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
displayName: 'Rate',
|
|
824
|
+
name: 'rate',
|
|
825
|
+
type: 'string',
|
|
826
|
+
default: '',
|
|
827
|
+
description: 'Withholding tax rate',
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
displayName: 'Reason',
|
|
831
|
+
name: 'reason',
|
|
832
|
+
type: 'options',
|
|
833
|
+
options: [
|
|
834
|
+
{ name: 'RF01', value: 'RF01' },
|
|
835
|
+
{ name: 'RF02', value: 'RF02' },
|
|
836
|
+
{ name: 'RF03', value: 'RF03' },
|
|
837
|
+
{ name: 'RF04', value: 'RF04' },
|
|
838
|
+
{ name: 'RF05', value: 'RF05' },
|
|
839
|
+
{ name: 'RF06', value: 'RF06' },
|
|
840
|
+
{ name: 'RF07', value: 'RF07' },
|
|
841
|
+
{ name: 'RF08', value: 'RF08' },
|
|
842
|
+
{ name: 'RF09', value: 'RF09' },
|
|
843
|
+
{ name: 'RF10', value: 'RF10' },
|
|
844
|
+
{ name: 'RF11', value: 'RF11' },
|
|
845
|
+
{ name: 'RF12', value: 'RF12' },
|
|
846
|
+
{ name: 'RF13', value: 'RF13' },
|
|
847
|
+
{ name: 'RF14', value: 'RF14' },
|
|
848
|
+
{ name: 'RF15', value: 'RF15' },
|
|
849
|
+
{ name: 'RF16', value: 'RF16' },
|
|
850
|
+
{ name: 'RF17', value: 'RF17' },
|
|
851
|
+
{ name: 'RF18', value: 'RF18' },
|
|
852
|
+
{ name: 'RF19', value: 'RF19' },
|
|
853
|
+
],
|
|
854
|
+
default: 'RF01',
|
|
855
|
+
description: 'Withholding tax reason code',
|
|
280
856
|
},
|
|
281
857
|
],
|
|
282
858
|
},
|
|
283
859
|
],
|
|
284
860
|
},
|
|
861
|
+
{
|
|
862
|
+
displayName: 'Invoice ID',
|
|
863
|
+
name: 'invoiceId',
|
|
864
|
+
type: 'string',
|
|
865
|
+
displayOptions: {
|
|
866
|
+
show: {
|
|
867
|
+
resource: ['clientsInvoices'],
|
|
868
|
+
operation: [
|
|
869
|
+
'showClientInvoice',
|
|
870
|
+
'deleteClientInvoice',
|
|
871
|
+
'finalizeClientInvoice',
|
|
872
|
+
'cancelClientInvoice',
|
|
873
|
+
'unmarkClientInvoiceAsPaid',
|
|
874
|
+
'markClientInvoiceAsPaid',
|
|
875
|
+
'sendClientInvoice',
|
|
876
|
+
],
|
|
877
|
+
},
|
|
878
|
+
},
|
|
879
|
+
default: '',
|
|
880
|
+
required: true,
|
|
881
|
+
description: 'The unique identifier of the invoice to show',
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
displayName: 'Paid At',
|
|
885
|
+
name: 'paidAt',
|
|
886
|
+
type: 'dateTime',
|
|
887
|
+
displayOptions: {
|
|
888
|
+
show: {
|
|
889
|
+
resource: ['clientsInvoices'],
|
|
890
|
+
operation: ['markClientInvoiceAsPaid'],
|
|
891
|
+
},
|
|
892
|
+
},
|
|
893
|
+
default: '',
|
|
894
|
+
required: true,
|
|
895
|
+
description: 'Payment date',
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
displayName: 'Send To',
|
|
899
|
+
name: 'sendTo',
|
|
900
|
+
type: 'string',
|
|
901
|
+
displayOptions: {
|
|
902
|
+
show: {
|
|
903
|
+
resource: ['clientsInvoices'],
|
|
904
|
+
operation: ['sendClientInvoice'],
|
|
905
|
+
},
|
|
906
|
+
},
|
|
907
|
+
default: '',
|
|
908
|
+
required: true,
|
|
909
|
+
description: 'Comma-separated list of recipient emails',
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
displayName: 'Email Title',
|
|
913
|
+
name: 'emailTitle',
|
|
914
|
+
type: 'string',
|
|
915
|
+
displayOptions: {
|
|
916
|
+
show: {
|
|
917
|
+
resource: ['clientsInvoices'],
|
|
918
|
+
operation: ['sendClientInvoice'],
|
|
919
|
+
},
|
|
920
|
+
},
|
|
921
|
+
default: '',
|
|
922
|
+
description: 'Custom email title',
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
displayName: 'Email Body',
|
|
926
|
+
name: 'emailBody',
|
|
927
|
+
type: 'string',
|
|
928
|
+
displayOptions: {
|
|
929
|
+
show: {
|
|
930
|
+
resource: ['clientsInvoices'],
|
|
931
|
+
operation: ['sendClientInvoice'],
|
|
932
|
+
},
|
|
933
|
+
},
|
|
934
|
+
default: '',
|
|
935
|
+
description: 'Custom email body',
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
displayName: 'Copy to Self',
|
|
939
|
+
name: 'copyToSelf',
|
|
940
|
+
type: 'boolean',
|
|
941
|
+
displayOptions: {
|
|
942
|
+
show: {
|
|
943
|
+
resource: ['clientsInvoices'],
|
|
944
|
+
operation: ['sendClientInvoice'],
|
|
945
|
+
},
|
|
946
|
+
},
|
|
947
|
+
default: true,
|
|
948
|
+
description: 'Whether to copy the authenticated user',
|
|
949
|
+
},
|
|
285
950
|
];
|
|
286
951
|
//# sourceMappingURL=ClientsInvoicesDescriptions.js.map
|