@orvello/sdk 0.7.9 → 0.7.10

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/openapi.json CHANGED
@@ -20941,6 +20941,34 @@
20941
20941
  }
20942
20942
  ]
20943
20943
  },
20944
+ "vatTreatment": {
20945
+ "anyOf": [
20946
+ {
20947
+ "type": "string",
20948
+ "enum": [
20949
+ "REVERSE_CHARGE_13B",
20950
+ "DE_STANDARD_19",
20951
+ "DE_REDUCED_7",
20952
+ "EXEMPT_4",
20953
+ "KLEINUNTERNEHMER_0"
20954
+ ]
20955
+ },
20956
+ {
20957
+ "type": "null"
20958
+ }
20959
+ ]
20960
+ },
20961
+ "supplierId": {
20962
+ "anyOf": [
20963
+ {
20964
+ "type": "integer",
20965
+ "exclusiveMinimum": 0
20966
+ },
20967
+ {
20968
+ "type": "null"
20969
+ }
20970
+ ]
20971
+ },
20944
20972
  "createAsAsset": {
20945
20973
  "type": "boolean",
20946
20974
  "default": false
@@ -21507,6 +21535,34 @@
21507
21535
  "type": "null"
21508
21536
  }
21509
21537
  ]
21538
+ },
21539
+ "vatTreatment": {
21540
+ "anyOf": [
21541
+ {
21542
+ "type": "string",
21543
+ "enum": [
21544
+ "REVERSE_CHARGE_13B",
21545
+ "DE_STANDARD_19",
21546
+ "DE_REDUCED_7",
21547
+ "EXEMPT_4",
21548
+ "KLEINUNTERNEHMER_0"
21549
+ ]
21550
+ },
21551
+ {
21552
+ "type": "null"
21553
+ }
21554
+ ]
21555
+ },
21556
+ "supplierId": {
21557
+ "anyOf": [
21558
+ {
21559
+ "type": "integer",
21560
+ "exclusiveMinimum": 0
21561
+ },
21562
+ {
21563
+ "type": "null"
21564
+ }
21565
+ ]
21510
21566
  }
21511
21567
  },
21512
21568
  "required": [
@@ -22756,6 +22812,20 @@
22756
22812
  "type": "null"
22757
22813
  }
22758
22814
  ]
22815
+ },
22816
+ "vatTreatment": {
22817
+ "type": "string",
22818
+ "enum": [
22819
+ "REVERSE_CHARGE_13B",
22820
+ "DE_STANDARD_19",
22821
+ "DE_REDUCED_7",
22822
+ "EXEMPT_4",
22823
+ "KLEINUNTERNEHMER_0"
22824
+ ]
22825
+ },
22826
+ "supplierId": {
22827
+ "type": "integer",
22828
+ "exclusiveMinimum": 0
22759
22829
  }
22760
22830
  },
22761
22831
  "required": [
@@ -30424,6 +30494,34 @@
30424
30494
  "type": "null"
30425
30495
  }
30426
30496
  ]
30497
+ },
30498
+ "vatTreatment": {
30499
+ "anyOf": [
30500
+ {
30501
+ "type": "string",
30502
+ "enum": [
30503
+ "REVERSE_CHARGE_13B",
30504
+ "DE_STANDARD_19",
30505
+ "DE_REDUCED_7",
30506
+ "EXEMPT_4",
30507
+ "KLEINUNTERNEHMER_0"
30508
+ ]
30509
+ },
30510
+ {
30511
+ "type": "null"
30512
+ }
30513
+ ]
30514
+ },
30515
+ "supplierId": {
30516
+ "anyOf": [
30517
+ {
30518
+ "type": "integer",
30519
+ "exclusiveMinimum": 0
30520
+ },
30521
+ {
30522
+ "type": "null"
30523
+ }
30524
+ ]
30427
30525
  }
30428
30526
  },
30429
30527
  "required": [
@@ -42693,6 +42791,1008 @@
42693
42791
  ]
42694
42792
  }
42695
42793
  },
