@teamleader/focus-api-specification 1.20.0 → 1.22.0
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.
|
@@ -3,7 +3,7 @@ info:
|
|
|
3
3
|
title: Teamleader API
|
|
4
4
|
description: This is the documentation of the Teamleader Focus API. If you have any feedback, or are you missing functionality to support your use case? Let us know via [api@teamleader.eu](mailto:api@teamleader.eu).
|
|
5
5
|
contact: {}
|
|
6
|
-
version: 1.
|
|
6
|
+
version: 1.22.0
|
|
7
7
|
servers:
|
|
8
8
|
- url: https://api.focus.teamleader.eu
|
|
9
9
|
variables: {}
|
|
@@ -177,6 +177,27 @@ tags:
|
|
|
177
177
|
- name: payment_methods
|
|
178
178
|
x-displayName: Payment Methods
|
|
179
179
|
description: Payment Methods
|
|
180
|
+
- name: expenses
|
|
181
|
+
description: Expenses
|
|
182
|
+
x-displayName: Expenses
|
|
183
|
+
- name: bookkeeping_submissions
|
|
184
|
+
description: Bookkeeping Submissions
|
|
185
|
+
x-displayName: Bookkeeping Submissions
|
|
186
|
+
- name: incoming_credit_notes
|
|
187
|
+
description: |
|
|
188
|
+
Incoming credit notes are credit notes received from your suppliers. They
|
|
189
|
+
can be added, approved, refused or sent to bookkeeping.
|
|
190
|
+
x-displayName: Incoming Credit Notes
|
|
191
|
+
- name: incoming_invoices
|
|
192
|
+
description: |
|
|
193
|
+
Incoming invoices are invoices received from your suppliers. They can be
|
|
194
|
+
added, approved, refused or sent to bookkeeping.
|
|
195
|
+
x-displayName: Incoming Invoices
|
|
196
|
+
- name: receipts
|
|
197
|
+
description: |
|
|
198
|
+
Receipts are expenses for which you have a receipt, but no invoice. They can
|
|
199
|
+
be added, approved, refused or sent to bookkeeping.
|
|
200
|
+
x-displayName: Receipts
|
|
180
201
|
- name: product_categories
|
|
181
202
|
description: |
|
|
182
203
|
Product categories are used to group specific products. They can be linked
|
|
@@ -7096,203 +7117,1878 @@ paths:
|
|
|
7096
7117
|
content:
|
|
7097
7118
|
application/json:
|
|
7098
7119
|
schema:
|
|
7099
|
-
allOf:
|
|
7100
|
-
- $ref: '#/components/schemas/taxRates.listrequest'
|
|
7101
|
-
required: true
|
|
7120
|
+
allOf:
|
|
7121
|
+
- $ref: '#/components/schemas/taxRates.listrequest'
|
|
7122
|
+
required: true
|
|
7123
|
+
responses:
|
|
7124
|
+
'200':
|
|
7125
|
+
description: ''
|
|
7126
|
+
headers: {}
|
|
7127
|
+
content:
|
|
7128
|
+
application/json:
|
|
7129
|
+
schema:
|
|
7130
|
+
allOf:
|
|
7131
|
+
- $ref: '#/components/schemas/taxRates.listresponse'
|
|
7132
|
+
- example:
|
|
7133
|
+
data:
|
|
7134
|
+
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7135
|
+
description: 21%
|
|
7136
|
+
rate: 0.21
|
|
7137
|
+
department:
|
|
7138
|
+
type: department
|
|
7139
|
+
id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
|
|
7140
|
+
example:
|
|
7141
|
+
data:
|
|
7142
|
+
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7143
|
+
description: 21%
|
|
7144
|
+
rate: 0.21
|
|
7145
|
+
department:
|
|
7146
|
+
type: department
|
|
7147
|
+
id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
|
|
7148
|
+
deprecated: false
|
|
7149
|
+
/paymentTerms.list:
|
|
7150
|
+
post:
|
|
7151
|
+
tags:
|
|
7152
|
+
- payment_terms
|
|
7153
|
+
summary: paymentTerms.list
|
|
7154
|
+
description: Get a list of available payment terms.
|
|
7155
|
+
operationId: paymentTerms.list
|
|
7156
|
+
parameters:
|
|
7157
|
+
- name: Content-Type
|
|
7158
|
+
in: header
|
|
7159
|
+
description: ''
|
|
7160
|
+
required: true
|
|
7161
|
+
style: simple
|
|
7162
|
+
schema:
|
|
7163
|
+
enum:
|
|
7164
|
+
- application/json
|
|
7165
|
+
type: string
|
|
7166
|
+
example: application/json
|
|
7167
|
+
responses:
|
|
7168
|
+
'200':
|
|
7169
|
+
description: ''
|
|
7170
|
+
headers: {}
|
|
7171
|
+
content:
|
|
7172
|
+
application/json:
|
|
7173
|
+
schema:
|
|
7174
|
+
allOf:
|
|
7175
|
+
- $ref: '#/components/schemas/paymentTerms.listresponse'
|
|
7176
|
+
- example:
|
|
7177
|
+
data:
|
|
7178
|
+
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7179
|
+
type: cash
|
|
7180
|
+
meta:
|
|
7181
|
+
default: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7182
|
+
example:
|
|
7183
|
+
data:
|
|
7184
|
+
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7185
|
+
type: cash
|
|
7186
|
+
meta:
|
|
7187
|
+
default: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7188
|
+
deprecated: false
|
|
7189
|
+
/withholdingTaxRates.list:
|
|
7190
|
+
post:
|
|
7191
|
+
tags:
|
|
7192
|
+
- withholding_tax_rates
|
|
7193
|
+
summary: withholdingTaxRates.list
|
|
7194
|
+
description: Get a list of available withholding tax rates.
|
|
7195
|
+
operationId: withholdingTaxRates.list
|
|
7196
|
+
parameters: []
|
|
7197
|
+
requestBody:
|
|
7198
|
+
description: ''
|
|
7199
|
+
content:
|
|
7200
|
+
application/json:
|
|
7201
|
+
schema:
|
|
7202
|
+
allOf:
|
|
7203
|
+
- $ref: '#/components/schemas/withholdingTaxRates.listrequest'
|
|
7204
|
+
- example:
|
|
7205
|
+
filter:
|
|
7206
|
+
department_id: 080aac72-ff1a-4627-bfe3-146b6eee979c
|
|
7207
|
+
example:
|
|
7208
|
+
filter:
|
|
7209
|
+
department_id: 080aac72-ff1a-4627-bfe3-146b6eee979c
|
|
7210
|
+
required: true
|
|
7211
|
+
responses:
|
|
7212
|
+
'200':
|
|
7213
|
+
description: ''
|
|
7214
|
+
headers: {}
|
|
7215
|
+
content:
|
|
7216
|
+
application/json:
|
|
7217
|
+
schema:
|
|
7218
|
+
allOf:
|
|
7219
|
+
- $ref: '#/components/schemas/withholdingTaxRates.listresponse'
|
|
7220
|
+
- example:
|
|
7221
|
+
data:
|
|
7222
|
+
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7223
|
+
department:
|
|
7224
|
+
type: department
|
|
7225
|
+
id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
|
|
7226
|
+
description: Ritenuta d'acconto 23% su 20%
|
|
7227
|
+
rate: 0.046
|
|
7228
|
+
example:
|
|
7229
|
+
data:
|
|
7230
|
+
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7231
|
+
department:
|
|
7232
|
+
type: department
|
|
7233
|
+
id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
|
|
7234
|
+
description: Ritenuta d'acconto 23% su 20%
|
|
7235
|
+
rate: 0.046
|
|
7236
|
+
deprecated: false
|
|
7237
|
+
/commercialDiscounts.list:
|
|
7238
|
+
post:
|
|
7239
|
+
tags:
|
|
7240
|
+
- commercial_discounts
|
|
7241
|
+
summary: commercialDiscounts.list
|
|
7242
|
+
description: Get a list of commercial discounts.
|
|
7243
|
+
operationId: commercialDiscounts.list
|
|
7244
|
+
parameters: []
|
|
7245
|
+
requestBody:
|
|
7246
|
+
description: ''
|
|
7247
|
+
content:
|
|
7248
|
+
application/json:
|
|
7249
|
+
schema:
|
|
7250
|
+
allOf:
|
|
7251
|
+
- $ref: '#/components/schemas/commercialDiscounts.listrequest'
|
|
7252
|
+
- example:
|
|
7253
|
+
filter:
|
|
7254
|
+
department_id: 6a6343fc-fdd8-4bc0-aa69-3a004c710e87
|
|
7255
|
+
example:
|
|
7256
|
+
filter:
|
|
7257
|
+
department_id: 6a6343fc-fdd8-4bc0-aa69-3a004c710e87
|
|
7258
|
+
required: true
|
|
7259
|
+
responses:
|
|
7260
|
+
'200':
|
|
7261
|
+
description: ''
|
|
7262
|
+
headers: {}
|
|
7263
|
+
content:
|
|
7264
|
+
application/json:
|
|
7265
|
+
schema:
|
|
7266
|
+
allOf:
|
|
7267
|
+
- $ref: '#/components/schemas/commercialDiscounts.listresponse'
|
|
7268
|
+
- example:
|
|
7269
|
+
data:
|
|
7270
|
+
- name: My holiday discount
|
|
7271
|
+
department:
|
|
7272
|
+
type: department
|
|
7273
|
+
id: 6a6343fc-fdd8-4bc0-aa69-3a004c710e87
|
|
7274
|
+
example:
|
|
7275
|
+
data:
|
|
7276
|
+
- name: My holiday discount
|
|
7277
|
+
department:
|
|
7278
|
+
type: department
|
|
7279
|
+
id: 6a6343fc-fdd8-4bc0-aa69-3a004c710e87
|
|
7280
|
+
deprecated: false
|
|
7281
|
+
/paymentMethods.list:
|
|
7282
|
+
post:
|
|
7283
|
+
tags:
|
|
7284
|
+
- payment_methods
|
|
7285
|
+
summary: paymentMethods.list
|
|
7286
|
+
description: Get a list of payment methods.
|
|
7287
|
+
operationId: paymentMethods.list
|
|
7288
|
+
parameters: []
|
|
7289
|
+
requestBody:
|
|
7290
|
+
description: ''
|
|
7291
|
+
content:
|
|
7292
|
+
application/json:
|
|
7293
|
+
schema:
|
|
7294
|
+
allOf:
|
|
7295
|
+
- $ref: '#/components/schemas/paymentMethods.listrequest'
|
|
7296
|
+
required: true
|
|
7297
|
+
responses:
|
|
7298
|
+
'200':
|
|
7299
|
+
description: ''
|
|
7300
|
+
headers: {}
|
|
7301
|
+
content:
|
|
7302
|
+
application/json:
|
|
7303
|
+
schema:
|
|
7304
|
+
allOf:
|
|
7305
|
+
- $ref: '#/components/schemas/paymentMethods.listresponse'
|
|
7306
|
+
- example:
|
|
7307
|
+
data:
|
|
7308
|
+
- id: 49b403be-a32e-0901-9b1c-25214f9027c6
|
|
7309
|
+
name: Coupons
|
|
7310
|
+
status: active
|
|
7311
|
+
example:
|
|
7312
|
+
data:
|
|
7313
|
+
- id: 49b403be-a32e-0901-9b1c-25214f9027c6
|
|
7314
|
+
name: Coupons
|
|
7315
|
+
status: active
|
|
7316
|
+
deprecated: false
|
|
7317
|
+
/bookkeepingSubmissions.list:
|
|
7318
|
+
post:
|
|
7319
|
+
summary: bookkeepingSubmissions.list
|
|
7320
|
+
operationId: bookkeepingSubmissions.list
|
|
7321
|
+
description: List all bookkeeping submissions belonging to a specific financial document id and type
|
|
7322
|
+
tags:
|
|
7323
|
+
- bookkeeping_submissions
|
|
7324
|
+
parameters: []
|
|
7325
|
+
requestBody:
|
|
7326
|
+
content:
|
|
7327
|
+
application/json:
|
|
7328
|
+
example:
|
|
7329
|
+
filter:
|
|
7330
|
+
subject:
|
|
7331
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7332
|
+
type: incoming_invoice
|
|
7333
|
+
schema:
|
|
7334
|
+
type: object
|
|
7335
|
+
properties:
|
|
7336
|
+
filter:
|
|
7337
|
+
type: object
|
|
7338
|
+
properties:
|
|
7339
|
+
subject:
|
|
7340
|
+
type: object
|
|
7341
|
+
properties:
|
|
7342
|
+
id:
|
|
7343
|
+
type: string
|
|
7344
|
+
description: UUID of the financial document
|
|
7345
|
+
type:
|
|
7346
|
+
type: string
|
|
7347
|
+
enum:
|
|
7348
|
+
- incoming_invoice
|
|
7349
|
+
- incoming_credit_note
|
|
7350
|
+
- receipt
|
|
7351
|
+
required:
|
|
7352
|
+
- subject
|
|
7353
|
+
responses:
|
|
7354
|
+
'200':
|
|
7355
|
+
description: OK
|
|
7356
|
+
headers: {}
|
|
7357
|
+
content:
|
|
7358
|
+
application/json:
|
|
7359
|
+
schema:
|
|
7360
|
+
type: object
|
|
7361
|
+
properties:
|
|
7362
|
+
data:
|
|
7363
|
+
type: array
|
|
7364
|
+
items:
|
|
7365
|
+
type: object
|
|
7366
|
+
properties:
|
|
7367
|
+
id:
|
|
7368
|
+
type: string
|
|
7369
|
+
description: UUID of the Bookkeeping Submission
|
|
7370
|
+
subject:
|
|
7371
|
+
type: object
|
|
7372
|
+
properties:
|
|
7373
|
+
id:
|
|
7374
|
+
type: string
|
|
7375
|
+
type:
|
|
7376
|
+
type: string
|
|
7377
|
+
enum:
|
|
7378
|
+
- incoming_invoice
|
|
7379
|
+
- incoming_credit_note
|
|
7380
|
+
- receipt
|
|
7381
|
+
email_address:
|
|
7382
|
+
type: string
|
|
7383
|
+
description: email address where the bookkeeping submission was sent
|
|
7384
|
+
status:
|
|
7385
|
+
type: string
|
|
7386
|
+
enum:
|
|
7387
|
+
- sending
|
|
7388
|
+
- confirmed
|
|
7389
|
+
- failed
|
|
7390
|
+
description: the current status of the bookkeeping submission
|
|
7391
|
+
created_at:
|
|
7392
|
+
type: string
|
|
7393
|
+
example:
|
|
7394
|
+
data:
|
|
7395
|
+
- id: 018d5965-19fb-701a-af11-e80451931551
|
|
7396
|
+
subject:
|
|
7397
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7398
|
+
type: incoming_invoice
|
|
7399
|
+
email_address: john.doe@example.com
|
|
7400
|
+
status: sending
|
|
7401
|
+
created_at: '2025-02-26 15:56:40'
|
|
7402
|
+
/expenses.list:
|
|
7403
|
+
post:
|
|
7404
|
+
summary: expenses.list
|
|
7405
|
+
operationId: expenses.list
|
|
7406
|
+
description: Get a list of all expenses.
|
|
7407
|
+
tags:
|
|
7408
|
+
- expenses
|
|
7409
|
+
parameters: []
|
|
7410
|
+
requestBody:
|
|
7411
|
+
content:
|
|
7412
|
+
application/json:
|
|
7413
|
+
example:
|
|
7414
|
+
filter:
|
|
7415
|
+
term: search terms
|
|
7416
|
+
source_types:
|
|
7417
|
+
- incomingInvoice
|
|
7418
|
+
- incomingCreditNote
|
|
7419
|
+
- receipt
|
|
7420
|
+
review_statuses:
|
|
7421
|
+
- pending
|
|
7422
|
+
- approved
|
|
7423
|
+
- refused
|
|
7424
|
+
bookkeeping_statuses:
|
|
7425
|
+
- sent
|
|
7426
|
+
- not_sent
|
|
7427
|
+
document_date:
|
|
7428
|
+
operator: is_empty
|
|
7429
|
+
value: YYYY-MM-DD
|
|
7430
|
+
start: YYYY-MM-DD
|
|
7431
|
+
end: YYYY-MM-DD
|
|
7432
|
+
page:
|
|
7433
|
+
size: 20
|
|
7434
|
+
number: 1
|
|
7435
|
+
schema:
|
|
7436
|
+
type: object
|
|
7437
|
+
properties:
|
|
7438
|
+
filter:
|
|
7439
|
+
type: object
|
|
7440
|
+
properties:
|
|
7441
|
+
term:
|
|
7442
|
+
type: string
|
|
7443
|
+
description: Filters by document number and supplier name, case-insensitive
|
|
7444
|
+
source_types:
|
|
7445
|
+
type: array
|
|
7446
|
+
description: Filters by one or more source types
|
|
7447
|
+
items:
|
|
7448
|
+
type: string
|
|
7449
|
+
enum:
|
|
7450
|
+
- incomingInvoice
|
|
7451
|
+
- incomingCreditNote
|
|
7452
|
+
- receipt
|
|
7453
|
+
review_statuses:
|
|
7454
|
+
type: array
|
|
7455
|
+
description: Filters by one or more review statuses
|
|
7456
|
+
items:
|
|
7457
|
+
type: string
|
|
7458
|
+
enum:
|
|
7459
|
+
- pending
|
|
7460
|
+
- approved
|
|
7461
|
+
- refused
|
|
7462
|
+
bookkeeping_statuses:
|
|
7463
|
+
type: array
|
|
7464
|
+
description: Filters by one or more bookkeeping statuses
|
|
7465
|
+
items:
|
|
7466
|
+
type: string
|
|
7467
|
+
enum:
|
|
7468
|
+
- sent
|
|
7469
|
+
- not_sent
|
|
7470
|
+
document_date:
|
|
7471
|
+
type: object
|
|
7472
|
+
properties:
|
|
7473
|
+
operator:
|
|
7474
|
+
type: string
|
|
7475
|
+
enum:
|
|
7476
|
+
- is_empty
|
|
7477
|
+
- between
|
|
7478
|
+
- equals
|
|
7479
|
+
- before
|
|
7480
|
+
- after
|
|
7481
|
+
value:
|
|
7482
|
+
type: string
|
|
7483
|
+
description: Required if operator is `equals`, `before`, or `after`
|
|
7484
|
+
start:
|
|
7485
|
+
type: string
|
|
7486
|
+
description: Required if operator is `between`
|
|
7487
|
+
end:
|
|
7488
|
+
type: string
|
|
7489
|
+
description: Required if operator is `between`
|
|
7490
|
+
required:
|
|
7491
|
+
- operator
|
|
7492
|
+
page:
|
|
7493
|
+
type: object
|
|
7494
|
+
properties:
|
|
7495
|
+
size:
|
|
7496
|
+
type: number
|
|
7497
|
+
default: 20
|
|
7498
|
+
number:
|
|
7499
|
+
type: number
|
|
7500
|
+
default: 1
|
|
7501
|
+
responses:
|
|
7502
|
+
'200':
|
|
7503
|
+
description: OK
|
|
7504
|
+
headers: {}
|
|
7505
|
+
content:
|
|
7506
|
+
application/json:
|
|
7507
|
+
schema:
|
|
7508
|
+
type: object
|
|
7509
|
+
properties:
|
|
7510
|
+
data:
|
|
7511
|
+
type: array
|
|
7512
|
+
items:
|
|
7513
|
+
type: object
|
|
7514
|
+
properties:
|
|
7515
|
+
source:
|
|
7516
|
+
type: object
|
|
7517
|
+
properties:
|
|
7518
|
+
type:
|
|
7519
|
+
type: string
|
|
7520
|
+
enum:
|
|
7521
|
+
- incomingInvoice
|
|
7522
|
+
- incomingCreditNote
|
|
7523
|
+
- receipt
|
|
7524
|
+
id:
|
|
7525
|
+
type: string
|
|
7526
|
+
origin:
|
|
7527
|
+
type: object
|
|
7528
|
+
properties:
|
|
7529
|
+
type:
|
|
7530
|
+
type: string
|
|
7531
|
+
enum:
|
|
7532
|
+
- user
|
|
7533
|
+
- peppolIncomingDocument
|
|
7534
|
+
id:
|
|
7535
|
+
type: string
|
|
7536
|
+
title:
|
|
7537
|
+
type: string
|
|
7538
|
+
supplier:
|
|
7539
|
+
type: object
|
|
7540
|
+
properties:
|
|
7541
|
+
type:
|
|
7542
|
+
type: string
|
|
7543
|
+
enum:
|
|
7544
|
+
- company
|
|
7545
|
+
- contact
|
|
7546
|
+
id:
|
|
7547
|
+
type: string
|
|
7548
|
+
nullable: true
|
|
7549
|
+
document_number:
|
|
7550
|
+
type: string
|
|
7551
|
+
nullable: true
|
|
7552
|
+
document_date:
|
|
7553
|
+
type: string
|
|
7554
|
+
nullable: true
|
|
7555
|
+
due_date:
|
|
7556
|
+
type: string
|
|
7557
|
+
nullable: true
|
|
7558
|
+
currency:
|
|
7559
|
+
type: object
|
|
7560
|
+
properties:
|
|
7561
|
+
code:
|
|
7562
|
+
$ref: '#/components/schemas/CurrencyCode'
|
|
7563
|
+
total:
|
|
7564
|
+
type: object
|
|
7565
|
+
properties:
|
|
7566
|
+
tax_exclusive:
|
|
7567
|
+
type: object
|
|
7568
|
+
properties:
|
|
7569
|
+
amount:
|
|
7570
|
+
type: number
|
|
7571
|
+
nullable: true
|
|
7572
|
+
tax_inclusive:
|
|
7573
|
+
type: object
|
|
7574
|
+
properties:
|
|
7575
|
+
amount:
|
|
7576
|
+
type: number
|
|
7577
|
+
nullable: true
|
|
7578
|
+
company_entity:
|
|
7579
|
+
type: object
|
|
7580
|
+
properties:
|
|
7581
|
+
type:
|
|
7582
|
+
type: string
|
|
7583
|
+
id:
|
|
7584
|
+
type: string
|
|
7585
|
+
nullable: true
|
|
7586
|
+
file:
|
|
7587
|
+
type: object
|
|
7588
|
+
properties:
|
|
7589
|
+
type:
|
|
7590
|
+
type: string
|
|
7591
|
+
id:
|
|
7592
|
+
type: string
|
|
7593
|
+
nullable: true
|
|
7594
|
+
payment_reference:
|
|
7595
|
+
type: string
|
|
7596
|
+
nullable: true
|
|
7597
|
+
review_status:
|
|
7598
|
+
type: string
|
|
7599
|
+
enum:
|
|
7600
|
+
- pending
|
|
7601
|
+
- approved
|
|
7602
|
+
- refused
|
|
7603
|
+
bookkeeping_status:
|
|
7604
|
+
type: string
|
|
7605
|
+
enum:
|
|
7606
|
+
- not_sent
|
|
7607
|
+
- sent
|
|
7608
|
+
iban_number:
|
|
7609
|
+
type: string
|
|
7610
|
+
nullable: true
|
|
7611
|
+
meta:
|
|
7612
|
+
allOf:
|
|
7613
|
+
- $ref: '#/components/schemas/Meta'
|
|
7614
|
+
- description: Only included with request parameter `includes=pagination`
|
|
7615
|
+
example:
|
|
7616
|
+
data:
|
|
7617
|
+
- source:
|
|
7618
|
+
type: incomingInvoice
|
|
7619
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7620
|
+
origin:
|
|
7621
|
+
type: user
|
|
7622
|
+
id: cde0bc5f-8602-4e12-b5d3-f03436b54c0d
|
|
7623
|
+
title: Cost
|
|
7624
|
+
supplier:
|
|
7625
|
+
type: company
|
|
7626
|
+
id: f29abf48-337d-44b4-aad4-585f5277a456
|
|
7627
|
+
document_number: DOC-2032039
|
|
7628
|
+
document_date: '2024-05-11'
|
|
7629
|
+
due_date: '2024-06-11'
|
|
7630
|
+
currency:
|
|
7631
|
+
code: EUR
|
|
7632
|
+
total:
|
|
7633
|
+
tax_exclusive:
|
|
7634
|
+
amount: 100
|
|
7635
|
+
tax_inclusive:
|
|
7636
|
+
amount: 100
|
|
7637
|
+
company_entity:
|
|
7638
|
+
type: department
|
|
7639
|
+
id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
7640
|
+
file:
|
|
7641
|
+
type: file
|
|
7642
|
+
id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
7643
|
+
payment_reference: PR-12345
|
|
7644
|
+
review_status: pending
|
|
7645
|
+
bookkeeping_status: not_sent
|
|
7646
|
+
iban_number: FR7630006000011234567890189
|
|
7647
|
+
meta:
|
|
7648
|
+
page:
|
|
7649
|
+
size: 10
|
|
7650
|
+
number: 2
|
|
7651
|
+
matches: 12
|
|
7652
|
+
/incomingCreditNotes.add:
|
|
7653
|
+
post:
|
|
7654
|
+
summary: incomingCreditNotes.add
|
|
7655
|
+
operationId: incomingCreditNotes.add
|
|
7656
|
+
description: Adds an incoming credit note.
|
|
7657
|
+
tags:
|
|
7658
|
+
- incoming_credit_notes
|
|
7659
|
+
parameters: []
|
|
7660
|
+
requestBody:
|
|
7661
|
+
content:
|
|
7662
|
+
application/json:
|
|
7663
|
+
example:
|
|
7664
|
+
title: Incoming credit note
|
|
7665
|
+
supplier_id: ac4a3bc5-b11f-0eb6-8c20-0f0d697f8c2a
|
|
7666
|
+
document_number: DOC-2032039
|
|
7667
|
+
invoice_date: '2024-05-11'
|
|
7668
|
+
due_date: '2024-06-11'
|
|
7669
|
+
currency:
|
|
7670
|
+
code: EUR
|
|
7671
|
+
total:
|
|
7672
|
+
tax_exclusive:
|
|
7673
|
+
amount: 100
|
|
7674
|
+
tax_inclusive:
|
|
7675
|
+
amount: 100
|
|
7676
|
+
company_entity_id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
7677
|
+
file_id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
7678
|
+
payment_reference: REF-3578296
|
|
7679
|
+
iban_number: BE68539007547034
|
|
7680
|
+
schema:
|
|
7681
|
+
type: object
|
|
7682
|
+
properties:
|
|
7683
|
+
title:
|
|
7684
|
+
type: string
|
|
7685
|
+
supplier_id:
|
|
7686
|
+
type: string
|
|
7687
|
+
nullable: true
|
|
7688
|
+
document_number:
|
|
7689
|
+
type: string
|
|
7690
|
+
nullable: true
|
|
7691
|
+
invoice_date:
|
|
7692
|
+
type: string
|
|
7693
|
+
nullable: true
|
|
7694
|
+
due_date:
|
|
7695
|
+
type: string
|
|
7696
|
+
nullable: true
|
|
7697
|
+
currency:
|
|
7698
|
+
type: object
|
|
7699
|
+
properties:
|
|
7700
|
+
code:
|
|
7701
|
+
allOf:
|
|
7702
|
+
- $ref: '#/components/schemas/CurrencyCode'
|
|
7703
|
+
- example: EUR
|
|
7704
|
+
required:
|
|
7705
|
+
- code
|
|
7706
|
+
total:
|
|
7707
|
+
type: object
|
|
7708
|
+
properties:
|
|
7709
|
+
tax_exclusive:
|
|
7710
|
+
type: object
|
|
7711
|
+
properties:
|
|
7712
|
+
amount:
|
|
7713
|
+
type: number
|
|
7714
|
+
required:
|
|
7715
|
+
- amount
|
|
7716
|
+
nullable: true
|
|
7717
|
+
tax_inclusive:
|
|
7718
|
+
type: object
|
|
7719
|
+
properties:
|
|
7720
|
+
amount:
|
|
7721
|
+
type: number
|
|
7722
|
+
required:
|
|
7723
|
+
- amount
|
|
7724
|
+
nullable: true
|
|
7725
|
+
company_entity_id:
|
|
7726
|
+
type: string
|
|
7727
|
+
description: Default company entity will be used if not provided
|
|
7728
|
+
file_id:
|
|
7729
|
+
type: string
|
|
7730
|
+
nullable: true
|
|
7731
|
+
payment_reference:
|
|
7732
|
+
type: string
|
|
7733
|
+
nullable: true
|
|
7734
|
+
iban_number:
|
|
7735
|
+
type: string
|
|
7736
|
+
nullable: true
|
|
7737
|
+
required:
|
|
7738
|
+
- title
|
|
7739
|
+
- currency
|
|
7740
|
+
responses:
|
|
7741
|
+
'201':
|
|
7742
|
+
description: Created
|
|
7743
|
+
headers: {}
|
|
7744
|
+
content:
|
|
7745
|
+
application/json:
|
|
7746
|
+
schema:
|
|
7747
|
+
type: object
|
|
7748
|
+
properties:
|
|
7749
|
+
data:
|
|
7750
|
+
type: object
|
|
7751
|
+
properties:
|
|
7752
|
+
type:
|
|
7753
|
+
type: string
|
|
7754
|
+
id:
|
|
7755
|
+
type: string
|
|
7756
|
+
example:
|
|
7757
|
+
data:
|
|
7758
|
+
type: incomingCreditNote
|
|
7759
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7760
|
+
/incomingCreditNotes.approve:
|
|
7761
|
+
post:
|
|
7762
|
+
summary: incomingCreditNotes.approve
|
|
7763
|
+
operationId: incomingCreditNotes.approve
|
|
7764
|
+
description: Approve an incoming credit note.
|
|
7765
|
+
tags:
|
|
7766
|
+
- incoming_credit_notes
|
|
7767
|
+
parameters: []
|
|
7768
|
+
requestBody:
|
|
7769
|
+
content:
|
|
7770
|
+
application/json:
|
|
7771
|
+
example:
|
|
7772
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7773
|
+
schema:
|
|
7774
|
+
type: object
|
|
7775
|
+
properties:
|
|
7776
|
+
id:
|
|
7777
|
+
type: string
|
|
7778
|
+
required:
|
|
7779
|
+
- id
|
|
7780
|
+
responses:
|
|
7781
|
+
'204':
|
|
7782
|
+
description: No Content
|
|
7783
|
+
headers: {}
|
|
7784
|
+
content: {}
|
|
7785
|
+
/incomingCreditNotes.delete:
|
|
7786
|
+
post:
|
|
7787
|
+
summary: incomingCreditNotes.delete
|
|
7788
|
+
operationId: incomingCreditNotes.delete
|
|
7789
|
+
description: Deletes an incoming credit note.
|
|
7790
|
+
tags:
|
|
7791
|
+
- incoming_credit_notes
|
|
7792
|
+
parameters: []
|
|
7793
|
+
requestBody:
|
|
7794
|
+
content:
|
|
7795
|
+
application/json:
|
|
7796
|
+
example:
|
|
7797
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7798
|
+
schema:
|
|
7799
|
+
type: object
|
|
7800
|
+
properties:
|
|
7801
|
+
id:
|
|
7802
|
+
type: string
|
|
7803
|
+
required:
|
|
7804
|
+
- id
|
|
7805
|
+
responses:
|
|
7806
|
+
'204':
|
|
7807
|
+
description: No Content
|
|
7808
|
+
headers: {}
|
|
7809
|
+
content: {}
|
|
7810
|
+
/incomingCreditNotes.info:
|
|
7811
|
+
post:
|
|
7812
|
+
summary: incomingCreditNotes.info
|
|
7813
|
+
operationId: incomingCreditNotes.info
|
|
7814
|
+
description: Get details for a single incoming credit note.
|
|
7815
|
+
tags:
|
|
7816
|
+
- incoming_credit_notes
|
|
7817
|
+
parameters: []
|
|
7818
|
+
requestBody:
|
|
7819
|
+
content:
|
|
7820
|
+
application/json:
|
|
7821
|
+
example:
|
|
7822
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7823
|
+
schema:
|
|
7824
|
+
type: object
|
|
7825
|
+
properties:
|
|
7826
|
+
id:
|
|
7827
|
+
type: string
|
|
7828
|
+
required:
|
|
7829
|
+
- id
|
|
7830
|
+
responses:
|
|
7831
|
+
'200':
|
|
7832
|
+
description: OK
|
|
7833
|
+
headers: {}
|
|
7834
|
+
content:
|
|
7835
|
+
application/json:
|
|
7836
|
+
schema:
|
|
7837
|
+
type: object
|
|
7838
|
+
properties:
|
|
7839
|
+
data:
|
|
7840
|
+
type: object
|
|
7841
|
+
properties:
|
|
7842
|
+
id:
|
|
7843
|
+
type: string
|
|
7844
|
+
title:
|
|
7845
|
+
type: string
|
|
7846
|
+
origin:
|
|
7847
|
+
type: object
|
|
7848
|
+
properties:
|
|
7849
|
+
type:
|
|
7850
|
+
type: string
|
|
7851
|
+
enum:
|
|
7852
|
+
- user
|
|
7853
|
+
- peppolIncomingDocument
|
|
7854
|
+
id:
|
|
7855
|
+
type: string
|
|
7856
|
+
supplier:
|
|
7857
|
+
type: object
|
|
7858
|
+
properties:
|
|
7859
|
+
type:
|
|
7860
|
+
type: string
|
|
7861
|
+
enum:
|
|
7862
|
+
- company
|
|
7863
|
+
- contact
|
|
7864
|
+
id:
|
|
7865
|
+
type: string
|
|
7866
|
+
nullable: true
|
|
7867
|
+
document_number:
|
|
7868
|
+
type: string
|
|
7869
|
+
nullable: true
|
|
7870
|
+
invoice_date:
|
|
7871
|
+
type: string
|
|
7872
|
+
nullable: true
|
|
7873
|
+
due_date:
|
|
7874
|
+
type: string
|
|
7875
|
+
nullable: true
|
|
7876
|
+
currency:
|
|
7877
|
+
type: object
|
|
7878
|
+
properties:
|
|
7879
|
+
code:
|
|
7880
|
+
$ref: '#/components/schemas/CurrencyCode'
|
|
7881
|
+
total:
|
|
7882
|
+
type: object
|
|
7883
|
+
properties:
|
|
7884
|
+
tax_exclusive:
|
|
7885
|
+
type: object
|
|
7886
|
+
properties:
|
|
7887
|
+
amount:
|
|
7888
|
+
type: number
|
|
7889
|
+
nullable: true
|
|
7890
|
+
tax_inclusive:
|
|
7891
|
+
type: object
|
|
7892
|
+
properties:
|
|
7893
|
+
amount:
|
|
7894
|
+
type: number
|
|
7895
|
+
nullable: true
|
|
7896
|
+
company_entity:
|
|
7897
|
+
type: object
|
|
7898
|
+
properties:
|
|
7899
|
+
type:
|
|
7900
|
+
type: string
|
|
7901
|
+
id:
|
|
7902
|
+
type: string
|
|
7903
|
+
file:
|
|
7904
|
+
type: object
|
|
7905
|
+
properties:
|
|
7906
|
+
type:
|
|
7907
|
+
type: string
|
|
7908
|
+
id:
|
|
7909
|
+
type: string
|
|
7910
|
+
nullable: true
|
|
7911
|
+
payment_reference:
|
|
7912
|
+
type: string
|
|
7913
|
+
nullable: true
|
|
7914
|
+
review_status:
|
|
7915
|
+
type: string
|
|
7916
|
+
enum:
|
|
7917
|
+
- pending
|
|
7918
|
+
- approved
|
|
7919
|
+
- refused
|
|
7920
|
+
iban_number:
|
|
7921
|
+
type: string
|
|
7922
|
+
nullable: true
|
|
7923
|
+
example:
|
|
7924
|
+
data:
|
|
7925
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7926
|
+
title: Incoming credit note
|
|
7927
|
+
origin:
|
|
7928
|
+
type: user
|
|
7929
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7930
|
+
supplier:
|
|
7931
|
+
type: company
|
|
7932
|
+
id: f29abf48-337d-44b4-aad4-585f5277a456
|
|
7933
|
+
document_number: DOC-2032039
|
|
7934
|
+
invoice_date: '2024-05-11'
|
|
7935
|
+
due_date: '2024-06-11'
|
|
7936
|
+
currency:
|
|
7937
|
+
code: EUR
|
|
7938
|
+
total:
|
|
7939
|
+
tax_exclusive:
|
|
7940
|
+
amount: 100
|
|
7941
|
+
tax_inclusive:
|
|
7942
|
+
amount: 100
|
|
7943
|
+
company_entity:
|
|
7944
|
+
type: department
|
|
7945
|
+
id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
7946
|
+
file:
|
|
7947
|
+
type: file
|
|
7948
|
+
id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
7949
|
+
payment_reference: REF-3578296
|
|
7950
|
+
review_status: pending
|
|
7951
|
+
iban_number: BE68539007547034
|
|
7952
|
+
/incomingCreditNotes.markAsPendingReview:
|
|
7953
|
+
post:
|
|
7954
|
+
summary: incomingCreditNotes.markAsPendingReview
|
|
7955
|
+
operationId: incomingCreditNotes.markAsPendingReview
|
|
7956
|
+
description: Mark an incoming credit note as pending review.
|
|
7957
|
+
tags:
|
|
7958
|
+
- incoming_credit_notes
|
|
7959
|
+
parameters: []
|
|
7960
|
+
requestBody:
|
|
7961
|
+
content:
|
|
7962
|
+
application/json:
|
|
7963
|
+
example:
|
|
7964
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7965
|
+
schema:
|
|
7966
|
+
type: object
|
|
7967
|
+
properties:
|
|
7968
|
+
id:
|
|
7969
|
+
type: string
|
|
7970
|
+
required:
|
|
7971
|
+
- id
|
|
7972
|
+
responses:
|
|
7973
|
+
'204':
|
|
7974
|
+
description: No Content
|
|
7975
|
+
headers: {}
|
|
7976
|
+
content: {}
|
|
7977
|
+
/incomingCreditNotes.refuse:
|
|
7978
|
+
post:
|
|
7979
|
+
summary: incomingCreditNotes.refuse
|
|
7980
|
+
operationId: incomingCreditNotes.refuse
|
|
7981
|
+
description: Refuse an incoming credit note.
|
|
7982
|
+
tags:
|
|
7983
|
+
- incoming_credit_notes
|
|
7984
|
+
parameters: []
|
|
7985
|
+
requestBody:
|
|
7986
|
+
content:
|
|
7987
|
+
application/json:
|
|
7988
|
+
example:
|
|
7989
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
7990
|
+
schema:
|
|
7991
|
+
type: object
|
|
7992
|
+
properties:
|
|
7993
|
+
id:
|
|
7994
|
+
type: string
|
|
7995
|
+
required:
|
|
7996
|
+
- id
|
|
7997
|
+
responses:
|
|
7998
|
+
'204':
|
|
7999
|
+
description: No Content
|
|
8000
|
+
headers: {}
|
|
8001
|
+
content: {}
|
|
8002
|
+
/incomingCreditNotes.sendToBookkeeping:
|
|
8003
|
+
post:
|
|
8004
|
+
summary: incomingCreditNotes.sendToBookkeeping
|
|
8005
|
+
operationId: incomingCreditNotes.sendToBookkeeping
|
|
8006
|
+
description: Send an incoming credit note to bookkeeping.
|
|
8007
|
+
tags:
|
|
8008
|
+
- incoming_credit_notes
|
|
8009
|
+
parameters: []
|
|
8010
|
+
requestBody:
|
|
8011
|
+
content:
|
|
8012
|
+
application/json:
|
|
8013
|
+
example:
|
|
8014
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8015
|
+
schema:
|
|
8016
|
+
type: object
|
|
8017
|
+
properties:
|
|
8018
|
+
id:
|
|
8019
|
+
type: string
|
|
8020
|
+
required:
|
|
8021
|
+
- id
|
|
8022
|
+
responses:
|
|
8023
|
+
'204':
|
|
8024
|
+
description: No Content
|
|
8025
|
+
headers: {}
|
|
8026
|
+
content: {}
|
|
8027
|
+
/incomingCreditNotes.update:
|
|
8028
|
+
post:
|
|
8029
|
+
summary: incomingCreditNotes.update
|
|
8030
|
+
operationId: incomingCreditNotes.update
|
|
8031
|
+
description: Updates an incoming credit note.
|
|
8032
|
+
tags:
|
|
8033
|
+
- incoming_credit_notes
|
|
8034
|
+
parameters: []
|
|
8035
|
+
requestBody:
|
|
8036
|
+
content:
|
|
8037
|
+
application/json:
|
|
8038
|
+
example:
|
|
8039
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8040
|
+
title: Incoming credit note
|
|
8041
|
+
supplier_id: ac4a3bc5-b11f-0eb6-8c20-0f0d697f8c2a
|
|
8042
|
+
document_number: DOC-2032039
|
|
8043
|
+
invoice_date: '2024-05-11'
|
|
8044
|
+
due_date: '2024-06-11'
|
|
8045
|
+
currency:
|
|
8046
|
+
code: EUR
|
|
8047
|
+
total:
|
|
8048
|
+
tax_exclusive:
|
|
8049
|
+
amount: 100
|
|
8050
|
+
tax_inclusive:
|
|
8051
|
+
amount: 100
|
|
8052
|
+
company_entity_id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
8053
|
+
file_id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
8054
|
+
payment_reference: REF-3578296
|
|
8055
|
+
iban_number: BE68539007547034
|
|
8056
|
+
schema:
|
|
8057
|
+
type: object
|
|
8058
|
+
properties:
|
|
8059
|
+
id:
|
|
8060
|
+
type: string
|
|
8061
|
+
title:
|
|
8062
|
+
type: string
|
|
8063
|
+
supplier_id:
|
|
8064
|
+
type: string
|
|
8065
|
+
nullable: true
|
|
8066
|
+
document_number:
|
|
8067
|
+
type: string
|
|
8068
|
+
nullable: true
|
|
8069
|
+
invoice_date:
|
|
8070
|
+
type: string
|
|
8071
|
+
nullable: true
|
|
8072
|
+
due_date:
|
|
8073
|
+
type: string
|
|
8074
|
+
nullable: true
|
|
8075
|
+
currency:
|
|
8076
|
+
type: object
|
|
8077
|
+
properties:
|
|
8078
|
+
code:
|
|
8079
|
+
allOf:
|
|
8080
|
+
- $ref: '#/components/schemas/CurrencyCode'
|
|
8081
|
+
- example: EUR
|
|
8082
|
+
required:
|
|
8083
|
+
- code
|
|
8084
|
+
total:
|
|
8085
|
+
type: object
|
|
8086
|
+
properties:
|
|
8087
|
+
tax_exclusive:
|
|
8088
|
+
type: object
|
|
8089
|
+
properties:
|
|
8090
|
+
amount:
|
|
8091
|
+
type: number
|
|
8092
|
+
required:
|
|
8093
|
+
- amount
|
|
8094
|
+
nullable: true
|
|
8095
|
+
tax_inclusive:
|
|
8096
|
+
type: object
|
|
8097
|
+
properties:
|
|
8098
|
+
amount:
|
|
8099
|
+
type: number
|
|
8100
|
+
required:
|
|
8101
|
+
- amount
|
|
8102
|
+
nullable: true
|
|
8103
|
+
company_entity_id:
|
|
8104
|
+
type: string
|
|
8105
|
+
file_id:
|
|
8106
|
+
type: string
|
|
8107
|
+
nullable: true
|
|
8108
|
+
payment_reference:
|
|
8109
|
+
type: string
|
|
8110
|
+
nullable: true
|
|
8111
|
+
iban_number:
|
|
8112
|
+
type: string
|
|
8113
|
+
nullable: true
|
|
8114
|
+
required:
|
|
8115
|
+
- id
|
|
8116
|
+
responses:
|
|
8117
|
+
'204':
|
|
8118
|
+
description: No Content
|
|
8119
|
+
headers: {}
|
|
8120
|
+
content: {}
|
|
8121
|
+
/incomingInvoices.add:
|
|
8122
|
+
post:
|
|
8123
|
+
summary: incomingInvoices.add
|
|
8124
|
+
operationId: incomingInvoices.add
|
|
8125
|
+
description: Adds an incoming invoice.
|
|
8126
|
+
tags:
|
|
8127
|
+
- incoming_invoices
|
|
8128
|
+
parameters: []
|
|
8129
|
+
requestBody:
|
|
8130
|
+
content:
|
|
8131
|
+
application/json:
|
|
8132
|
+
example:
|
|
8133
|
+
title: Incoming invoice
|
|
8134
|
+
supplier_id: ac4a3bc5-b11f-0eb6-8c20-0f0d697f8c2a
|
|
8135
|
+
document_number: DOC-2032039
|
|
8136
|
+
invoice_date: '2024-05-11'
|
|
8137
|
+
due_date: '2024-06-11'
|
|
8138
|
+
currency:
|
|
8139
|
+
code: EUR
|
|
8140
|
+
total:
|
|
8141
|
+
tax_exclusive:
|
|
8142
|
+
amount: 100
|
|
8143
|
+
tax_inclusive:
|
|
8144
|
+
amount: 100
|
|
8145
|
+
company_entity_id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
8146
|
+
file_id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
8147
|
+
payment_reference: REF-3578296
|
|
8148
|
+
iban_number: BE68539007547034
|
|
8149
|
+
schema:
|
|
8150
|
+
type: object
|
|
8151
|
+
properties:
|
|
8152
|
+
title:
|
|
8153
|
+
type: string
|
|
8154
|
+
supplier_id:
|
|
8155
|
+
type: string
|
|
8156
|
+
nullable: true
|
|
8157
|
+
document_number:
|
|
8158
|
+
type: string
|
|
8159
|
+
nullable: true
|
|
8160
|
+
invoice_date:
|
|
8161
|
+
type: string
|
|
8162
|
+
nullable: true
|
|
8163
|
+
due_date:
|
|
8164
|
+
type: string
|
|
8165
|
+
nullable: true
|
|
8166
|
+
currency:
|
|
8167
|
+
type: object
|
|
8168
|
+
properties:
|
|
8169
|
+
code:
|
|
8170
|
+
allOf:
|
|
8171
|
+
- $ref: '#/components/schemas/CurrencyCode'
|
|
8172
|
+
- example: EUR
|
|
8173
|
+
required:
|
|
8174
|
+
- code
|
|
8175
|
+
total:
|
|
8176
|
+
type: object
|
|
8177
|
+
properties:
|
|
8178
|
+
tax_exclusive:
|
|
8179
|
+
type: object
|
|
8180
|
+
properties:
|
|
8181
|
+
amount:
|
|
8182
|
+
type: number
|
|
8183
|
+
required:
|
|
8184
|
+
- amount
|
|
8185
|
+
nullable: true
|
|
8186
|
+
tax_inclusive:
|
|
8187
|
+
type: object
|
|
8188
|
+
properties:
|
|
8189
|
+
amount:
|
|
8190
|
+
type: number
|
|
8191
|
+
required:
|
|
8192
|
+
- amount
|
|
8193
|
+
nullable: true
|
|
8194
|
+
company_entity_id:
|
|
8195
|
+
type: string
|
|
8196
|
+
description: Default company entity will be used if not provided
|
|
8197
|
+
file_id:
|
|
8198
|
+
type: string
|
|
8199
|
+
nullable: true
|
|
8200
|
+
payment_reference:
|
|
8201
|
+
type: string
|
|
8202
|
+
nullable: true
|
|
8203
|
+
iban_number:
|
|
8204
|
+
type: string
|
|
8205
|
+
nullable: true
|
|
8206
|
+
required:
|
|
8207
|
+
- title
|
|
8208
|
+
- currency
|
|
8209
|
+
responses:
|
|
8210
|
+
'201':
|
|
8211
|
+
description: Created
|
|
8212
|
+
headers: {}
|
|
8213
|
+
content:
|
|
8214
|
+
application/json:
|
|
8215
|
+
schema:
|
|
8216
|
+
type: object
|
|
8217
|
+
properties:
|
|
8218
|
+
data:
|
|
8219
|
+
type: object
|
|
8220
|
+
properties:
|
|
8221
|
+
type:
|
|
8222
|
+
type: string
|
|
8223
|
+
id:
|
|
8224
|
+
type: string
|
|
8225
|
+
example:
|
|
8226
|
+
data:
|
|
8227
|
+
type: incomingInvoice
|
|
8228
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8229
|
+
/incomingInvoices.approve:
|
|
8230
|
+
post:
|
|
8231
|
+
summary: incomingInvoices.approve
|
|
8232
|
+
operationId: incomingInvoices.approve
|
|
8233
|
+
description: Approve an incoming invoice.
|
|
8234
|
+
tags:
|
|
8235
|
+
- incoming_invoices
|
|
8236
|
+
parameters: []
|
|
8237
|
+
requestBody:
|
|
8238
|
+
content:
|
|
8239
|
+
application/json:
|
|
8240
|
+
example:
|
|
8241
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8242
|
+
schema:
|
|
8243
|
+
type: object
|
|
8244
|
+
properties:
|
|
8245
|
+
id:
|
|
8246
|
+
type: string
|
|
8247
|
+
required:
|
|
8248
|
+
- id
|
|
8249
|
+
responses:
|
|
8250
|
+
'204':
|
|
8251
|
+
description: No Content
|
|
8252
|
+
headers: {}
|
|
8253
|
+
content: {}
|
|
8254
|
+
/incomingInvoices.delete:
|
|
8255
|
+
post:
|
|
8256
|
+
summary: incomingInvoices.delete
|
|
8257
|
+
operationId: incomingInvoices.delete
|
|
8258
|
+
description: Deletes an incoming invoice.
|
|
8259
|
+
tags:
|
|
8260
|
+
- incoming_invoices
|
|
8261
|
+
parameters: []
|
|
8262
|
+
requestBody:
|
|
8263
|
+
content:
|
|
8264
|
+
application/json:
|
|
8265
|
+
example:
|
|
8266
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8267
|
+
schema:
|
|
8268
|
+
type: object
|
|
8269
|
+
properties:
|
|
8270
|
+
id:
|
|
8271
|
+
type: string
|
|
8272
|
+
required:
|
|
8273
|
+
- id
|
|
8274
|
+
responses:
|
|
8275
|
+
'204':
|
|
8276
|
+
description: No Content
|
|
8277
|
+
headers: {}
|
|
8278
|
+
content: {}
|
|
8279
|
+
/incomingInvoices.info:
|
|
8280
|
+
post:
|
|
8281
|
+
summary: incomingInvoices.info
|
|
8282
|
+
operationId: incomingInvoices.info
|
|
8283
|
+
description: Get details for a single incoming invoice.
|
|
8284
|
+
tags:
|
|
8285
|
+
- incoming_invoices
|
|
8286
|
+
parameters: []
|
|
8287
|
+
requestBody:
|
|
8288
|
+
content:
|
|
8289
|
+
application/json:
|
|
8290
|
+
example:
|
|
8291
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8292
|
+
schema:
|
|
8293
|
+
type: object
|
|
8294
|
+
properties:
|
|
8295
|
+
id:
|
|
8296
|
+
type: string
|
|
8297
|
+
required:
|
|
8298
|
+
- id
|
|
8299
|
+
responses:
|
|
8300
|
+
'200':
|
|
8301
|
+
description: OK
|
|
8302
|
+
headers: {}
|
|
8303
|
+
content:
|
|
8304
|
+
application/json:
|
|
8305
|
+
schema:
|
|
8306
|
+
type: object
|
|
8307
|
+
properties:
|
|
8308
|
+
data:
|
|
8309
|
+
type: object
|
|
8310
|
+
properties:
|
|
8311
|
+
id:
|
|
8312
|
+
type: string
|
|
8313
|
+
title:
|
|
8314
|
+
type: string
|
|
8315
|
+
origin:
|
|
8316
|
+
type: object
|
|
8317
|
+
properties:
|
|
8318
|
+
type:
|
|
8319
|
+
type: string
|
|
8320
|
+
enum:
|
|
8321
|
+
- user
|
|
8322
|
+
- peppolIncomingDocument
|
|
8323
|
+
id:
|
|
8324
|
+
type: string
|
|
8325
|
+
supplier:
|
|
8326
|
+
type: object
|
|
8327
|
+
properties:
|
|
8328
|
+
type:
|
|
8329
|
+
type: string
|
|
8330
|
+
enum:
|
|
8331
|
+
- company
|
|
8332
|
+
- contact
|
|
8333
|
+
id:
|
|
8334
|
+
type: string
|
|
8335
|
+
nullable: true
|
|
8336
|
+
document_number:
|
|
8337
|
+
type: string
|
|
8338
|
+
nullable: true
|
|
8339
|
+
invoice_date:
|
|
8340
|
+
type: string
|
|
8341
|
+
nullable: true
|
|
8342
|
+
due_date:
|
|
8343
|
+
type: string
|
|
8344
|
+
nullable: true
|
|
8345
|
+
currency:
|
|
8346
|
+
type: object
|
|
8347
|
+
properties:
|
|
8348
|
+
code:
|
|
8349
|
+
$ref: '#/components/schemas/CurrencyCode'
|
|
8350
|
+
total:
|
|
8351
|
+
type: object
|
|
8352
|
+
properties:
|
|
8353
|
+
tax_exclusive:
|
|
8354
|
+
type: object
|
|
8355
|
+
properties:
|
|
8356
|
+
amount:
|
|
8357
|
+
type: number
|
|
8358
|
+
nullable: true
|
|
8359
|
+
tax_inclusive:
|
|
8360
|
+
type: object
|
|
8361
|
+
properties:
|
|
8362
|
+
amount:
|
|
8363
|
+
type: number
|
|
8364
|
+
nullable: true
|
|
8365
|
+
company_entity:
|
|
8366
|
+
type: object
|
|
8367
|
+
properties:
|
|
8368
|
+
type:
|
|
8369
|
+
type: string
|
|
8370
|
+
id:
|
|
8371
|
+
type: string
|
|
8372
|
+
file:
|
|
8373
|
+
type: object
|
|
8374
|
+
properties:
|
|
8375
|
+
type:
|
|
8376
|
+
type: string
|
|
8377
|
+
id:
|
|
8378
|
+
type: string
|
|
8379
|
+
nullable: true
|
|
8380
|
+
payment_reference:
|
|
8381
|
+
type: string
|
|
8382
|
+
nullable: true
|
|
8383
|
+
review_status:
|
|
8384
|
+
type: string
|
|
8385
|
+
enum:
|
|
8386
|
+
- pending
|
|
8387
|
+
- approved
|
|
8388
|
+
- refused
|
|
8389
|
+
iban_number:
|
|
8390
|
+
type: string
|
|
8391
|
+
nullable: true
|
|
8392
|
+
example:
|
|
8393
|
+
data:
|
|
8394
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8395
|
+
title: Incoming invoice
|
|
8396
|
+
origin:
|
|
8397
|
+
type: user
|
|
8398
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8399
|
+
supplier:
|
|
8400
|
+
type: company
|
|
8401
|
+
id: f29abf48-337d-44b4-aad4-585f5277a456
|
|
8402
|
+
document_number: DOC-2032039
|
|
8403
|
+
invoice_date: '2024-05-11'
|
|
8404
|
+
due_date: '2024-06-11'
|
|
8405
|
+
currency:
|
|
8406
|
+
code: EUR
|
|
8407
|
+
total:
|
|
8408
|
+
tax_exclusive:
|
|
8409
|
+
amount: 100
|
|
8410
|
+
tax_inclusive:
|
|
8411
|
+
amount: 100
|
|
8412
|
+
company_entity:
|
|
8413
|
+
type: department
|
|
8414
|
+
id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
8415
|
+
file:
|
|
8416
|
+
type: file
|
|
8417
|
+
id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
8418
|
+
payment_reference: REF-3578296
|
|
8419
|
+
review_status: pending
|
|
8420
|
+
iban_number: BE68539007547034
|
|
8421
|
+
/incomingInvoices.markAsPendingReview:
|
|
8422
|
+
post:
|
|
8423
|
+
summary: incomingInvoices.markAsPendingReview
|
|
8424
|
+
operationId: incomingInvoices.markAsPendingReview
|
|
8425
|
+
description: Mark an incoming invoice as pending review.
|
|
8426
|
+
tags:
|
|
8427
|
+
- incoming_invoices
|
|
8428
|
+
parameters: []
|
|
8429
|
+
requestBody:
|
|
8430
|
+
content:
|
|
8431
|
+
application/json:
|
|
8432
|
+
example:
|
|
8433
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8434
|
+
schema:
|
|
8435
|
+
type: object
|
|
8436
|
+
properties:
|
|
8437
|
+
id:
|
|
8438
|
+
type: string
|
|
8439
|
+
required:
|
|
8440
|
+
- id
|
|
8441
|
+
responses:
|
|
8442
|
+
'204':
|
|
8443
|
+
description: No Content
|
|
8444
|
+
headers: {}
|
|
8445
|
+
content: {}
|
|
8446
|
+
/incomingInvoices.refuse:
|
|
8447
|
+
post:
|
|
8448
|
+
summary: incomingInvoices.refuse
|
|
8449
|
+
operationId: incomingInvoices.refuse
|
|
8450
|
+
description: Refuse an incoming invoice.
|
|
8451
|
+
tags:
|
|
8452
|
+
- incoming_invoices
|
|
8453
|
+
parameters: []
|
|
8454
|
+
requestBody:
|
|
8455
|
+
content:
|
|
8456
|
+
application/json:
|
|
8457
|
+
example:
|
|
8458
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8459
|
+
schema:
|
|
8460
|
+
type: object
|
|
8461
|
+
properties:
|
|
8462
|
+
id:
|
|
8463
|
+
type: string
|
|
8464
|
+
required:
|
|
8465
|
+
- id
|
|
8466
|
+
responses:
|
|
8467
|
+
'204':
|
|
8468
|
+
description: No Content
|
|
8469
|
+
headers: {}
|
|
8470
|
+
content: {}
|
|
8471
|
+
/incomingInvoices.sendToBookkeeping:
|
|
8472
|
+
post:
|
|
8473
|
+
summary: incomingInvoices.sendToBookkeeping
|
|
8474
|
+
operationId: incomingInvoices.sendToBookkeeping
|
|
8475
|
+
description: Send an incoming invoice to bookkeeping.
|
|
8476
|
+
tags:
|
|
8477
|
+
- incoming_invoices
|
|
8478
|
+
parameters: []
|
|
8479
|
+
requestBody:
|
|
8480
|
+
content:
|
|
8481
|
+
application/json:
|
|
8482
|
+
example:
|
|
8483
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8484
|
+
schema:
|
|
8485
|
+
type: object
|
|
8486
|
+
properties:
|
|
8487
|
+
id:
|
|
8488
|
+
type: string
|
|
8489
|
+
required:
|
|
8490
|
+
- id
|
|
8491
|
+
responses:
|
|
8492
|
+
'204':
|
|
8493
|
+
description: No Content
|
|
8494
|
+
headers: {}
|
|
8495
|
+
content: {}
|
|
8496
|
+
/incomingInvoices.update:
|
|
8497
|
+
post:
|
|
8498
|
+
summary: incomingInvoices.update
|
|
8499
|
+
operationId: incomingInvoices.update
|
|
8500
|
+
description: Updates an incoming invoice.
|
|
8501
|
+
tags:
|
|
8502
|
+
- incoming_invoices
|
|
8503
|
+
parameters: []
|
|
8504
|
+
requestBody:
|
|
8505
|
+
content:
|
|
8506
|
+
application/json:
|
|
8507
|
+
example:
|
|
8508
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8509
|
+
title: Incoming invoice
|
|
8510
|
+
supplier_id: ac4a3bc5-b11f-0eb6-8c20-0f0d697f8c2a
|
|
8511
|
+
document_number: DOC-2032039
|
|
8512
|
+
invoice_date: '2024-05-11'
|
|
8513
|
+
due_date: '2024-06-11'
|
|
8514
|
+
currency:
|
|
8515
|
+
code: EUR
|
|
8516
|
+
total:
|
|
8517
|
+
tax_exclusive:
|
|
8518
|
+
amount: 100
|
|
8519
|
+
tax_inclusive:
|
|
8520
|
+
amount: 100
|
|
8521
|
+
company_entity_id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
8522
|
+
file_id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
8523
|
+
payment_reference: REF-3578296
|
|
8524
|
+
iban_number: BE68539007547034
|
|
8525
|
+
schema:
|
|
8526
|
+
type: object
|
|
8527
|
+
properties:
|
|
8528
|
+
id:
|
|
8529
|
+
type: string
|
|
8530
|
+
title:
|
|
8531
|
+
type: string
|
|
8532
|
+
supplier_id:
|
|
8533
|
+
type: string
|
|
8534
|
+
nullable: true
|
|
8535
|
+
document_number:
|
|
8536
|
+
type: string
|
|
8537
|
+
nullable: true
|
|
8538
|
+
invoice_date:
|
|
8539
|
+
type: string
|
|
8540
|
+
nullable: true
|
|
8541
|
+
due_date:
|
|
8542
|
+
type: string
|
|
8543
|
+
nullable: true
|
|
8544
|
+
currency:
|
|
8545
|
+
type: object
|
|
8546
|
+
properties:
|
|
8547
|
+
code:
|
|
8548
|
+
allOf:
|
|
8549
|
+
- $ref: '#/components/schemas/CurrencyCode'
|
|
8550
|
+
- example: EUR
|
|
8551
|
+
required:
|
|
8552
|
+
- code
|
|
8553
|
+
total:
|
|
8554
|
+
type: object
|
|
8555
|
+
properties:
|
|
8556
|
+
tax_exclusive:
|
|
8557
|
+
type: object
|
|
8558
|
+
properties:
|
|
8559
|
+
amount:
|
|
8560
|
+
type: number
|
|
8561
|
+
required:
|
|
8562
|
+
- amount
|
|
8563
|
+
nullable: true
|
|
8564
|
+
tax_inclusive:
|
|
8565
|
+
type: object
|
|
8566
|
+
properties:
|
|
8567
|
+
amount:
|
|
8568
|
+
type: number
|
|
8569
|
+
required:
|
|
8570
|
+
- amount
|
|
8571
|
+
nullable: true
|
|
8572
|
+
company_entity_id:
|
|
8573
|
+
type: string
|
|
8574
|
+
file_id:
|
|
8575
|
+
type: string
|
|
8576
|
+
nullable: true
|
|
8577
|
+
payment_reference:
|
|
8578
|
+
type: string
|
|
8579
|
+
nullable: true
|
|
8580
|
+
iban_number:
|
|
8581
|
+
type: string
|
|
8582
|
+
nullable: true
|
|
8583
|
+
required:
|
|
8584
|
+
- id
|
|
8585
|
+
responses:
|
|
8586
|
+
'204':
|
|
8587
|
+
description: No Content
|
|
8588
|
+
headers: {}
|
|
8589
|
+
content: {}
|
|
8590
|
+
/receipts.add:
|
|
8591
|
+
post:
|
|
8592
|
+
summary: receipts.add
|
|
8593
|
+
operationId: receipts.add
|
|
8594
|
+
description: Adds a receipt.
|
|
8595
|
+
tags:
|
|
8596
|
+
- receipts
|
|
8597
|
+
parameters: []
|
|
8598
|
+
requestBody:
|
|
8599
|
+
content:
|
|
8600
|
+
application/json:
|
|
8601
|
+
example:
|
|
8602
|
+
title: Receipt note
|
|
8603
|
+
supplier_id: ac4a3bc5-b11f-0eb6-8c20-0f0d697f8c2a
|
|
8604
|
+
document_number: DOC-2032039
|
|
8605
|
+
receipt_date: '2024-05-11'
|
|
8606
|
+
currency:
|
|
8607
|
+
code: EUR
|
|
8608
|
+
total:
|
|
8609
|
+
tax_inclusive:
|
|
8610
|
+
amount: 100
|
|
8611
|
+
company_entity_id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
8612
|
+
file_id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
8613
|
+
schema:
|
|
8614
|
+
type: object
|
|
8615
|
+
properties:
|
|
8616
|
+
title:
|
|
8617
|
+
type: string
|
|
8618
|
+
supplier_id:
|
|
8619
|
+
type: string
|
|
8620
|
+
nullable: true
|
|
8621
|
+
document_number:
|
|
8622
|
+
type: string
|
|
8623
|
+
nullable: true
|
|
8624
|
+
receipt_date:
|
|
8625
|
+
type: string
|
|
8626
|
+
nullable: true
|
|
8627
|
+
currency:
|
|
8628
|
+
type: object
|
|
8629
|
+
properties:
|
|
8630
|
+
code:
|
|
8631
|
+
allOf:
|
|
8632
|
+
- $ref: '#/components/schemas/CurrencyCode'
|
|
8633
|
+
- example: EUR
|
|
8634
|
+
required:
|
|
8635
|
+
- code
|
|
8636
|
+
total:
|
|
8637
|
+
type: object
|
|
8638
|
+
properties:
|
|
8639
|
+
tax_inclusive:
|
|
8640
|
+
type: object
|
|
8641
|
+
properties:
|
|
8642
|
+
amount:
|
|
8643
|
+
type: number
|
|
8644
|
+
required:
|
|
8645
|
+
- amount
|
|
8646
|
+
nullable: true
|
|
8647
|
+
company_entity_id:
|
|
8648
|
+
type: string
|
|
8649
|
+
description: Default company entity will be used if not provided
|
|
8650
|
+
file_id:
|
|
8651
|
+
type: string
|
|
8652
|
+
nullable: true
|
|
8653
|
+
required:
|
|
8654
|
+
- title
|
|
8655
|
+
- currency
|
|
8656
|
+
responses:
|
|
8657
|
+
'201':
|
|
8658
|
+
description: Created
|
|
8659
|
+
headers: {}
|
|
8660
|
+
content:
|
|
8661
|
+
application/json:
|
|
8662
|
+
schema:
|
|
8663
|
+
type: object
|
|
8664
|
+
properties:
|
|
8665
|
+
data:
|
|
8666
|
+
type: object
|
|
8667
|
+
properties:
|
|
8668
|
+
type:
|
|
8669
|
+
type: string
|
|
8670
|
+
id:
|
|
8671
|
+
type: string
|
|
8672
|
+
example:
|
|
8673
|
+
data:
|
|
8674
|
+
type: receipt
|
|
8675
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8676
|
+
/receipts.approve:
|
|
8677
|
+
post:
|
|
8678
|
+
summary: receipts.approve
|
|
8679
|
+
operationId: receipts.approve
|
|
8680
|
+
description: Approve a receipt.
|
|
8681
|
+
tags:
|
|
8682
|
+
- receipts
|
|
8683
|
+
parameters: []
|
|
8684
|
+
requestBody:
|
|
8685
|
+
content:
|
|
8686
|
+
application/json:
|
|
8687
|
+
example:
|
|
8688
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8689
|
+
schema:
|
|
8690
|
+
type: object
|
|
8691
|
+
properties:
|
|
8692
|
+
id:
|
|
8693
|
+
type: string
|
|
8694
|
+
required:
|
|
8695
|
+
- id
|
|
8696
|
+
responses:
|
|
8697
|
+
'204':
|
|
8698
|
+
description: No Content
|
|
8699
|
+
headers: {}
|
|
8700
|
+
content: {}
|
|
8701
|
+
/receipts.delete:
|
|
8702
|
+
post:
|
|
8703
|
+
summary: receipts.delete
|
|
8704
|
+
operationId: receipts.delete
|
|
8705
|
+
description: Deletes a receipt.
|
|
8706
|
+
tags:
|
|
8707
|
+
- receipts
|
|
8708
|
+
parameters: []
|
|
8709
|
+
requestBody:
|
|
8710
|
+
content:
|
|
8711
|
+
application/json:
|
|
8712
|
+
example:
|
|
8713
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8714
|
+
schema:
|
|
8715
|
+
type: object
|
|
8716
|
+
properties:
|
|
8717
|
+
id:
|
|
8718
|
+
type: string
|
|
8719
|
+
required:
|
|
8720
|
+
- id
|
|
8721
|
+
responses:
|
|
8722
|
+
'204':
|
|
8723
|
+
description: No Content
|
|
8724
|
+
headers: {}
|
|
8725
|
+
content: {}
|
|
8726
|
+
/receipts.info:
|
|
8727
|
+
post:
|
|
8728
|
+
summary: receipts.info
|
|
8729
|
+
operationId: receipts.info
|
|
8730
|
+
description: Get details for a single receipt.
|
|
8731
|
+
tags:
|
|
8732
|
+
- receipts
|
|
8733
|
+
parameters: []
|
|
8734
|
+
requestBody:
|
|
8735
|
+
content:
|
|
8736
|
+
application/json:
|
|
8737
|
+
example:
|
|
8738
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8739
|
+
schema:
|
|
8740
|
+
type: object
|
|
8741
|
+
properties:
|
|
8742
|
+
id:
|
|
8743
|
+
type: string
|
|
8744
|
+
required:
|
|
8745
|
+
- id
|
|
7102
8746
|
responses:
|
|
7103
8747
|
'200':
|
|
7104
|
-
description:
|
|
8748
|
+
description: OK
|
|
7105
8749
|
headers: {}
|
|
7106
8750
|
content:
|
|
7107
8751
|
application/json:
|
|
7108
8752
|
schema:
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
8753
|
+
type: object
|
|
8754
|
+
properties:
|
|
8755
|
+
data:
|
|
8756
|
+
type: object
|
|
8757
|
+
properties:
|
|
8758
|
+
id:
|
|
8759
|
+
type: string
|
|
8760
|
+
title:
|
|
8761
|
+
type: string
|
|
8762
|
+
origin:
|
|
8763
|
+
type: object
|
|
8764
|
+
properties:
|
|
8765
|
+
type:
|
|
8766
|
+
type: string
|
|
8767
|
+
id:
|
|
8768
|
+
type: string
|
|
8769
|
+
supplier:
|
|
8770
|
+
type: object
|
|
8771
|
+
properties:
|
|
8772
|
+
type:
|
|
8773
|
+
type: string
|
|
8774
|
+
enum:
|
|
8775
|
+
- company
|
|
8776
|
+
- contact
|
|
8777
|
+
id:
|
|
8778
|
+
type: string
|
|
8779
|
+
nullable: true
|
|
8780
|
+
document_number:
|
|
8781
|
+
type: string
|
|
8782
|
+
nullable: true
|
|
8783
|
+
receipt_date:
|
|
8784
|
+
type: string
|
|
8785
|
+
nullable: true
|
|
8786
|
+
currency:
|
|
8787
|
+
type: object
|
|
8788
|
+
properties:
|
|
8789
|
+
code:
|
|
8790
|
+
$ref: '#/components/schemas/CurrencyCode'
|
|
8791
|
+
total:
|
|
8792
|
+
type: object
|
|
8793
|
+
properties:
|
|
8794
|
+
tax_inclusive:
|
|
8795
|
+
type: object
|
|
8796
|
+
properties:
|
|
8797
|
+
amount:
|
|
8798
|
+
type: number
|
|
8799
|
+
nullable: true
|
|
8800
|
+
company_entity:
|
|
8801
|
+
type: object
|
|
8802
|
+
properties:
|
|
8803
|
+
type:
|
|
8804
|
+
type: string
|
|
8805
|
+
id:
|
|
8806
|
+
type: string
|
|
8807
|
+
file:
|
|
8808
|
+
type: object
|
|
8809
|
+
properties:
|
|
8810
|
+
type:
|
|
8811
|
+
type: string
|
|
8812
|
+
id:
|
|
8813
|
+
type: string
|
|
8814
|
+
nullable: true
|
|
8815
|
+
review_status:
|
|
8816
|
+
type: string
|
|
8817
|
+
enum:
|
|
8818
|
+
- pending
|
|
8819
|
+
- approved
|
|
8820
|
+
- refused
|
|
7119
8821
|
example:
|
|
7120
8822
|
data:
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
8823
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8824
|
+
title: Receipt note
|
|
8825
|
+
origin:
|
|
8826
|
+
type: user
|
|
8827
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8828
|
+
supplier:
|
|
8829
|
+
type: company
|
|
8830
|
+
id: f29abf48-337d-44b4-aad4-585f5277a456
|
|
8831
|
+
document_number: DOC-2032039
|
|
8832
|
+
receipt_date: '2024-05-11'
|
|
8833
|
+
currency:
|
|
8834
|
+
code: EUR
|
|
8835
|
+
total:
|
|
8836
|
+
tax_inclusive:
|
|
8837
|
+
amount: 100
|
|
8838
|
+
company_entity:
|
|
8839
|
+
type: department
|
|
8840
|
+
id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
8841
|
+
file:
|
|
8842
|
+
type: file
|
|
8843
|
+
id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
8844
|
+
review_status: pending
|
|
8845
|
+
/receipts.markAsPendingReview:
|
|
7129
8846
|
post:
|
|
8847
|
+
summary: receipts.markAsPendingReview
|
|
8848
|
+
operationId: receipts.markAsPendingReview
|
|
8849
|
+
description: Mark a receipts as pending review.
|
|
7130
8850
|
tags:
|
|
7131
|
-
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
example: application/json
|
|
8851
|
+
- receipts
|
|
8852
|
+
parameters: []
|
|
8853
|
+
requestBody:
|
|
8854
|
+
content:
|
|
8855
|
+
application/json:
|
|
8856
|
+
example:
|
|
8857
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8858
|
+
schema:
|
|
8859
|
+
type: object
|
|
8860
|
+
properties:
|
|
8861
|
+
id:
|
|
8862
|
+
type: string
|
|
8863
|
+
required:
|
|
8864
|
+
- id
|
|
7146
8865
|
responses:
|
|
7147
|
-
'
|
|
7148
|
-
description:
|
|
8866
|
+
'204':
|
|
8867
|
+
description: No Content
|
|
7149
8868
|
headers: {}
|
|
7150
|
-
content:
|
|
7151
|
-
|
|
7152
|
-
schema:
|
|
7153
|
-
allOf:
|
|
7154
|
-
- $ref: '#/components/schemas/paymentTerms.listresponse'
|
|
7155
|
-
- example:
|
|
7156
|
-
data:
|
|
7157
|
-
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7158
|
-
type: cash
|
|
7159
|
-
meta:
|
|
7160
|
-
default: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7161
|
-
example:
|
|
7162
|
-
data:
|
|
7163
|
-
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7164
|
-
type: cash
|
|
7165
|
-
meta:
|
|
7166
|
-
default: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7167
|
-
deprecated: false
|
|
7168
|
-
/withholdingTaxRates.list:
|
|
8869
|
+
content: {}
|
|
8870
|
+
/receipts.refuse:
|
|
7169
8871
|
post:
|
|
8872
|
+
summary: receipts.refuse
|
|
8873
|
+
operationId: receipts.refuse
|
|
8874
|
+
description: Refuse a receipts.
|
|
7170
8875
|
tags:
|
|
7171
|
-
-
|
|
7172
|
-
summary: withholdingTaxRates.list
|
|
7173
|
-
description: Get a list of available withholding tax rates.
|
|
7174
|
-
operationId: withholdingTaxRates.list
|
|
8876
|
+
- receipts
|
|
7175
8877
|
parameters: []
|
|
7176
8878
|
requestBody:
|
|
7177
|
-
description: ''
|
|
7178
8879
|
content:
|
|
7179
8880
|
application/json:
|
|
7180
|
-
schema:
|
|
7181
|
-
allOf:
|
|
7182
|
-
- $ref: '#/components/schemas/withholdingTaxRates.listrequest'
|
|
7183
|
-
- example:
|
|
7184
|
-
filter:
|
|
7185
|
-
department_id: 080aac72-ff1a-4627-bfe3-146b6eee979c
|
|
7186
8881
|
example:
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
8882
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8883
|
+
schema:
|
|
8884
|
+
type: object
|
|
8885
|
+
properties:
|
|
8886
|
+
id:
|
|
8887
|
+
type: string
|
|
8888
|
+
required:
|
|
8889
|
+
- id
|
|
7190
8890
|
responses:
|
|
7191
|
-
'
|
|
7192
|
-
description:
|
|
8891
|
+
'204':
|
|
8892
|
+
description: No Content
|
|
7193
8893
|
headers: {}
|
|
7194
|
-
content:
|
|
7195
|
-
|
|
7196
|
-
schema:
|
|
7197
|
-
allOf:
|
|
7198
|
-
- $ref: '#/components/schemas/withholdingTaxRates.listresponse'
|
|
7199
|
-
- example:
|
|
7200
|
-
data:
|
|
7201
|
-
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7202
|
-
department:
|
|
7203
|
-
type: department
|
|
7204
|
-
id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
|
|
7205
|
-
description: Ritenuta d'acconto 23% su 20%
|
|
7206
|
-
rate: 0.046
|
|
7207
|
-
example:
|
|
7208
|
-
data:
|
|
7209
|
-
- id: c93ddb52-0af8-47d9-8551-441435be66a7
|
|
7210
|
-
department:
|
|
7211
|
-
type: department
|
|
7212
|
-
id: 182af0a8-3f68-409b-8941-cf8caf8f28a0
|
|
7213
|
-
description: Ritenuta d'acconto 23% su 20%
|
|
7214
|
-
rate: 0.046
|
|
7215
|
-
deprecated: false
|
|
7216
|
-
/commercialDiscounts.list:
|
|
8894
|
+
content: {}
|
|
8895
|
+
/receipts.sendToBookkeeping:
|
|
7217
8896
|
post:
|
|
8897
|
+
summary: receipts.sendToBookkeeping
|
|
8898
|
+
operationId: receipts.sendToBookkeeping
|
|
8899
|
+
description: Send a receipt to bookkeeping for processing.
|
|
7218
8900
|
tags:
|
|
7219
|
-
-
|
|
7220
|
-
summary: commercialDiscounts.list
|
|
7221
|
-
description: Get a list of commercial discounts.
|
|
7222
|
-
operationId: commercialDiscounts.list
|
|
8901
|
+
- receipts
|
|
7223
8902
|
parameters: []
|
|
7224
8903
|
requestBody:
|
|
7225
|
-
description: ''
|
|
7226
8904
|
content:
|
|
7227
8905
|
application/json:
|
|
7228
|
-
schema:
|
|
7229
|
-
allOf:
|
|
7230
|
-
- $ref: '#/components/schemas/commercialDiscounts.listrequest'
|
|
7231
|
-
- example:
|
|
7232
|
-
filter:
|
|
7233
|
-
department_id: 6a6343fc-fdd8-4bc0-aa69-3a004c710e87
|
|
7234
8906
|
example:
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
8907
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8908
|
+
schema:
|
|
8909
|
+
type: object
|
|
8910
|
+
properties:
|
|
8911
|
+
id:
|
|
8912
|
+
type: string
|
|
8913
|
+
required:
|
|
8914
|
+
- id
|
|
7238
8915
|
responses:
|
|
7239
|
-
'
|
|
7240
|
-
description:
|
|
8916
|
+
'204':
|
|
8917
|
+
description: No Content
|
|
7241
8918
|
headers: {}
|
|
7242
|
-
content:
|
|
7243
|
-
|
|
7244
|
-
schema:
|
|
7245
|
-
allOf:
|
|
7246
|
-
- $ref: '#/components/schemas/commercialDiscounts.listresponse'
|
|
7247
|
-
- example:
|
|
7248
|
-
data:
|
|
7249
|
-
- name: My holiday discount
|
|
7250
|
-
department:
|
|
7251
|
-
type: department
|
|
7252
|
-
id: 6a6343fc-fdd8-4bc0-aa69-3a004c710e87
|
|
7253
|
-
example:
|
|
7254
|
-
data:
|
|
7255
|
-
- name: My holiday discount
|
|
7256
|
-
department:
|
|
7257
|
-
type: department
|
|
7258
|
-
id: 6a6343fc-fdd8-4bc0-aa69-3a004c710e87
|
|
7259
|
-
deprecated: false
|
|
7260
|
-
/paymentMethods.list:
|
|
8919
|
+
content: {}
|
|
8920
|
+
/receipts.update:
|
|
7261
8921
|
post:
|
|
8922
|
+
summary: receipts.update
|
|
8923
|
+
operationId: receipts.update
|
|
8924
|
+
description: Updates a receipt.
|
|
7262
8925
|
tags:
|
|
7263
|
-
-
|
|
7264
|
-
summary: paymentMethods.list
|
|
7265
|
-
description: Get a list of payment methods.
|
|
7266
|
-
operationId: paymentMethods.list
|
|
8926
|
+
- receipts
|
|
7267
8927
|
parameters: []
|
|
7268
8928
|
requestBody:
|
|
7269
|
-
description: ''
|
|
7270
8929
|
content:
|
|
7271
8930
|
application/json:
|
|
8931
|
+
example:
|
|
8932
|
+
id: 018d5965-19fb-701a-af11-e80451931551
|
|
8933
|
+
title: Receipt note
|
|
8934
|
+
supplier_id: ac4a3bc5-b11f-0eb6-8c20-0f0d697f8c2a
|
|
8935
|
+
document_number: DOC-2032039
|
|
8936
|
+
receipt_date: '2024-05-11'
|
|
8937
|
+
currency:
|
|
8938
|
+
code: EUR
|
|
8939
|
+
total:
|
|
8940
|
+
tax_inclusive:
|
|
8941
|
+
amount: 100
|
|
8942
|
+
company_entity_id: 018fcef1-4f96-7349-9f57-1c7857023c42
|
|
8943
|
+
file_id: 5027619a-5e0a-01ce-a533-f80dfcc3f142
|
|
7272
8944
|
schema:
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
8945
|
+
type: object
|
|
8946
|
+
properties:
|
|
8947
|
+
id:
|
|
8948
|
+
type: string
|
|
8949
|
+
title:
|
|
8950
|
+
type: string
|
|
8951
|
+
supplier_id:
|
|
8952
|
+
type: string
|
|
8953
|
+
nullable: true
|
|
8954
|
+
document_number:
|
|
8955
|
+
type: string
|
|
8956
|
+
nullable: true
|
|
8957
|
+
receipt_date:
|
|
8958
|
+
type: string
|
|
8959
|
+
nullable: true
|
|
8960
|
+
currency:
|
|
8961
|
+
type: object
|
|
8962
|
+
properties:
|
|
8963
|
+
code:
|
|
8964
|
+
allOf:
|
|
8965
|
+
- $ref: '#/components/schemas/CurrencyCode'
|
|
8966
|
+
- example: EUR
|
|
8967
|
+
required:
|
|
8968
|
+
- code
|
|
8969
|
+
total:
|
|
8970
|
+
type: object
|
|
8971
|
+
properties:
|
|
8972
|
+
tax_inclusive:
|
|
8973
|
+
type: object
|
|
8974
|
+
properties:
|
|
8975
|
+
amount:
|
|
8976
|
+
type: number
|
|
8977
|
+
required:
|
|
8978
|
+
- amount
|
|
8979
|
+
nullable: true
|
|
8980
|
+
company_entity_id:
|
|
8981
|
+
type: string
|
|
8982
|
+
file_id:
|
|
8983
|
+
type: string
|
|
8984
|
+
nullable: true
|
|
8985
|
+
required:
|
|
8986
|
+
- id
|
|
7276
8987
|
responses:
|
|
7277
|
-
'
|
|
7278
|
-
description:
|
|
8988
|
+
'204':
|
|
8989
|
+
description: No Content
|
|
7279
8990
|
headers: {}
|
|
7280
|
-
content:
|
|
7281
|
-
application/json:
|
|
7282
|
-
schema:
|
|
7283
|
-
allOf:
|
|
7284
|
-
- $ref: '#/components/schemas/paymentMethods.listresponse'
|
|
7285
|
-
- example:
|
|
7286
|
-
data:
|
|
7287
|
-
- id: 49b403be-a32e-0901-9b1c-25214f9027c6
|
|
7288
|
-
name: Coupons
|
|
7289
|
-
status: active
|
|
7290
|
-
example:
|
|
7291
|
-
data:
|
|
7292
|
-
- id: 49b403be-a32e-0901-9b1c-25214f9027c6
|
|
7293
|
-
name: Coupons
|
|
7294
|
-
status: active
|
|
7295
|
-
deprecated: false
|
|
8991
|
+
content: {}
|
|
7296
8992
|
/productCategories.list:
|
|
7297
8993
|
post:
|
|
7298
8994
|
tags:
|
|
@@ -28293,6 +29989,13 @@ x-tagGroups:
|
|
|
28293
29989
|
- withholding_tax_rates
|
|
28294
29990
|
- commercial_discounts
|
|
28295
29991
|
- payment_methods
|
|
29992
|
+
- name: Expenses
|
|
29993
|
+
tags:
|
|
29994
|
+
- expenses
|
|
29995
|
+
- bookkeeping_submissions
|
|
29996
|
+
- incoming_invoices
|
|
29997
|
+
- incoming_credit_notes
|
|
29998
|
+
- receipts
|
|
28296
29999
|
- name: Products
|
|
28297
30000
|
tags:
|
|
28298
30001
|
- product_categories
|