42794
+ "/bookkeeping/suppliers": {
42795
+ "get": {
42796
+ "operationId": "suppliers_list",
42797
+ "tags": [
42798
+ "bookkeeping",
42799
+ "suppliers"
42800
+ ],
42801
+ "summary": "Lieferanten mit Steuerprofil",
42802
+ "description": "Alle Lieferanten der Firma mit Land, USt-IdNr., Schreibweisen, heute geltender Behandlung, Verlauf (Gueltig-ab, ersetzte Eintraege), Hinweis je Sitz (nicht bestaetigt) und Belegzahlen (ohne Behandlung, aus dem Profil, am Beleg gesetzt).",
42803
+ "responses": {
42804
+ "200": {
42805
+ "description": "JSON response",
42806
+ "content": {
42807
+ "application/json": {
42808
+ "schema": {
42809
+ "type": "object",
42810
+ "properties": {
42811
+ "success": {
42812
+ "type": "boolean"
42813
+ },
42814
+ "message": {
42815
+ "anyOf": [
42816
+ {
42817
+ "type": "string"
42818
+ },
42819
+ {
42820
+ "type": "null"
42821
+ }
42822
+ ]
42823
+ },
42824
+ "code": {
42825
+ "anyOf": [
42826
+ {
42827
+ "type": "string"
42828
+ },
42829
+ {
42830
+ "type": "null"
42831
+ }
42832
+ ]
42833
+ },
42834
+ "data": {
42835
+ "anyOf": [
42836
+ {},
42837
+ {
42838
+ "type": "null"
42839
+ }
42840
+ ]
42841
+ }
42842
+ },
42843
+ "required": [
42844
+ "success",
42845
+ "data"
42846
+ ],
42847
+ "additionalProperties": false
42848
+ }
42849
+ }
42850
+ }
42851
+ }
42852
+ },
42853
+ "security": [
42854
+ {
42855
+ "frontendBearer": []
42856
+ }
42857
+ ],
42858
+ "x-transport": "http",
42859
+ "x-permissions": [
42860
+ "bookkeeping_access"
42861
+ ]
42862
+ },
42863
+ "post": {
42864
+ "operationId": "suppliers_create",
42865
+ "tags": [
42866
+ "bookkeeping",
42867
+ "suppliers"
42868
+ ],
42869
+ "summary": "Lieferant anlegen",
42870
+ "description": "Legt einen Lieferanten an (Name je Firma eindeutig, Rechtsformzusatz zaehlt nicht). Die Steuerbehandlung kommt danach ueber Vorschau und Eintrag mit Gueltig-ab.",
42871
+ "responses": {
42872
+ "201": {
42873
+ "description": "JSON response",
42874
+ "content": {
42875
+ "application/json": {
42876
+ "schema": {
42877
+ "type": "object",
42878
+ "properties": {
42879
+ "success": {
42880
+ "type": "boolean"
42881
+ },
42882
+ "message": {
42883
+ "anyOf": [
42884
+ {
42885
+ "type": "string"
42886
+ },
42887
+ {
42888
+ "type": "null"
42889
+ }
42890
+ ]
42891
+ },
42892
+ "code": {
42893
+ "anyOf": [
42894
+ {
42895
+ "type": "string"
42896
+ },
42897
+ {
42898
+ "type": "null"
42899
+ }
42900
+ ]
42901
+ },
42902
+ "data": {
42903
+ "anyOf": [
42904
+ {},
42905
+ {
42906
+ "type": "null"
42907
+ }
42908
+ ]
42909
+ }
42910
+ },
42911
+ "required": [
42912
+ "success",
42913
+ "data"
42914
+ ],
42915
+ "additionalProperties": false
42916
+ }
42917
+ }
42918
+ }
42919
+ }
42920
+ },
42921
+ "requestBody": {
42922
+ "required": true,
42923
+ "content": {
42924
+ "application/json": {
42925
+ "schema": {
42926
+ "type": "object",
42927
+ "properties": {
42928
+ "name": {
42929
+ "type": "string",
42930
+ "minLength": 1,
42931
+ "maxLength": 200
42932
+ },
42933
+ "country": {
42934
+ "anyOf": [
42935
+ {
42936
+ "type": "string",
42937
+ "maxLength": 2
42938
+ },
42939
+ {
42940
+ "type": "null"
42941
+ }
42942
+ ]
42943
+ },
42944
+ "vatId": {
42945
+ "anyOf": [
42946
+ {
42947
+ "type": "string",
42948
+ "maxLength": 32
42949
+ },
42950
+ {
42951
+ "type": "null"
42952
+ }
42953
+ ]
42954
+ },
42955
+ "iban": {
42956
+ "anyOf": [
42957
+ {
42958
+ "type": "string",
42959
+ "maxLength": 42
42960
+ },
42961
+ {
42962
+ "type": "null"
42963
+ }
42964
+ ]
42965
+ },
42966
+ "matchNames": {
42967
+ "type": "array",
42968
+ "items": {
42969
+ "type": "string",
42970
+ "minLength": 1,
42971
+ "maxLength": 200
42972
+ }
42973
+ },
42974
+ "notes": {
42975
+ "anyOf": [
42976
+ {
42977
+ "type": "string",
42978
+ "maxLength": 2000
42979
+ },
42980
+ {
42981
+ "type": "null"
42982
+ }
42983
+ ]
42984
+ },
42985
+ "isArchived": {
42986
+ "type": "boolean"
42987
+ }
42988
+ },
42989
+ "required": [
42990
+ "name"
42991
+ ],
42992
+ "additionalProperties": false
42993
+ }
42994
+ }
42995
+ }
42996
+ },
42997
+ "security": [
42998
+ {
42999
+ "frontendBearer": []
43000
+ }
43001
+ ],
43002
+ "x-transport": "http",
43003
+ "x-permissions": [
43004
+ "bookkeeping_access"
43005
+ ]
43006
+ }
43007
+ },
43008
+ "/bookkeeping/suppliers/untreated": {
43009
+ "get": {
43010
+ "operationId": "suppliers_untreated",
43011
+ "tags": [
43012
+ "bookkeeping",
43013
+ "suppliers"
43014
+ ],
43015
+ "summary": "Belege ohne Steuerbehandlung je Lieferant",
43016
+ "description": "Ausgaben ohne Behandlung, gruppiert je Lieferant (Anzahl, Summe, Zeitraum, Fremdwaehrung, vom Profil abgedeckt), dazu Vorschlaege fuer Belege ohne Lieferant mit Grund (IBAN, Name, Schreibweise, Gegenpartei) und Belegtexte ohne Treffer.",
43017
+ "responses": {
43018
+ "200": {
43019
+ "description": "JSON response",
43020
+ "content": {
43021
+ "application/json": {
43022
+ "schema": {
43023
+ "type": "object",
43024
+ "properties": {
43025
+ "success": {
43026
+ "type": "boolean"
43027
+ },
43028
+ "message": {
43029
+ "anyOf": [
43030
+ {
43031
+ "type": "string"
43032
+ },
43033
+ {
43034
+ "type": "null"
43035
+ }
43036
+ ]
43037
+ },
43038
+ "code": {
43039
+ "anyOf": [
43040
+ {
43041
+ "type": "string"
43042
+ },
43043
+ {
43044
+ "type": "null"
43045
+ }
43046
+ ]
43047
+ },
43048
+ "data": {
43049
+ "anyOf": [
43050
+ {},
43051
+ {
43052
+ "type": "null"
43053
+ }
43054
+ ]
43055
+ }
43056
+ },
43057
+ "required": [
43058
+ "success",
43059
+ "data"
43060
+ ],
43061
+ "additionalProperties": false
43062
+ }
43063
+ }
43064
+ }
43065
+ }
43066
+ },
43067
+ "security": [
43068
+ {
43069
+ "frontendBearer": []
43070
+ }
43071
+ ],
43072
+ "x-transport": "http",
43073
+ "x-permissions": [
43074
+ "bookkeeping_access"
43075
+ ]
43076
+ }
43077
+ },
43078
+ "/bookkeeping/suppliers/:id": {
43079
+ "put": {
43080
+ "operationId": "suppliers_update",
43081
+ "tags": [
43082
+ "bookkeeping",
43083
+ "suppliers"
43084
+ ],
43085
+ "summary": "Lieferant aendern",
43086
+ "description": "Aendert Stammdaten und Schreibweisen. Die Steuerbehandlung aendert sich nur ueber den Eintrag mit Gueltig-ab.",
43087
+ "responses": {
43088
+ "200": {
43089
+ "description": "JSON response",
43090
+ "content": {
43091
+ "application/json": {
43092
+ "schema": {
43093
+ "type": "object",
43094
+ "properties": {
43095
+ "success": {
43096
+ "type": "boolean"
43097
+ },
43098
+ "message": {
43099
+ "anyOf": [
43100
+ {
43101
+ "type": "string"
43102
+ },
43103
+ {
43104
+ "type": "null"
43105
+ }
43106
+ ]
43107
+ },
43108
+ "code": {
43109
+ "anyOf": [
43110
+ {
43111
+ "type": "string"
43112
+ },
43113
+ {
43114
+ "type": "null"
43115
+ }
43116
+ ]
43117
+ },
43118
+ "data": {
43119
+ "anyOf": [
43120
+ {},
43121
+ {
43122
+ "type": "null"
43123
+ }
43124
+ ]
43125
+ }
43126
+ },
43127
+ "required": [
43128
+ "success",
43129
+ "data"
43130
+ ],
43131
+ "additionalProperties": false
43132
+ }
43133
+ }
43134
+ }
43135
+ }
43136
+ },
43137
+ "parameters": [
43138
+ {
43139
+ "name": "id",
43140
+ "in": "path",
43141
+ "required": true,
43142
+ "schema": {
43143
+ "type": "integer",
43144
+ "exclusiveMinimum": 0
43145
+ }
43146
+ }
43147
+ ],
43148
+ "requestBody": {
43149
+ "required": true,
43150
+ "content": {
43151
+ "application/json": {
43152
+ "schema": {
43153
+ "type": "object",
43154
+ "properties": {
43155
+ "name": {
43156
+ "type": "string",
43157
+ "minLength": 1,
43158
+ "maxLength": 200
43159
+ },
43160
+ "country": {
43161
+ "anyOf": [
43162
+ {
43163
+ "type": "string",
43164
+ "maxLength": 2
43165
+ },
43166
+ {
43167
+ "type": "null"
43168
+ }
43169
+ ]
43170
+ },
43171
+ "vatId": {
43172
+ "anyOf": [
43173
+ {
43174
+ "type": "string",
43175
+ "maxLength": 32
43176
+ },
43177
+ {
43178
+ "type": "null"
43179
+ }
43180
+ ]
43181
+ },
43182
+ "iban": {
43183
+ "anyOf": [
43184
+ {
43185
+ "type": "string",
43186
+ "maxLength": 42
43187
+ },
43188
+ {
43189
+ "type": "null"
43190
+ }
43191
+ ]
43192
+ },
43193
+ "matchNames": {
43194
+ "type": "array",
43195
+ "items": {
43196
+ "type": "string",
43197
+ "minLength": 1,
43198
+ "maxLength": 200
43199
+ }
43200
+ },
43201
+ "notes": {
43202
+ "anyOf": [
43203
+ {
43204
+ "type": "string",
43205
+ "maxLength": 2000
43206
+ },
43207
+ {
43208
+ "type": "null"
43209
+ }
43210
+ ]
43211
+ },
43212
+ "isArchived": {
43213
+ "type": "boolean"
43214
+ }
43215
+ },
43216
+ "required": [
43217
+ "name"
43218
+ ],
43219
+ "additionalProperties": false
43220
+ }
43221
+ }
43222
+ }
43223
+ },
43224
+ "security": [
43225
+ {
43226
+ "frontendBearer": []
43227
+ }
43228
+ ],
43229
+ "x-transport": "http",
43230
+ "x-permissions": [
43231
+ "bookkeeping_access"
43232
+ ]
43233
+ }
43234
+ },
43235
+ "/bookkeeping/suppliers/:id/treatments/preview": {
43236
+ "post": {
43237
+ "operationId": "suppliers_preview_treatment",
43238
+ "tags": [
43239
+ "bookkeeping",
43240
+ "suppliers"
43241
+ ],
43242
+ "summary": "Behandlung mit Gueltig-ab: Vorschau",
43243
+ "description": "Zeigt, was ein Eintrag ab validFrom bewirkt, ohne etwas zu schreiben: Belege des Lieferanten ohne eigene Behandlung (vorher/nachher), Konflikte, Steuerwirkung je Monat und UStVA-Kennzahl (46/47/66/67), gesperrte Perioden, Fremdwaehrung ohne Kursnachweis. previewHash beim Anwenden mitsenden.",
43244
+ "responses": {
43245
+ "200": {
43246
+ "description": "JSON response",
43247
+ "content": {
43248
+ "application/json": {
43249
+ "schema": {
43250
+ "type": "object",
43251
+ "properties": {
43252
+ "success": {
43253
+ "type": "boolean"
43254
+ },
43255
+ "message": {
43256
+ "anyOf": [
43257
+ {
43258
+ "type": "string"
43259
+ },
43260
+ {
43261
+ "type": "null"
43262
+ }
43263
+ ]
43264
+ },
43265
+ "code": {
43266
+ "anyOf": [
43267
+ {
43268
+ "type": "string"
43269
+ },
43270
+ {
43271
+ "type": "null"
43272
+ }
43273
+ ]
43274
+ },
43275
+ "data": {
43276
+ "anyOf": [
43277
+ {},
43278
+ {
43279
+ "type": "null"
43280
+ }
43281
+ ]
43282
+ }
43283
+ },
43284
+ "required": [
43285
+ "success",
43286
+ "data"
43287
+ ],
43288
+ "additionalProperties": false
43289
+ }
43290
+ }
43291
+ }
43292
+ }
43293
+ },
43294
+ "parameters": [
43295
+ {
43296
+ "name": "id",
43297
+ "in": "path",
43298
+ "required": true,
43299
+ "schema": {
43300
+ "type": "integer",
43301
+ "exclusiveMinimum": 0
43302
+ }
43303
+ }
43304
+ ],
43305
+ "requestBody": {
43306
+ "required": true,
43307
+ "content": {
43308
+ "application/json": {
43309
+ "schema": {
43310
+ "type": "object",
43311
+ "properties": {
43312
+ "validFrom": {
43313
+ "type": "string",
43314
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
43315
+ },
43316
+ "vatTreatment": {
43317
+ "type": "string",
43318
+ "enum": [
43319
+ "REVERSE_CHARGE_13B",
43320
+ "DE_STANDARD_19",
43321
+ "DE_REDUCED_7",
43322
+ "EXEMPT_4",
43323
+ "KLEINUNTERNEHMER_0"
43324
+ ]
43325
+ },
43326
+ "vatRate": {
43327
+ "anyOf": [
43328
+ {
43329
+ "type": "string",
43330
+ "pattern": "^\\d+(\\.\\d{1,4})?$"
43331
+ },
43332
+ {
43333
+ "type": "null"
43334
+ }
43335
+ ]
43336
+ },
43337
+ "note": {
43338
+ "anyOf": [
43339
+ {
43340
+ "type": "string",
43341
+ "maxLength": 1000
43342
+ },
43343
+ {
43344
+ "type": "null"
43345
+ }
43346
+ ]
43347
+ }
43348
+ },
43349
+ "required": [
43350
+ "validFrom",
43351
+ "vatTreatment"
43352
+ ],
43353
+ "additionalProperties": false
43354
+ }
43355
+ }
43356
+ }
43357
+ },
43358
+ "security": [
43359
+ {
43360
+ "frontendBearer": []
43361
+ }
43362
+ ],
43363
+ "x-transport": "http",
43364
+ "x-permissions": [
43365
+ "bookkeeping_access"
43366
+ ]
43367
+ }
43368
+ },
43369
+ "/bookkeeping/suppliers/:id/treatments": {
43370
+ "post": {
43371
+ "operationId": "suppliers_apply_treatment",
43372
+ "tags": [
43373
+ "bookkeeping",
43374
+ "suppliers"
43375
+ ],
43376
+ "summary": "Behandlung mit Gueltig-ab eintragen und Belege anwenden",
43377
+ "description": "Traegt die Behandlung ab validFrom ein (gleicher Tag ersetzt den alten Eintrag) und wendet sie auf die Belege in offenen Perioden an, jeden unter Audit. Behandlung am Beleg gewinnt. Gesperrte Perioden kommen als correctionNeeded zurueck, unpassende Belege als conflicts. 409 bei veralteter Vorschau.",
43378
+ "responses": {
43379
+ "200": {
43380
+ "description": "JSON response",
43381
+ "content": {
43382
+ "application/json": {
43383
+ "schema": {
43384
+ "type": "object",
43385
+ "properties": {
43386
+ "success": {
43387
+ "type": "boolean"
43388
+ },
43389
+ "message": {
43390
+ "anyOf": [
43391
+ {
43392
+ "type": "string"
43393
+ },
43394
+ {
43395
+ "type": "null"
43396
+ }
43397
+ ]
43398
+ },
43399
+ "code": {
43400
+ "anyOf": [
43401
+ {
43402
+ "type": "string"
43403
+ },
43404
+ {
43405
+ "type": "null"
43406
+ }
43407
+ ]
43408
+ },
43409
+ "data": {
43410
+ "anyOf": [
43411
+ {},
43412
+ {
43413
+ "type": "null"
43414
+ }
43415
+ ]
43416
+ }
43417
+ },
43418
+ "required": [
43419
+ "success",
43420
+ "data"
43421
+ ],
43422
+ "additionalProperties": false
43423
+ }
43424
+ }
43425
+ }
43426
+ }
43427
+ },
43428
+ "parameters": [
43429
+ {
43430
+ "name": "id",
43431
+ "in": "path",
43432
+ "required": true,
43433
+ "schema": {
43434
+ "type": "integer",
43435
+ "exclusiveMinimum": 0
43436
+ }
43437
+ }
43438
+ ],
43439
+ "requestBody": {
43440
+ "required": true,
43441
+ "content": {
43442
+ "application/json": {
43443
+ "schema": {
43444
+ "type": "object",
43445
+ "properties": {
43446
+ "validFrom": {
43447
+ "type": "string",
43448
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
43449
+ },
43450
+ "vatTreatment": {
43451
+ "type": "string",
43452
+ "enum": [
43453
+ "REVERSE_CHARGE_13B",
43454
+ "DE_STANDARD_19",
43455
+ "DE_REDUCED_7",
43456
+ "EXEMPT_4",
43457
+ "KLEINUNTERNEHMER_0"
43458
+ ]
43459
+ },
43460
+ "vatRate": {
43461
+ "anyOf": [
43462
+ {
43463
+ "type": "string",
43464
+ "pattern": "^\\d+(\\.\\d{1,4})?$"
43465
+ },
43466
+ {
43467
+ "type": "null"
43468
+ }
43469
+ ]
43470
+ },
43471
+ "note": {
43472
+ "anyOf": [
43473
+ {
43474
+ "type": "string",
43475
+ "maxLength": 1000
43476
+ },
43477
+ {
43478
+ "type": "null"
43479
+ }
43480
+ ]
43481
+ },
43482
+ "previewHash": {
43483
+ "type": "string",
43484
+ "minLength": 8,
43485
+ "maxLength": 128
43486
+ }
43487
+ },
43488
+ "required": [
43489
+ "validFrom",
43490
+ "vatTreatment",
43491
+ "previewHash"
43492
+ ],
43493
+ "additionalProperties": false
43494
+ }
43495
+ }
43496
+ }
43497
+ },
43498
+ "security": [
43499
+ {
43500
+ "frontendBearer": []
43501
+ }
43502
+ ],
43503
+ "x-transport": "http",
43504
+ "x-permissions": [
43505
+ "bookkeeping_access"
43506
+ ]
43507
+ }
43508
+ },
43509
+ "/bookkeeping/suppliers/:id/backfill/preview": {
43510
+ "post": {
43511
+ "operationId": "suppliers_preview_backfill",
43512
+ "tags": [
43513
+ "bookkeeping",
43514
+ "suppliers"
43515
+ ],
43516
+ "summary": "Altbelege nachziehen: Vorschau",
43517
+ "description": "Wendet das bestehende Profil probeweise auf Belege des Lieferanten ohne Behandlung an (und auf Profilbelege, die nicht mehr passen). Gleiche Vorschau wie beim Eintrag, ohne neuen Eintrag.",
43518
+ "responses": {
43519
+ "200": {
43520
+ "description": "JSON response",
43521
+ "content": {
43522
+ "application/json": {
43523
+ "schema": {
43524
+ "type": "object",
43525
+ "properties": {
43526
+ "success": {
43527
+ "type": "boolean"
43528
+ },
43529
+ "message": {
43530
+ "anyOf": [
43531
+ {
43532
+ "type": "string"
43533
+ },
43534
+ {
43535
+ "type": "null"
43536
+ }
43537
+ ]
43538
+ },
43539
+ "code": {
43540
+ "anyOf": [
43541
+ {
43542
+ "type": "string"
43543
+ },
43544
+ {
43545
+ "type": "null"
43546
+ }
43547
+ ]
43548
+ },
43549
+ "data": {
43550
+ "anyOf": [
43551
+ {},
43552
+ {
43553
+ "type": "null"
43554
+ }
43555
+ ]
43556
+ }
43557
+ },
43558
+ "required": [
43559
+ "success",
43560
+ "data"
43561
+ ],
43562
+ "additionalProperties": false
43563
+ }
43564
+ }
43565
+ }
43566
+ }
43567
+ },
43568
+ "parameters": [
43569
+ {
43570
+ "name": "id",
43571
+ "in": "path",
43572
+ "required": true,
43573
+ "schema": {
43574
+ "type": "integer",
43575
+ "exclusiveMinimum": 0
43576
+ }
43577
+ }
43578
+ ],
43579
+ "security": [
43580
+ {
43581
+ "frontendBearer": []
43582
+ }
43583
+ ],
43584
+ "x-transport": "http",
43585
+ "x-permissions": [
43586
+ "bookkeeping_access"
43587
+ ]
43588
+ }
43589
+ },
43590
+ "/bookkeeping/suppliers/:id/backfill": {
43591
+ "post": {
43592
+ "operationId": "suppliers_apply_backfill",
43593
+ "tags": [
43594
+ "bookkeeping",
43595
+ "suppliers"
43596
+ ],
43597
+ "summary": "Altbelege nachziehen",
43598
+ "description": "Wendet das Profil nach bestaetigter Vorschau auf die Belege an. Gesperrte Perioden bleiben unberuehrt (correctionNeeded), 409 bei veralteter Vorschau, Wiederholung ohne Wirkung.",
43599
+ "responses": {
43600
+ "200": {
43601
+ "description": "JSON response",
43602
+ "content": {
43603
+ "application/json": {
43604
+ "schema": {
43605
+ "type": "object",
43606
+ "properties": {
43607
+ "success": {
43608
+ "type": "boolean"
43609
+ },
43610
+ "message": {
43611
+ "anyOf": [
43612
+ {
43613
+ "type": "string"
43614
+ },
43615
+ {
43616
+ "type": "null"
43617
+ }
43618
+ ]
43619
+ },
43620
+ "code": {
43621
+ "anyOf": [
43622
+ {
43623
+ "type": "string"
43624
+ },
43625
+ {
43626
+ "type": "null"
43627
+ }
43628
+ ]
43629
+ },
43630
+ "data": {
43631
+ "anyOf": [
43632
+ {},
43633
+ {
43634
+ "type": "null"
43635
+ }
43636
+ ]
43637
+ }
43638
+ },
43639
+ "required": [
43640
+ "success",
43641
+ "data"
43642
+ ],
43643
+ "additionalProperties": false
43644
+ }
43645
+ }
43646
+ }
43647
+ }
43648
+ },
43649
+ "parameters": [
43650
+ {
43651
+ "name": "id",
43652
+ "in": "path",
43653
+ "required": true,
43654
+ "schema": {
43655
+ "type": "integer",
43656
+ "exclusiveMinimum": 0
43657
+ }
43658
+ }
43659
+ ],
43660
+ "requestBody": {
43661
+ "required": true,
43662
+ "content": {
43663
+ "application/json": {
43664
+ "schema": {
43665
+ "type": "object",
43666
+ "properties": {
43667
+ "previewHash": {
43668
+ "type": "string",
43669
+ "minLength": 8,
43670
+ "maxLength": 128
43671
+ }
43672
+ },
43673
+ "required": [
43674
+ "previewHash"
43675
+ ],
43676
+ "additionalProperties": false
43677
+ }
43678
+ }
43679
+ }
43680
+ },
43681
+ "security": [
43682
+ {
43683
+ "frontendBearer": []
43684
+ }
43685
+ ],
43686
+ "x-transport": "http",
43687
+ "x-permissions": [
43688
+ "bookkeeping_access"
43689
+ ]
43690
+ }
43691
+ },
43692
+ "/bookkeeping/suppliers/:id/assign": {
43693
+ "post": {
43694
+ "operationId": "suppliers_assign_expenses",
43695
+ "tags": [
43696
+ "bookkeeping",
43697
+ "suppliers"
43698
+ ],
43699
+ "summary": "Belege einem Lieferanten zuordnen",
43700
+ "description": "Ordnet bestehende Ausgaben dem Lieferanten zu (bestaetigter Vorschlag oder von Hand), mit Audit und Grund. Die Steuerbehandlung aendert sich dabei nicht; dafuer das Nachziehen.",
43701
+ "responses": {
43702
+ "200": {
43703
+ "description": "JSON response",
43704
+ "content": {
43705
+ "application/json": {
43706
+ "schema": {
43707
+ "type": "object",
43708
+ "properties": {
43709
+ "success": {
43710
+ "type": "boolean"
43711
+ },
43712
+ "message": {
43713
+ "anyOf": [
43714
+ {
43715
+ "type": "string"
43716
+ },
43717
+ {
43718
+ "type": "null"
43719
+ }
43720
+ ]
43721
+ },
43722
+ "code": {
43723
+ "anyOf": [
43724
+ {
43725
+ "type": "string"
43726
+ },
43727
+ {
43728
+ "type": "null"
43729
+ }
43730
+ ]
43731
+ },
43732
+ "data": {
43733
+ "anyOf": [
43734
+ {},
43735
+ {
43736
+ "type": "null"
43737
+ }
43738
+ ]
43739
+ }
43740
+ },
43741
+ "required": [
43742
+ "success",
43743
+ "data"
43744
+ ],
43745
+ "additionalProperties": false
43746
+ }
43747
+ }
43748
+ }
43749
+ }
43750
+ },
43751
+ "parameters": [
43752
+ {
43753
+ "name": "id",
43754
+ "in": "path",
43755
+ "required": true,
43756
+ "schema": {
43757
+ "type": "integer",
43758
+ "exclusiveMinimum": 0
43759
+ }
43760
+ }
43761
+ ],
43762
+ "requestBody": {
43763
+ "required": true,
43764
+ "content": {
43765
+ "application/json": {
43766
+ "schema": {
43767
+ "type": "object",
43768
+ "properties": {
43769
+ "expenseIds": {
43770
+ "type": "array",
43771
+ "items": {
43772
+ "type": "integer",
43773
+ "exclusiveMinimum": 0
43774
+ }
43775
+ }
43776
+ },
43777
+ "required": [
43778
+ "expenseIds"
43779
+ ],
43780
+ "additionalProperties": false
43781
+ }
43782
+ }
43783
+ }
43784
+ },
43785
+ "security": [
43786
+ {
43787
+ "frontendBearer": []
43788
+ }
43789
+ ],
43790
+ "x-transport": "http",
43791
+ "x-permissions": [
43792
+ "bookkeeping_access"
43793
+ ]
43794
+ }
43795
+ },
42696
43796
  "/tax-years/reminders": {
42697
43797
  "get": {
42698
43798
  "operationId": "tax_years_reminders",