@orvello/sdk 0.7.14 → 0.7.16
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/CONTRACT_SHA256 +1 -1
- package/dist/contract.cjs +167 -0
- package/dist/contract.cjs.map +1 -1
- package/dist/contract.d.cts +678 -2
- package/dist/contract.d.ts +678 -2
- package/dist/contract.js +167 -0
- package/dist/contract.js.map +1 -1
- package/dist/index.cjs +16 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +16 -3
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +2313 -279
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -34731,6 +34731,9 @@
|
|
|
34731
34731
|
"private": {
|
|
34732
34732
|
"type": "boolean"
|
|
34733
34733
|
},
|
|
34734
|
+
"versionCount": {
|
|
34735
|
+
"type": "number"
|
|
34736
|
+
},
|
|
34734
34737
|
"invoice": {
|
|
34735
34738
|
"anyOf": [
|
|
34736
34739
|
{
|
|
@@ -34798,6 +34801,7 @@
|
|
|
34798
34801
|
"folderId",
|
|
34799
34802
|
"archivedAt",
|
|
34800
34803
|
"private",
|
|
34804
|
+
"versionCount",
|
|
34801
34805
|
"invoice"
|
|
34802
34806
|
],
|
|
34803
34807
|
"additionalProperties": false
|
|
@@ -38656,15 +38660,14 @@
|
|
|
38656
38660
|
"x-transport": "http"
|
|
38657
38661
|
}
|
|
38658
38662
|
},
|
|
38659
|
-
"/invoices/
|
|
38663
|
+
"/invoices/:invoiceId/versions": {
|
|
38660
38664
|
"get": {
|
|
38661
|
-
"operationId": "
|
|
38665
|
+
"operationId": "invoices_versions",
|
|
38662
38666
|
"tags": [
|
|
38663
|
-
"invoices"
|
|
38664
|
-
"dunning"
|
|
38667
|
+
"invoices"
|
|
38665
38668
|
],
|
|
38666
|
-
"summary": "
|
|
38667
|
-
"description": "
|
|
38669
|
+
"summary": "Unverändertes Original, Berichtigungen und bevorzugte Anzeige",
|
|
38670
|
+
"description": "Unverändertes Original, Berichtigungen und bevorzugte Anzeige",
|
|
38668
38671
|
"responses": {
|
|
38669
38672
|
"200": {
|
|
38670
38673
|
"description": "JSON response",
|
|
@@ -38701,71 +38704,57 @@
|
|
|
38701
38704
|
{
|
|
38702
38705
|
"type": "object",
|
|
38703
38706
|
"properties": {
|
|
38704
|
-
"
|
|
38705
|
-
"
|
|
38707
|
+
"legacyDocumentId": {
|
|
38708
|
+
"anyOf": [
|
|
38709
|
+
{
|
|
38710
|
+
"type": "number"
|
|
38711
|
+
},
|
|
38712
|
+
{
|
|
38713
|
+
"type": "null"
|
|
38714
|
+
}
|
|
38715
|
+
]
|
|
38706
38716
|
},
|
|
38707
|
-
"
|
|
38717
|
+
"versions": {
|
|
38708
38718
|
"type": "array",
|
|
38709
38719
|
"items": {
|
|
38710
38720
|
"type": "object",
|
|
38711
38721
|
"properties": {
|
|
38712
|
-
"
|
|
38713
|
-
"type": "
|
|
38714
|
-
},
|
|
38715
|
-
"invoiceNumber": {
|
|
38716
|
-
"type": "string"
|
|
38717
|
-
},
|
|
38718
|
-
"status": {
|
|
38719
|
-
"type": "string"
|
|
38720
|
-
},
|
|
38721
|
-
"dueDate": {
|
|
38722
|
-
"type": "string"
|
|
38722
|
+
"id": {
|
|
38723
|
+
"type": "number"
|
|
38723
38724
|
},
|
|
38724
|
-
"
|
|
38725
|
-
"type": "
|
|
38725
|
+
"invoiceId": {
|
|
38726
|
+
"type": "number"
|
|
38726
38727
|
},
|
|
38727
|
-
"
|
|
38728
|
-
"type": "
|
|
38728
|
+
"managingCompanyId": {
|
|
38729
|
+
"type": "number"
|
|
38729
38730
|
},
|
|
38730
|
-
"
|
|
38731
|
-
"type": "
|
|
38731
|
+
"revision": {
|
|
38732
|
+
"type": "number"
|
|
38732
38733
|
},
|
|
38733
|
-
"
|
|
38734
|
-
"type": "
|
|
38734
|
+
"documentId": {
|
|
38735
|
+
"type": "number"
|
|
38735
38736
|
},
|
|
38736
|
-
"
|
|
38737
|
+
"documentNumber": {
|
|
38737
38738
|
"anyOf": [
|
|
38738
38739
|
{
|
|
38739
|
-
"type": "string"
|
|
38740
|
-
"enum": [
|
|
38741
|
-
"level0",
|
|
38742
|
-
"level1",
|
|
38743
|
-
"level2",
|
|
38744
|
-
"level3"
|
|
38745
|
-
]
|
|
38740
|
+
"type": "string"
|
|
38746
38741
|
},
|
|
38747
38742
|
{
|
|
38748
38743
|
"type": "null"
|
|
38749
38744
|
}
|
|
38750
38745
|
]
|
|
38751
38746
|
},
|
|
38752
|
-
"
|
|
38747
|
+
"structuredDocumentId": {
|
|
38753
38748
|
"anyOf": [
|
|
38754
38749
|
{
|
|
38755
|
-
"type": "
|
|
38756
|
-
"enum": [
|
|
38757
|
-
"level0",
|
|
38758
|
-
"level1",
|
|
38759
|
-
"level2",
|
|
38760
|
-
"level3"
|
|
38761
|
-
]
|
|
38750
|
+
"type": "number"
|
|
38762
38751
|
},
|
|
38763
38752
|
{
|
|
38764
38753
|
"type": "null"
|
|
38765
38754
|
}
|
|
38766
38755
|
]
|
|
38767
38756
|
},
|
|
38768
|
-
"
|
|
38757
|
+
"structuredSha256": {
|
|
38769
38758
|
"anyOf": [
|
|
38770
38759
|
{
|
|
38771
38760
|
"type": "string"
|
|
@@ -38774,28 +38763,174 @@
|
|
|
38774
38763
|
"type": "null"
|
|
38775
38764
|
}
|
|
38776
38765
|
]
|
|
38766
|
+
},
|
|
38767
|
+
"issuer": {
|
|
38768
|
+
"type": "object",
|
|
38769
|
+
"additionalProperties": {
|
|
38770
|
+
"anyOf": [
|
|
38771
|
+
{
|
|
38772
|
+
"type": "string"
|
|
38773
|
+
},
|
|
38774
|
+
{
|
|
38775
|
+
"type": "null"
|
|
38776
|
+
}
|
|
38777
|
+
]
|
|
38778
|
+
}
|
|
38779
|
+
},
|
|
38780
|
+
"sha256": {
|
|
38781
|
+
"type": "string"
|
|
38782
|
+
},
|
|
38783
|
+
"reason": {
|
|
38784
|
+
"type": "string"
|
|
38785
|
+
},
|
|
38786
|
+
"actorUserId": {
|
|
38787
|
+
"anyOf": [
|
|
38788
|
+
{
|
|
38789
|
+
"type": "number"
|
|
38790
|
+
},
|
|
38791
|
+
{
|
|
38792
|
+
"type": "null"
|
|
38793
|
+
}
|
|
38794
|
+
]
|
|
38795
|
+
},
|
|
38796
|
+
"createdAt": {
|
|
38797
|
+
"anyOf": [
|
|
38798
|
+
{
|
|
38799
|
+
"type": "string",
|
|
38800
|
+
"format": "date-time"
|
|
38801
|
+
},
|
|
38802
|
+
{
|
|
38803
|
+
"type": "string"
|
|
38804
|
+
}
|
|
38805
|
+
]
|
|
38806
|
+
},
|
|
38807
|
+
"fileName": {
|
|
38808
|
+
"type": "string"
|
|
38809
|
+
},
|
|
38810
|
+
"actorName": {
|
|
38811
|
+
"type": "string"
|
|
38812
|
+
},
|
|
38813
|
+
"deliveries": {
|
|
38814
|
+
"type": "array",
|
|
38815
|
+
"items": {
|
|
38816
|
+
"type": "object",
|
|
38817
|
+
"properties": {
|
|
38818
|
+
"id": {
|
|
38819
|
+
"type": "number"
|
|
38820
|
+
},
|
|
38821
|
+
"recipient": {
|
|
38822
|
+
"type": "string"
|
|
38823
|
+
},
|
|
38824
|
+
"status": {
|
|
38825
|
+
"type": "string"
|
|
38826
|
+
},
|
|
38827
|
+
"createdAt": {
|
|
38828
|
+
"anyOf": [
|
|
38829
|
+
{
|
|
38830
|
+
"type": "string",
|
|
38831
|
+
"format": "date-time"
|
|
38832
|
+
},
|
|
38833
|
+
{
|
|
38834
|
+
"type": "string"
|
|
38835
|
+
}
|
|
38836
|
+
]
|
|
38837
|
+
}
|
|
38838
|
+
},
|
|
38839
|
+
"required": [
|
|
38840
|
+
"id",
|
|
38841
|
+
"recipient",
|
|
38842
|
+
"status",
|
|
38843
|
+
"createdAt"
|
|
38844
|
+
],
|
|
38845
|
+
"additionalProperties": false
|
|
38846
|
+
}
|
|
38847
|
+
},
|
|
38848
|
+
"changes": {
|
|
38849
|
+
"type": "array",
|
|
38850
|
+
"items": {
|
|
38851
|
+
"type": "object",
|
|
38852
|
+
"properties": {
|
|
38853
|
+
"field": {
|
|
38854
|
+
"type": "string"
|
|
38855
|
+
},
|
|
38856
|
+
"before": {
|
|
38857
|
+
"anyOf": [
|
|
38858
|
+
{
|
|
38859
|
+
"type": "string"
|
|
38860
|
+
},
|
|
38861
|
+
{
|
|
38862
|
+
"type": "null"
|
|
38863
|
+
}
|
|
38864
|
+
]
|
|
38865
|
+
},
|
|
38866
|
+
"after": {
|
|
38867
|
+
"anyOf": [
|
|
38868
|
+
{
|
|
38869
|
+
"type": "string"
|
|
38870
|
+
},
|
|
38871
|
+
{
|
|
38872
|
+
"type": "null"
|
|
38873
|
+
}
|
|
38874
|
+
]
|
|
38875
|
+
}
|
|
38876
|
+
},
|
|
38877
|
+
"required": [
|
|
38878
|
+
"field",
|
|
38879
|
+
"before",
|
|
38880
|
+
"after"
|
|
38881
|
+
],
|
|
38882
|
+
"additionalProperties": false
|
|
38883
|
+
}
|
|
38777
38884
|
}
|
|
38778
38885
|
},
|
|
38779
38886
|
"required": [
|
|
38887
|
+
"id",
|
|
38780
38888
|
"invoiceId",
|
|
38781
|
-
"
|
|
38782
|
-
"
|
|
38783
|
-
"
|
|
38784
|
-
"
|
|
38785
|
-
"
|
|
38786
|
-
"
|
|
38787
|
-
"
|
|
38788
|
-
"
|
|
38789
|
-
"
|
|
38790
|
-
"
|
|
38889
|
+
"managingCompanyId",
|
|
38890
|
+
"revision",
|
|
38891
|
+
"documentId",
|
|
38892
|
+
"documentNumber",
|
|
38893
|
+
"structuredDocumentId",
|
|
38894
|
+
"structuredSha256",
|
|
38895
|
+
"issuer",
|
|
38896
|
+
"sha256",
|
|
38897
|
+
"reason",
|
|
38898
|
+
"actorUserId",
|
|
38899
|
+
"createdAt",
|
|
38900
|
+
"fileName",
|
|
38901
|
+
"actorName",
|
|
38902
|
+
"deliveries",
|
|
38903
|
+
"changes"
|
|
38791
38904
|
],
|
|
38792
38905
|
"additionalProperties": false
|
|
38793
38906
|
}
|
|
38907
|
+
},
|
|
38908
|
+
"preferredVersionId": {
|
|
38909
|
+
"anyOf": [
|
|
38910
|
+
{
|
|
38911
|
+
"type": "number"
|
|
38912
|
+
},
|
|
38913
|
+
{
|
|
38914
|
+
"type": "null"
|
|
38915
|
+
}
|
|
38916
|
+
]
|
|
38917
|
+
},
|
|
38918
|
+
"effectiveVersionId": {
|
|
38919
|
+
"anyOf": [
|
|
38920
|
+
{
|
|
38921
|
+
"type": "number"
|
|
38922
|
+
},
|
|
38923
|
+
{
|
|
38924
|
+
"type": "null"
|
|
38925
|
+
}
|
|
38926
|
+
]
|
|
38794
38927
|
}
|
|
38795
38928
|
},
|
|
38796
38929
|
"required": [
|
|
38797
|
-
"
|
|
38798
|
-
"
|
|
38930
|
+
"legacyDocumentId",
|
|
38931
|
+
"versions",
|
|
38932
|
+
"preferredVersionId",
|
|
38933
|
+
"effectiveVersionId"
|
|
38799
38934
|
],
|
|
38800
38935
|
"additionalProperties": false
|
|
38801
38936
|
},
|
|
@@ -38817,21 +38952,21 @@
|
|
|
38817
38952
|
},
|
|
38818
38953
|
"parameters": [
|
|
38819
38954
|
{
|
|
38820
|
-
"name": "
|
|
38821
|
-
"in": "
|
|
38822
|
-
"required":
|
|
38955
|
+
"name": "invoiceId",
|
|
38956
|
+
"in": "path",
|
|
38957
|
+
"required": true,
|
|
38823
38958
|
"schema": {
|
|
38824
|
-
"type": "
|
|
38959
|
+
"type": "integer",
|
|
38960
|
+
"exclusiveMinimum": 0
|
|
38825
38961
|
}
|
|
38826
38962
|
},
|
|
38827
38963
|
{
|
|
38828
|
-
"name": "
|
|
38964
|
+
"name": "companyId",
|
|
38829
38965
|
"in": "query",
|
|
38830
|
-
"required":
|
|
38966
|
+
"required": true,
|
|
38831
38967
|
"schema": {
|
|
38832
38968
|
"type": "integer",
|
|
38833
|
-
"
|
|
38834
|
-
"maximum": 200
|
|
38969
|
+
"exclusiveMinimum": 0
|
|
38835
38970
|
}
|
|
38836
38971
|
}
|
|
38837
38972
|
],
|
|
@@ -38840,21 +38975,17 @@
|
|
|
38840
38975
|
"frontendBearer": []
|
|
38841
38976
|
}
|
|
38842
38977
|
],
|
|
38843
|
-
"x-transport": "http"
|
|
38844
|
-
"x-permissions": [
|
|
38845
|
-
"bookkeeping_access"
|
|
38846
|
-
]
|
|
38978
|
+
"x-transport": "http"
|
|
38847
38979
|
}
|
|
38848
38980
|
},
|
|
38849
|
-
"/invoices
|
|
38850
|
-
"
|
|
38851
|
-
"operationId": "
|
|
38981
|
+
"/invoices/:invoiceId/versions/evidence": {
|
|
38982
|
+
"post": {
|
|
38983
|
+
"operationId": "invoices_issuer_evidence",
|
|
38852
38984
|
"tags": [
|
|
38853
|
-
"invoices"
|
|
38854
|
-
"dunning"
|
|
38985
|
+
"invoices"
|
|
38855
38986
|
],
|
|
38856
|
-
"summary": "
|
|
38857
|
-
"description": "
|
|
38987
|
+
"summary": "Historische Ausstellerangaben am Original manuell belegen",
|
|
38988
|
+
"description": "Historische Ausstellerangaben am Original manuell belegen",
|
|
38858
38989
|
"responses": {
|
|
38859
38990
|
"200": {
|
|
38860
38991
|
"description": "JSON response",
|
|
@@ -38891,24 +39022,1480 @@
|
|
|
38891
39022
|
{
|
|
38892
39023
|
"type": "object",
|
|
38893
39024
|
"properties": {
|
|
38894
|
-
"
|
|
38895
|
-
"type": "integer"
|
|
38896
|
-
|
|
38897
|
-
|
|
38898
|
-
|
|
38899
|
-
|
|
38900
|
-
|
|
38901
|
-
|
|
38902
|
-
|
|
38903
|
-
|
|
38904
|
-
|
|
38905
|
-
|
|
38906
|
-
|
|
38907
|
-
|
|
38908
|
-
|
|
38909
|
-
|
|
38910
|
-
|
|
38911
|
-
|
|
39025
|
+
"versionId": {
|
|
39026
|
+
"type": "integer",
|
|
39027
|
+
"exclusiveMinimum": 0
|
|
39028
|
+
}
|
|
39029
|
+
},
|
|
39030
|
+
"required": [
|
|
39031
|
+
"versionId"
|
|
39032
|
+
],
|
|
39033
|
+
"additionalProperties": false
|
|
39034
|
+
},
|
|
39035
|
+
{
|
|
39036
|
+
"type": "null"
|
|
39037
|
+
}
|
|
39038
|
+
]
|
|
39039
|
+
}
|
|
39040
|
+
},
|
|
39041
|
+
"required": [
|
|
39042
|
+
"success",
|
|
39043
|
+
"data"
|
|
39044
|
+
],
|
|
39045
|
+
"additionalProperties": false
|
|
39046
|
+
}
|
|
39047
|
+
}
|
|
39048
|
+
}
|
|
39049
|
+
}
|
|
39050
|
+
},
|
|
39051
|
+
"parameters": [
|
|
39052
|
+
{
|
|
39053
|
+
"name": "invoiceId",
|
|
39054
|
+
"in": "path",
|
|
39055
|
+
"required": true,
|
|
39056
|
+
"schema": {
|
|
39057
|
+
"type": "integer",
|
|
39058
|
+
"exclusiveMinimum": 0
|
|
39059
|
+
}
|
|
39060
|
+
},
|
|
39061
|
+
{
|
|
39062
|
+
"name": "companyId",
|
|
39063
|
+
"in": "query",
|
|
39064
|
+
"required": true,
|
|
39065
|
+
"schema": {
|
|
39066
|
+
"type": "integer",
|
|
39067
|
+
"exclusiveMinimum": 0
|
|
39068
|
+
}
|
|
39069
|
+
}
|
|
39070
|
+
],
|
|
39071
|
+
"requestBody": {
|
|
39072
|
+
"required": true,
|
|
39073
|
+
"content": {
|
|
39074
|
+
"application/json": {
|
|
39075
|
+
"schema": {
|
|
39076
|
+
"type": "object",
|
|
39077
|
+
"properties": {
|
|
39078
|
+
"documentId": {
|
|
39079
|
+
"type": "integer",
|
|
39080
|
+
"exclusiveMinimum": 0
|
|
39081
|
+
},
|
|
39082
|
+
"companyName": {
|
|
39083
|
+
"type": "string",
|
|
39084
|
+
"minLength": 1,
|
|
39085
|
+
"maxLength": 200
|
|
39086
|
+
},
|
|
39087
|
+
"street": {
|
|
39088
|
+
"type": "string",
|
|
39089
|
+
"minLength": 1,
|
|
39090
|
+
"maxLength": 200
|
|
39091
|
+
},
|
|
39092
|
+
"streetNr": {
|
|
39093
|
+
"type": "string",
|
|
39094
|
+
"maxLength": 30
|
|
39095
|
+
},
|
|
39096
|
+
"zip": {
|
|
39097
|
+
"type": "string",
|
|
39098
|
+
"minLength": 1,
|
|
39099
|
+
"maxLength": 30
|
|
39100
|
+
},
|
|
39101
|
+
"city": {
|
|
39102
|
+
"type": "string",
|
|
39103
|
+
"minLength": 1,
|
|
39104
|
+
"maxLength": 100
|
|
39105
|
+
},
|
|
39106
|
+
"country": {
|
|
39107
|
+
"type": "string",
|
|
39108
|
+
"minLength": 1,
|
|
39109
|
+
"maxLength": 100
|
|
39110
|
+
},
|
|
39111
|
+
"taxId": {
|
|
39112
|
+
"type": "string",
|
|
39113
|
+
"minLength": 1,
|
|
39114
|
+
"maxLength": 50
|
|
39115
|
+
},
|
|
39116
|
+
"reason": {
|
|
39117
|
+
"type": "string",
|
|
39118
|
+
"minLength": 10,
|
|
39119
|
+
"maxLength": 1000
|
|
39120
|
+
},
|
|
39121
|
+
"confirmsOriginalInspected": {
|
|
39122
|
+
"const": true
|
|
39123
|
+
}
|
|
39124
|
+
},
|
|
39125
|
+
"required": [
|
|
39126
|
+
"documentId",
|
|
39127
|
+
"companyName",
|
|
39128
|
+
"street",
|
|
39129
|
+
"streetNr",
|
|
39130
|
+
"zip",
|
|
39131
|
+
"city",
|
|
39132
|
+
"country",
|
|
39133
|
+
"taxId",
|
|
39134
|
+
"reason",
|
|
39135
|
+
"confirmsOriginalInspected"
|
|
39136
|
+
],
|
|
39137
|
+
"additionalProperties": false
|
|
39138
|
+
}
|
|
39139
|
+
}
|
|
39140
|
+
}
|
|
39141
|
+
},
|
|
39142
|
+
"security": [
|
|
39143
|
+
{
|
|
39144
|
+
"frontendBearer": []
|
|
39145
|
+
}
|
|
39146
|
+
],
|
|
39147
|
+
"x-transport": "http"
|
|
39148
|
+
}
|
|
39149
|
+
},
|
|
39150
|
+
"/invoices/:invoiceId/versions/:versionId/send": {
|
|
39151
|
+
"post": {
|
|
39152
|
+
"operationId": "invoices_versions_send",
|
|
39153
|
+
"tags": [
|
|
39154
|
+
"invoices"
|
|
39155
|
+
],
|
|
39156
|
+
"summary": "Original und gewählte Berichtigungsfassung mit ausdrücklichem Versandauftrag zustellen",
|
|
39157
|
+
"description": "Original und gewählte Berichtigungsfassung mit ausdrücklichem Versandauftrag zustellen",
|
|
39158
|
+
"responses": {
|
|
39159
|
+
"200": {
|
|
39160
|
+
"description": "JSON response",
|
|
39161
|
+
"content": {
|
|
39162
|
+
"application/json": {
|
|
39163
|
+
"schema": {
|
|
39164
|
+
"type": "object",
|
|
39165
|
+
"properties": {
|
|
39166
|
+
"success": {
|
|
39167
|
+
"type": "boolean"
|
|
39168
|
+
},
|
|
39169
|
+
"message": {
|
|
39170
|
+
"anyOf": [
|
|
39171
|
+
{
|
|
39172
|
+
"type": "string"
|
|
39173
|
+
},
|
|
39174
|
+
{
|
|
39175
|
+
"type": "null"
|
|
39176
|
+
}
|
|
39177
|
+
]
|
|
39178
|
+
},
|
|
39179
|
+
"code": {
|
|
39180
|
+
"anyOf": [
|
|
39181
|
+
{
|
|
39182
|
+
"type": "string"
|
|
39183
|
+
},
|
|
39184
|
+
{
|
|
39185
|
+
"type": "null"
|
|
39186
|
+
}
|
|
39187
|
+
]
|
|
39188
|
+
},
|
|
39189
|
+
"data": {
|
|
39190
|
+
"anyOf": [
|
|
39191
|
+
{
|
|
39192
|
+
"type": "object",
|
|
39193
|
+
"properties": {
|
|
39194
|
+
"id": {
|
|
39195
|
+
"type": "number"
|
|
39196
|
+
},
|
|
39197
|
+
"status": {
|
|
39198
|
+
"type": "string"
|
|
39199
|
+
}
|
|
39200
|
+
},
|
|
39201
|
+
"required": [
|
|
39202
|
+
"id",
|
|
39203
|
+
"status"
|
|
39204
|
+
],
|
|
39205
|
+
"additionalProperties": false
|
|
39206
|
+
},
|
|
39207
|
+
{
|
|
39208
|
+
"type": "null"
|
|
39209
|
+
}
|
|
39210
|
+
]
|
|
39211
|
+
}
|
|
39212
|
+
},
|
|
39213
|
+
"required": [
|
|
39214
|
+
"success",
|
|
39215
|
+
"data"
|
|
39216
|
+
],
|
|
39217
|
+
"additionalProperties": false
|
|
39218
|
+
}
|
|
39219
|
+
}
|
|
39220
|
+
}
|
|
39221
|
+
}
|
|
39222
|
+
},
|
|
39223
|
+
"parameters": [
|
|
39224
|
+
{
|
|
39225
|
+
"name": "invoiceId",
|
|
39226
|
+
"in": "path",
|
|
39227
|
+
"required": true,
|
|
39228
|
+
"schema": {
|
|
39229
|
+
"type": "integer",
|
|
39230
|
+
"exclusiveMinimum": 0
|
|
39231
|
+
}
|
|
39232
|
+
},
|
|
39233
|
+
{
|
|
39234
|
+
"name": "versionId",
|
|
39235
|
+
"in": "path",
|
|
39236
|
+
"required": true,
|
|
39237
|
+
"schema": {
|
|
39238
|
+
"type": "integer",
|
|
39239
|
+
"exclusiveMinimum": 0
|
|
39240
|
+
}
|
|
39241
|
+
},
|
|
39242
|
+
{
|
|
39243
|
+
"name": "companyId",
|
|
39244
|
+
"in": "query",
|
|
39245
|
+
"required": true,
|
|
39246
|
+
"schema": {
|
|
39247
|
+
"type": "integer",
|
|
39248
|
+
"exclusiveMinimum": 0
|
|
39249
|
+
}
|
|
39250
|
+
}
|
|
39251
|
+
],
|
|
39252
|
+
"requestBody": {
|
|
39253
|
+
"required": true,
|
|
39254
|
+
"content": {
|
|
39255
|
+
"application/json": {
|
|
39256
|
+
"schema": {
|
|
39257
|
+
"type": "object",
|
|
39258
|
+
"properties": {
|
|
39259
|
+
"requestId": {
|
|
39260
|
+
"type": "string"
|
|
39261
|
+
},
|
|
39262
|
+
"to": {
|
|
39263
|
+
"type": "string",
|
|
39264
|
+
"format": "email",
|
|
39265
|
+
"maxLength": 254
|
|
39266
|
+
},
|
|
39267
|
+
"subject": {
|
|
39268
|
+
"type": "string",
|
|
39269
|
+
"minLength": 1,
|
|
39270
|
+
"maxLength": 200,
|
|
39271
|
+
"pattern": "^[^\\r\\n]+$"
|
|
39272
|
+
},
|
|
39273
|
+
"message": {
|
|
39274
|
+
"type": "string",
|
|
39275
|
+
"minLength": 1,
|
|
39276
|
+
"maxLength": 10000
|
|
39277
|
+
}
|
|
39278
|
+
},
|
|
39279
|
+
"required": [
|
|
39280
|
+
"requestId",
|
|
39281
|
+
"to",
|
|
39282
|
+
"subject",
|
|
39283
|
+
"message"
|
|
39284
|
+
],
|
|
39285
|
+
"additionalProperties": false
|
|
39286
|
+
}
|
|
39287
|
+
}
|
|
39288
|
+
}
|
|
39289
|
+
},
|
|
39290
|
+
"security": [
|
|
39291
|
+
{
|
|
39292
|
+
"frontendBearer": []
|
|
39293
|
+
}
|
|
39294
|
+
],
|
|
39295
|
+
"x-transport": "http",
|
|
39296
|
+
"x-permissions": [
|
|
39297
|
+
"documents_manage"
|
|
39298
|
+
]
|
|
39299
|
+
}
|
|
39300
|
+
},
|
|
39301
|
+
"/invoices/:invoiceId/versions/preferred": {
|
|
39302
|
+
"post": {
|
|
39303
|
+
"operationId": "invoices_versions_prefer",
|
|
39304
|
+
"tags": [
|
|
39305
|
+
"invoices"
|
|
39306
|
+
],
|
|
39307
|
+
"summary": "Bevorzugte Anzeige wählen; rechtliche Berichtigungskette bleibt erhalten",
|
|
39308
|
+
"description": "Bevorzugte Anzeige wählen; rechtliche Berichtigungskette bleibt erhalten",
|
|
39309
|
+
"responses": {
|
|
39310
|
+
"200": {
|
|
39311
|
+
"description": "JSON response",
|
|
39312
|
+
"content": {
|
|
39313
|
+
"application/json": {
|
|
39314
|
+
"schema": {
|
|
39315
|
+
"type": "object",
|
|
39316
|
+
"properties": {
|
|
39317
|
+
"success": {
|
|
39318
|
+
"type": "boolean"
|
|
39319
|
+
},
|
|
39320
|
+
"message": {
|
|
39321
|
+
"anyOf": [
|
|
39322
|
+
{
|
|
39323
|
+
"type": "string"
|
|
39324
|
+
},
|
|
39325
|
+
{
|
|
39326
|
+
"type": "null"
|
|
39327
|
+
}
|
|
39328
|
+
]
|
|
39329
|
+
},
|
|
39330
|
+
"code": {
|
|
39331
|
+
"anyOf": [
|
|
39332
|
+
{
|
|
39333
|
+
"type": "string"
|
|
39334
|
+
},
|
|
39335
|
+
{
|
|
39336
|
+
"type": "null"
|
|
39337
|
+
}
|
|
39338
|
+
]
|
|
39339
|
+
},
|
|
39340
|
+
"data": {
|
|
39341
|
+
"anyOf": [
|
|
39342
|
+
{
|
|
39343
|
+
"type": "object",
|
|
39344
|
+
"properties": {
|
|
39345
|
+
"versionId": {
|
|
39346
|
+
"type": "integer",
|
|
39347
|
+
"exclusiveMinimum": 0
|
|
39348
|
+
}
|
|
39349
|
+
},
|
|
39350
|
+
"required": [
|
|
39351
|
+
"versionId"
|
|
39352
|
+
],
|
|
39353
|
+
"additionalProperties": false
|
|
39354
|
+
},
|
|
39355
|
+
{
|
|
39356
|
+
"type": "null"
|
|
39357
|
+
}
|
|
39358
|
+
]
|
|
39359
|
+
}
|
|
39360
|
+
},
|
|
39361
|
+
"required": [
|
|
39362
|
+
"success",
|
|
39363
|
+
"data"
|
|
39364
|
+
],
|
|
39365
|
+
"additionalProperties": false
|
|
39366
|
+
}
|
|
39367
|
+
}
|
|
39368
|
+
}
|
|
39369
|
+
}
|
|
39370
|
+
},
|
|
39371
|
+
"parameters": [
|
|
39372
|
+
{
|
|
39373
|
+
"name": "invoiceId",
|
|
39374
|
+
"in": "path",
|
|
39375
|
+
"required": true,
|
|
39376
|
+
"schema": {
|
|
39377
|
+
"type": "integer",
|
|
39378
|
+
"exclusiveMinimum": 0
|
|
39379
|
+
}
|
|
39380
|
+
},
|
|
39381
|
+
{
|
|
39382
|
+
"name": "companyId",
|
|
39383
|
+
"in": "query",
|
|
39384
|
+
"required": true,
|
|
39385
|
+
"schema": {
|
|
39386
|
+
"type": "integer",
|
|
39387
|
+
"exclusiveMinimum": 0
|
|
39388
|
+
}
|
|
39389
|
+
}
|
|
39390
|
+
],
|
|
39391
|
+
"requestBody": {
|
|
39392
|
+
"required": true,
|
|
39393
|
+
"content": {
|
|
39394
|
+
"application/json": {
|
|
39395
|
+
"schema": {
|
|
39396
|
+
"type": "object",
|
|
39397
|
+
"properties": {
|
|
39398
|
+
"versionId": {
|
|
39399
|
+
"type": "integer",
|
|
39400
|
+
"exclusiveMinimum": 0
|
|
39401
|
+
}
|
|
39402
|
+
},
|
|
39403
|
+
"required": [
|
|
39404
|
+
"versionId"
|
|
39405
|
+
],
|
|
39406
|
+
"additionalProperties": false
|
|
39407
|
+
}
|
|
39408
|
+
}
|
|
39409
|
+
}
|
|
39410
|
+
},
|
|
39411
|
+
"security": [
|
|
39412
|
+
{
|
|
39413
|
+
"frontendBearer": []
|
|
39414
|
+
}
|
|
39415
|
+
],
|
|
39416
|
+
"x-transport": "http"
|
|
39417
|
+
}
|
|
39418
|
+
},
|
|
39419
|
+
"/invoices/issuer-corrections/preview": {
|
|
39420
|
+
"post": {
|
|
39421
|
+
"operationId": "invoices_issuer_preview",
|
|
39422
|
+
"tags": [
|
|
39423
|
+
"invoices"
|
|
39424
|
+
],
|
|
39425
|
+
"summary": "Steuernummer-Berichtigung anhand veröffentlichter Ausstellerdaten prüfen",
|
|
39426
|
+
"description": "Steuernummer-Berichtigung anhand veröffentlichter Ausstellerdaten prüfen",
|
|
39427
|
+
"responses": {
|
|
39428
|
+
"200": {
|
|
39429
|
+
"description": "JSON response",
|
|
39430
|
+
"content": {
|
|
39431
|
+
"application/json": {
|
|
39432
|
+
"schema": {
|
|
39433
|
+
"type": "object",
|
|
39434
|
+
"properties": {
|
|
39435
|
+
"success": {
|
|
39436
|
+
"type": "boolean"
|
|
39437
|
+
},
|
|
39438
|
+
"message": {
|
|
39439
|
+
"anyOf": [
|
|
39440
|
+
{
|
|
39441
|
+
"type": "string"
|
|
39442
|
+
},
|
|
39443
|
+
{
|
|
39444
|
+
"type": "null"
|
|
39445
|
+
}
|
|
39446
|
+
]
|
|
39447
|
+
},
|
|
39448
|
+
"code": {
|
|
39449
|
+
"anyOf": [
|
|
39450
|
+
{
|
|
39451
|
+
"type": "string"
|
|
39452
|
+
},
|
|
39453
|
+
{
|
|
39454
|
+
"type": "null"
|
|
39455
|
+
}
|
|
39456
|
+
]
|
|
39457
|
+
},
|
|
39458
|
+
"data": {
|
|
39459
|
+
"anyOf": [
|
|
39460
|
+
{
|
|
39461
|
+
"type": "object",
|
|
39462
|
+
"properties": {
|
|
39463
|
+
"dateBasis": {
|
|
39464
|
+
"type": "string"
|
|
39465
|
+
},
|
|
39466
|
+
"results": {
|
|
39467
|
+
"type": "array",
|
|
39468
|
+
"items": {
|
|
39469
|
+
"type": "object",
|
|
39470
|
+
"properties": {
|
|
39471
|
+
"invoiceId": {
|
|
39472
|
+
"type": "number"
|
|
39473
|
+
},
|
|
39474
|
+
"invoiceNumber": {
|
|
39475
|
+
"type": "string"
|
|
39476
|
+
},
|
|
39477
|
+
"status": {
|
|
39478
|
+
"type": "string"
|
|
39479
|
+
},
|
|
39480
|
+
"invoiceDate": {
|
|
39481
|
+
"anyOf": [
|
|
39482
|
+
{
|
|
39483
|
+
"type": "string",
|
|
39484
|
+
"format": "date-time"
|
|
39485
|
+
},
|
|
39486
|
+
{
|
|
39487
|
+
"type": "string"
|
|
39488
|
+
}
|
|
39489
|
+
]
|
|
39490
|
+
},
|
|
39491
|
+
"original": {
|
|
39492
|
+
"anyOf": [
|
|
39493
|
+
{
|
|
39494
|
+
"type": "string"
|
|
39495
|
+
},
|
|
39496
|
+
{
|
|
39497
|
+
"type": "null"
|
|
39498
|
+
}
|
|
39499
|
+
]
|
|
39500
|
+
},
|
|
39501
|
+
"replacement": {
|
|
39502
|
+
"type": "string"
|
|
39503
|
+
},
|
|
39504
|
+
"formatNotes": {
|
|
39505
|
+
"type": "array",
|
|
39506
|
+
"items": {
|
|
39507
|
+
"type": "string"
|
|
39508
|
+
}
|
|
39509
|
+
},
|
|
39510
|
+
"archived": {
|
|
39511
|
+
"type": "boolean"
|
|
39512
|
+
},
|
|
39513
|
+
"revision": {
|
|
39514
|
+
"anyOf": [
|
|
39515
|
+
{
|
|
39516
|
+
"type": "number"
|
|
39517
|
+
},
|
|
39518
|
+
{
|
|
39519
|
+
"type": "null"
|
|
39520
|
+
}
|
|
39521
|
+
]
|
|
39522
|
+
},
|
|
39523
|
+
"format": {
|
|
39524
|
+
"type": "string",
|
|
39525
|
+
"enum": [
|
|
39526
|
+
"pdf",
|
|
39527
|
+
"cii"
|
|
39528
|
+
]
|
|
39529
|
+
},
|
|
39530
|
+
"exclusion": {
|
|
39531
|
+
"anyOf": [
|
|
39532
|
+
{
|
|
39533
|
+
"type": "string"
|
|
39534
|
+
},
|
|
39535
|
+
{
|
|
39536
|
+
"type": "null"
|
|
39537
|
+
}
|
|
39538
|
+
]
|
|
39539
|
+
},
|
|
39540
|
+
"expectedHash": {
|
|
39541
|
+
"anyOf": [
|
|
39542
|
+
{
|
|
39543
|
+
"type": "string"
|
|
39544
|
+
},
|
|
39545
|
+
{
|
|
39546
|
+
"type": "null"
|
|
39547
|
+
}
|
|
39548
|
+
]
|
|
39549
|
+
}
|
|
39550
|
+
},
|
|
39551
|
+
"required": [
|
|
39552
|
+
"invoiceId",
|
|
39553
|
+
"invoiceNumber",
|
|
39554
|
+
"status",
|
|
39555
|
+
"invoiceDate",
|
|
39556
|
+
"original",
|
|
39557
|
+
"replacement",
|
|
39558
|
+
"formatNotes",
|
|
39559
|
+
"archived",
|
|
39560
|
+
"revision",
|
|
39561
|
+
"format",
|
|
39562
|
+
"exclusion",
|
|
39563
|
+
"expectedHash"
|
|
39564
|
+
],
|
|
39565
|
+
"additionalProperties": false
|
|
39566
|
+
}
|
|
39567
|
+
}
|
|
39568
|
+
},
|
|
39569
|
+
"required": [
|
|
39570
|
+
"dateBasis",
|
|
39571
|
+
"results"
|
|
39572
|
+
],
|
|
39573
|
+
"additionalProperties": false
|
|
39574
|
+
},
|
|
39575
|
+
{
|
|
39576
|
+
"type": "null"
|
|
39577
|
+
}
|
|
39578
|
+
]
|
|
39579
|
+
}
|
|
39580
|
+
},
|
|
39581
|
+
"required": [
|
|
39582
|
+
"success",
|
|
39583
|
+
"data"
|
|
39584
|
+
],
|
|
39585
|
+
"additionalProperties": false
|
|
39586
|
+
}
|
|
39587
|
+
}
|
|
39588
|
+
}
|
|
39589
|
+
}
|
|
39590
|
+
},
|
|
39591
|
+
"parameters": [
|
|
39592
|
+
{
|
|
39593
|
+
"name": "companyId",
|
|
39594
|
+
"in": "query",
|
|
39595
|
+
"required": true,
|
|
39596
|
+
"schema": {
|
|
39597
|
+
"type": "integer",
|
|
39598
|
+
"exclusiveMinimum": 0
|
|
39599
|
+
}
|
|
39600
|
+
}
|
|
39601
|
+
],
|
|
39602
|
+
"requestBody": {
|
|
39603
|
+
"required": true,
|
|
39604
|
+
"content": {
|
|
39605
|
+
"application/json": {
|
|
39606
|
+
"schema": {
|
|
39607
|
+
"type": "object",
|
|
39608
|
+
"properties": {
|
|
39609
|
+
"from": {
|
|
39610
|
+
"type": "string",
|
|
39611
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
39612
|
+
},
|
|
39613
|
+
"through": {
|
|
39614
|
+
"type": "string",
|
|
39615
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
39616
|
+
},
|
|
39617
|
+
"original": {
|
|
39618
|
+
"type": "string",
|
|
39619
|
+
"minLength": 1,
|
|
39620
|
+
"maxLength": 50
|
|
39621
|
+
},
|
|
39622
|
+
"replacement": {
|
|
39623
|
+
"type": "string",
|
|
39624
|
+
"minLength": 1,
|
|
39625
|
+
"maxLength": 50,
|
|
39626
|
+
"pattern": "^[0-9 /-]+$"
|
|
39627
|
+
}
|
|
39628
|
+
},
|
|
39629
|
+
"required": [
|
|
39630
|
+
"from",
|
|
39631
|
+
"through",
|
|
39632
|
+
"original",
|
|
39633
|
+
"replacement"
|
|
39634
|
+
],
|
|
39635
|
+
"additionalProperties": false
|
|
39636
|
+
}
|
|
39637
|
+
}
|
|
39638
|
+
}
|
|
39639
|
+
},
|
|
39640
|
+
"security": [
|
|
39641
|
+
{
|
|
39642
|
+
"frontendBearer": []
|
|
39643
|
+
}
|
|
39644
|
+
],
|
|
39645
|
+
"x-transport": "http"
|
|
39646
|
+
}
|
|
39647
|
+
},
|
|
39648
|
+
"/invoices/issuer-corrections/runs": {
|
|
39649
|
+
"post": {
|
|
39650
|
+
"operationId": "invoices_issuer_start",
|
|
39651
|
+
"tags": [
|
|
39652
|
+
"invoices"
|
|
39653
|
+
],
|
|
39654
|
+
"summary": "Geprüfte PDF- oder CII-Steuernummer-Berichtigung ohne automatische Zustellung starten",
|
|
39655
|
+
"description": "Geprüfte PDF- oder CII-Steuernummer-Berichtigung ohne automatische Zustellung starten",
|
|
39656
|
+
"responses": {
|
|
39657
|
+
"200": {
|
|
39658
|
+
"description": "JSON response",
|
|
39659
|
+
"content": {
|
|
39660
|
+
"application/json": {
|
|
39661
|
+
"schema": {
|
|
39662
|
+
"type": "object",
|
|
39663
|
+
"properties": {
|
|
39664
|
+
"success": {
|
|
39665
|
+
"type": "boolean"
|
|
39666
|
+
},
|
|
39667
|
+
"message": {
|
|
39668
|
+
"anyOf": [
|
|
39669
|
+
{
|
|
39670
|
+
"type": "string"
|
|
39671
|
+
},
|
|
39672
|
+
{
|
|
39673
|
+
"type": "null"
|
|
39674
|
+
}
|
|
39675
|
+
]
|
|
39676
|
+
},
|
|
39677
|
+
"code": {
|
|
39678
|
+
"anyOf": [
|
|
39679
|
+
{
|
|
39680
|
+
"type": "string"
|
|
39681
|
+
},
|
|
39682
|
+
{
|
|
39683
|
+
"type": "null"
|
|
39684
|
+
}
|
|
39685
|
+
]
|
|
39686
|
+
},
|
|
39687
|
+
"data": {
|
|
39688
|
+
"anyOf": [
|
|
39689
|
+
{
|
|
39690
|
+
"type": "object",
|
|
39691
|
+
"properties": {
|
|
39692
|
+
"runId": {
|
|
39693
|
+
"type": "number"
|
|
39694
|
+
}
|
|
39695
|
+
},
|
|
39696
|
+
"required": [
|
|
39697
|
+
"runId"
|
|
39698
|
+
],
|
|
39699
|
+
"additionalProperties": false
|
|
39700
|
+
},
|
|
39701
|
+
{
|
|
39702
|
+
"type": "null"
|
|
39703
|
+
}
|
|
39704
|
+
]
|
|
39705
|
+
}
|
|
39706
|
+
},
|
|
39707
|
+
"required": [
|
|
39708
|
+
"success",
|
|
39709
|
+
"data"
|
|
39710
|
+
],
|
|
39711
|
+
"additionalProperties": false
|
|
39712
|
+
}
|
|
39713
|
+
}
|
|
39714
|
+
}
|
|
39715
|
+
}
|
|
39716
|
+
},
|
|
39717
|
+
"parameters": [
|
|
39718
|
+
{
|
|
39719
|
+
"name": "companyId",
|
|
39720
|
+
"in": "query",
|
|
39721
|
+
"required": true,
|
|
39722
|
+
"schema": {
|
|
39723
|
+
"type": "integer",
|
|
39724
|
+
"exclusiveMinimum": 0
|
|
39725
|
+
}
|
|
39726
|
+
}
|
|
39727
|
+
],
|
|
39728
|
+
"requestBody": {
|
|
39729
|
+
"required": true,
|
|
39730
|
+
"content": {
|
|
39731
|
+
"application/json": {
|
|
39732
|
+
"schema": {
|
|
39733
|
+
"type": "object",
|
|
39734
|
+
"properties": {
|
|
39735
|
+
"requestKey": {
|
|
39736
|
+
"type": "string"
|
|
39737
|
+
},
|
|
39738
|
+
"replacement": {
|
|
39739
|
+
"type": "string",
|
|
39740
|
+
"minLength": 1,
|
|
39741
|
+
"maxLength": 50,
|
|
39742
|
+
"pattern": "^[0-9 /-]+$"
|
|
39743
|
+
},
|
|
39744
|
+
"reason": {
|
|
39745
|
+
"type": "string",
|
|
39746
|
+
"minLength": 10,
|
|
39747
|
+
"maxLength": 1000
|
|
39748
|
+
},
|
|
39749
|
+
"confirmsHistoricalError": {
|
|
39750
|
+
"const": true
|
|
39751
|
+
},
|
|
39752
|
+
"confirmsPdfFormPermitted": {
|
|
39753
|
+
"type": "boolean"
|
|
39754
|
+
},
|
|
39755
|
+
"items": {
|
|
39756
|
+
"type": "array",
|
|
39757
|
+
"items": {
|
|
39758
|
+
"type": "object",
|
|
39759
|
+
"properties": {
|
|
39760
|
+
"invoiceId": {
|
|
39761
|
+
"type": "integer",
|
|
39762
|
+
"exclusiveMinimum": 0
|
|
39763
|
+
},
|
|
39764
|
+
"expectedHash": {
|
|
39765
|
+
"type": "string",
|
|
39766
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
39767
|
+
}
|
|
39768
|
+
},
|
|
39769
|
+
"required": [
|
|
39770
|
+
"invoiceId",
|
|
39771
|
+
"expectedHash"
|
|
39772
|
+
],
|
|
39773
|
+
"additionalProperties": false
|
|
39774
|
+
}
|
|
39775
|
+
}
|
|
39776
|
+
},
|
|
39777
|
+
"required": [
|
|
39778
|
+
"requestKey",
|
|
39779
|
+
"replacement",
|
|
39780
|
+
"reason",
|
|
39781
|
+
"confirmsHistoricalError",
|
|
39782
|
+
"confirmsPdfFormPermitted",
|
|
39783
|
+
"items"
|
|
39784
|
+
],
|
|
39785
|
+
"additionalProperties": false
|
|
39786
|
+
}
|
|
39787
|
+
}
|
|
39788
|
+
}
|
|
39789
|
+
},
|
|
39790
|
+
"security": [
|
|
39791
|
+
{
|
|
39792
|
+
"frontendBearer": []
|
|
39793
|
+
}
|
|
39794
|
+
],
|
|
39795
|
+
"x-transport": "http"
|
|
39796
|
+
},
|
|
39797
|
+
"get": {
|
|
39798
|
+
"operationId": "invoices_issuer_runs",
|
|
39799
|
+
"tags": [
|
|
39800
|
+
"invoices"
|
|
39801
|
+
],
|
|
39802
|
+
"summary": "Eigene gespeicherte Berichtigungsläufe wiederfinden",
|
|
39803
|
+
"description": "Eigene gespeicherte Berichtigungsläufe wiederfinden",
|
|
39804
|
+
"responses": {
|
|
39805
|
+
"200": {
|
|
39806
|
+
"description": "JSON response",
|
|
39807
|
+
"content": {
|
|
39808
|
+
"application/json": {
|
|
39809
|
+
"schema": {
|
|
39810
|
+
"type": "object",
|
|
39811
|
+
"properties": {
|
|
39812
|
+
"success": {
|
|
39813
|
+
"type": "boolean"
|
|
39814
|
+
},
|
|
39815
|
+
"message": {
|
|
39816
|
+
"anyOf": [
|
|
39817
|
+
{
|
|
39818
|
+
"type": "string"
|
|
39819
|
+
},
|
|
39820
|
+
{
|
|
39821
|
+
"type": "null"
|
|
39822
|
+
}
|
|
39823
|
+
]
|
|
39824
|
+
},
|
|
39825
|
+
"code": {
|
|
39826
|
+
"anyOf": [
|
|
39827
|
+
{
|
|
39828
|
+
"type": "string"
|
|
39829
|
+
},
|
|
39830
|
+
{
|
|
39831
|
+
"type": "null"
|
|
39832
|
+
}
|
|
39833
|
+
]
|
|
39834
|
+
},
|
|
39835
|
+
"data": {
|
|
39836
|
+
"anyOf": [
|
|
39837
|
+
{
|
|
39838
|
+
"type": "array",
|
|
39839
|
+
"items": {
|
|
39840
|
+
"type": "object",
|
|
39841
|
+
"properties": {
|
|
39842
|
+
"id": {
|
|
39843
|
+
"type": "number"
|
|
39844
|
+
},
|
|
39845
|
+
"createdAt": {
|
|
39846
|
+
"anyOf": [
|
|
39847
|
+
{
|
|
39848
|
+
"type": "string",
|
|
39849
|
+
"format": "date-time"
|
|
39850
|
+
},
|
|
39851
|
+
{
|
|
39852
|
+
"type": "string"
|
|
39853
|
+
}
|
|
39854
|
+
]
|
|
39855
|
+
},
|
|
39856
|
+
"reason": {
|
|
39857
|
+
"type": "string"
|
|
39858
|
+
}
|
|
39859
|
+
},
|
|
39860
|
+
"required": [
|
|
39861
|
+
"id",
|
|
39862
|
+
"createdAt",
|
|
39863
|
+
"reason"
|
|
39864
|
+
],
|
|
39865
|
+
"additionalProperties": false
|
|
39866
|
+
}
|
|
39867
|
+
},
|
|
39868
|
+
{
|
|
39869
|
+
"type": "null"
|
|
39870
|
+
}
|
|
39871
|
+
]
|
|
39872
|
+
}
|
|
39873
|
+
},
|
|
39874
|
+
"required": [
|
|
39875
|
+
"success",
|
|
39876
|
+
"data"
|
|
39877
|
+
],
|
|
39878
|
+
"additionalProperties": false
|
|
39879
|
+
}
|
|
39880
|
+
}
|
|
39881
|
+
}
|
|
39882
|
+
}
|
|
39883
|
+
},
|
|
39884
|
+
"parameters": [
|
|
39885
|
+
{
|
|
39886
|
+
"name": "companyId",
|
|
39887
|
+
"in": "query",
|
|
39888
|
+
"required": true,
|
|
39889
|
+
"schema": {
|
|
39890
|
+
"type": "integer",
|
|
39891
|
+
"exclusiveMinimum": 0
|
|
39892
|
+
}
|
|
39893
|
+
}
|
|
39894
|
+
],
|
|
39895
|
+
"security": [
|
|
39896
|
+
{
|
|
39897
|
+
"frontendBearer": []
|
|
39898
|
+
}
|
|
39899
|
+
],
|
|
39900
|
+
"x-transport": "http"
|
|
39901
|
+
}
|
|
39902
|
+
},
|
|
39903
|
+
"/invoices/issuer-corrections/runs/:runId": {
|
|
39904
|
+
"get": {
|
|
39905
|
+
"operationId": "invoices_issuer_result",
|
|
39906
|
+
"tags": [
|
|
39907
|
+
"invoices"
|
|
39908
|
+
],
|
|
39909
|
+
"summary": "Ergebnisse und Teilfehler des Berichtigungslaufs",
|
|
39910
|
+
"description": "Ergebnisse und Teilfehler des Berichtigungslaufs",
|
|
39911
|
+
"responses": {
|
|
39912
|
+
"200": {
|
|
39913
|
+
"description": "JSON response",
|
|
39914
|
+
"content": {
|
|
39915
|
+
"application/json": {
|
|
39916
|
+
"schema": {
|
|
39917
|
+
"type": "object",
|
|
39918
|
+
"properties": {
|
|
39919
|
+
"success": {
|
|
39920
|
+
"type": "boolean"
|
|
39921
|
+
},
|
|
39922
|
+
"message": {
|
|
39923
|
+
"anyOf": [
|
|
39924
|
+
{
|
|
39925
|
+
"type": "string"
|
|
39926
|
+
},
|
|
39927
|
+
{
|
|
39928
|
+
"type": "null"
|
|
39929
|
+
}
|
|
39930
|
+
]
|
|
39931
|
+
},
|
|
39932
|
+
"code": {
|
|
39933
|
+
"anyOf": [
|
|
39934
|
+
{
|
|
39935
|
+
"type": "string"
|
|
39936
|
+
},
|
|
39937
|
+
{
|
|
39938
|
+
"type": "null"
|
|
39939
|
+
}
|
|
39940
|
+
]
|
|
39941
|
+
},
|
|
39942
|
+
"data": {
|
|
39943
|
+
"anyOf": [
|
|
39944
|
+
{
|
|
39945
|
+
"type": "object",
|
|
39946
|
+
"properties": {
|
|
39947
|
+
"counts": {
|
|
39948
|
+
"type": "object",
|
|
39949
|
+
"properties": {
|
|
39950
|
+
"total": {
|
|
39951
|
+
"type": "number"
|
|
39952
|
+
},
|
|
39953
|
+
"pending": {
|
|
39954
|
+
"type": "number"
|
|
39955
|
+
},
|
|
39956
|
+
"done": {
|
|
39957
|
+
"type": "number"
|
|
39958
|
+
},
|
|
39959
|
+
"failed": {
|
|
39960
|
+
"type": "number"
|
|
39961
|
+
},
|
|
39962
|
+
"restricted": {
|
|
39963
|
+
"type": "number"
|
|
39964
|
+
}
|
|
39965
|
+
},
|
|
39966
|
+
"required": [
|
|
39967
|
+
"total",
|
|
39968
|
+
"pending",
|
|
39969
|
+
"done",
|
|
39970
|
+
"failed",
|
|
39971
|
+
"restricted"
|
|
39972
|
+
],
|
|
39973
|
+
"additionalProperties": false
|
|
39974
|
+
},
|
|
39975
|
+
"run": {
|
|
39976
|
+
"type": "object",
|
|
39977
|
+
"properties": {
|
|
39978
|
+
"id": {
|
|
39979
|
+
"type": "number"
|
|
39980
|
+
},
|
|
39981
|
+
"managingCompanyId": {
|
|
39982
|
+
"type": "number"
|
|
39983
|
+
},
|
|
39984
|
+
"actorUserId": {
|
|
39985
|
+
"type": "number"
|
|
39986
|
+
},
|
|
39987
|
+
"reason": {
|
|
39988
|
+
"type": "string"
|
|
39989
|
+
},
|
|
39990
|
+
"replacement": {
|
|
39991
|
+
"type": "string"
|
|
39992
|
+
},
|
|
39993
|
+
"createdAt": {
|
|
39994
|
+
"anyOf": [
|
|
39995
|
+
{
|
|
39996
|
+
"type": "string",
|
|
39997
|
+
"format": "date-time"
|
|
39998
|
+
},
|
|
39999
|
+
{
|
|
40000
|
+
"type": "string"
|
|
40001
|
+
}
|
|
40002
|
+
]
|
|
40003
|
+
}
|
|
40004
|
+
},
|
|
40005
|
+
"required": [
|
|
40006
|
+
"id",
|
|
40007
|
+
"managingCompanyId",
|
|
40008
|
+
"actorUserId",
|
|
40009
|
+
"reason",
|
|
40010
|
+
"replacement",
|
|
40011
|
+
"createdAt"
|
|
40012
|
+
],
|
|
40013
|
+
"additionalProperties": false
|
|
40014
|
+
},
|
|
40015
|
+
"items": {
|
|
40016
|
+
"type": "array",
|
|
40017
|
+
"items": {
|
|
40018
|
+
"type": "object",
|
|
40019
|
+
"properties": {
|
|
40020
|
+
"invoiceNumber": {
|
|
40021
|
+
"type": "string"
|
|
40022
|
+
},
|
|
40023
|
+
"item": {
|
|
40024
|
+
"type": "object",
|
|
40025
|
+
"properties": {
|
|
40026
|
+
"id": {
|
|
40027
|
+
"type": "number"
|
|
40028
|
+
},
|
|
40029
|
+
"invoiceId": {
|
|
40030
|
+
"type": "number"
|
|
40031
|
+
},
|
|
40032
|
+
"status": {
|
|
40033
|
+
"type": "string"
|
|
40034
|
+
},
|
|
40035
|
+
"error": {
|
|
40036
|
+
"anyOf": [
|
|
40037
|
+
{
|
|
40038
|
+
"type": "string"
|
|
40039
|
+
},
|
|
40040
|
+
{
|
|
40041
|
+
"type": "null"
|
|
40042
|
+
}
|
|
40043
|
+
]
|
|
40044
|
+
},
|
|
40045
|
+
"versionId": {
|
|
40046
|
+
"anyOf": [
|
|
40047
|
+
{
|
|
40048
|
+
"type": "number"
|
|
40049
|
+
},
|
|
40050
|
+
{
|
|
40051
|
+
"type": "null"
|
|
40052
|
+
}
|
|
40053
|
+
]
|
|
40054
|
+
},
|
|
40055
|
+
"updatedAt": {
|
|
40056
|
+
"anyOf": [
|
|
40057
|
+
{
|
|
40058
|
+
"type": "string",
|
|
40059
|
+
"format": "date-time"
|
|
40060
|
+
},
|
|
40061
|
+
{
|
|
40062
|
+
"type": "string"
|
|
40063
|
+
}
|
|
40064
|
+
]
|
|
40065
|
+
}
|
|
40066
|
+
},
|
|
40067
|
+
"required": [
|
|
40068
|
+
"id",
|
|
40069
|
+
"invoiceId",
|
|
40070
|
+
"status",
|
|
40071
|
+
"error",
|
|
40072
|
+
"versionId",
|
|
40073
|
+
"updatedAt"
|
|
40074
|
+
],
|
|
40075
|
+
"additionalProperties": false
|
|
40076
|
+
}
|
|
40077
|
+
},
|
|
40078
|
+
"required": [
|
|
40079
|
+
"invoiceNumber",
|
|
40080
|
+
"item"
|
|
40081
|
+
],
|
|
40082
|
+
"additionalProperties": false
|
|
40083
|
+
}
|
|
40084
|
+
}
|
|
40085
|
+
},
|
|
40086
|
+
"required": [
|
|
40087
|
+
"counts",
|
|
40088
|
+
"run",
|
|
40089
|
+
"items"
|
|
40090
|
+
],
|
|
40091
|
+
"additionalProperties": false
|
|
40092
|
+
},
|
|
40093
|
+
{
|
|
40094
|
+
"type": "null"
|
|
40095
|
+
}
|
|
40096
|
+
]
|
|
40097
|
+
}
|
|
40098
|
+
},
|
|
40099
|
+
"required": [
|
|
40100
|
+
"success",
|
|
40101
|
+
"data"
|
|
40102
|
+
],
|
|
40103
|
+
"additionalProperties": false
|
|
40104
|
+
}
|
|
40105
|
+
}
|
|
40106
|
+
}
|
|
40107
|
+
}
|
|
40108
|
+
},
|
|
40109
|
+
"parameters": [
|
|
40110
|
+
{
|
|
40111
|
+
"name": "runId",
|
|
40112
|
+
"in": "path",
|
|
40113
|
+
"required": true,
|
|
40114
|
+
"schema": {
|
|
40115
|
+
"type": "integer",
|
|
40116
|
+
"exclusiveMinimum": 0
|
|
40117
|
+
}
|
|
40118
|
+
},
|
|
40119
|
+
{
|
|
40120
|
+
"name": "companyId",
|
|
40121
|
+
"in": "query",
|
|
40122
|
+
"required": true,
|
|
40123
|
+
"schema": {
|
|
40124
|
+
"type": "integer",
|
|
40125
|
+
"exclusiveMinimum": 0
|
|
40126
|
+
}
|
|
40127
|
+
}
|
|
40128
|
+
],
|
|
40129
|
+
"security": [
|
|
40130
|
+
{
|
|
40131
|
+
"frontendBearer": []
|
|
40132
|
+
}
|
|
40133
|
+
],
|
|
40134
|
+
"x-transport": "http"
|
|
40135
|
+
}
|
|
40136
|
+
},
|
|
40137
|
+
"/invoices/issuer-corrections/runs/:runId/retry": {
|
|
40138
|
+
"post": {
|
|
40139
|
+
"operationId": "invoices_issuer_retry",
|
|
40140
|
+
"tags": [
|
|
40141
|
+
"invoices"
|
|
40142
|
+
],
|
|
40143
|
+
"summary": "Fehlgeschlagene Einträge unter erneuter Prüfung wiederaufnehmen",
|
|
40144
|
+
"description": "Fehlgeschlagene Einträge unter erneuter Prüfung wiederaufnehmen",
|
|
40145
|
+
"responses": {
|
|
40146
|
+
"200": {
|
|
40147
|
+
"description": "JSON response",
|
|
40148
|
+
"content": {
|
|
40149
|
+
"application/json": {
|
|
40150
|
+
"schema": {
|
|
40151
|
+
"type": "object",
|
|
40152
|
+
"properties": {
|
|
40153
|
+
"success": {
|
|
40154
|
+
"type": "boolean"
|
|
40155
|
+
},
|
|
40156
|
+
"message": {
|
|
40157
|
+
"anyOf": [
|
|
40158
|
+
{
|
|
40159
|
+
"type": "string"
|
|
40160
|
+
},
|
|
40161
|
+
{
|
|
40162
|
+
"type": "null"
|
|
40163
|
+
}
|
|
40164
|
+
]
|
|
40165
|
+
},
|
|
40166
|
+
"code": {
|
|
40167
|
+
"anyOf": [
|
|
40168
|
+
{
|
|
40169
|
+
"type": "string"
|
|
40170
|
+
},
|
|
40171
|
+
{
|
|
40172
|
+
"type": "null"
|
|
40173
|
+
}
|
|
40174
|
+
]
|
|
40175
|
+
},
|
|
40176
|
+
"data": {
|
|
40177
|
+
"anyOf": [
|
|
40178
|
+
{
|
|
40179
|
+
"type": "object",
|
|
40180
|
+
"properties": {
|
|
40181
|
+
"runId": {
|
|
40182
|
+
"type": "number"
|
|
40183
|
+
}
|
|
40184
|
+
},
|
|
40185
|
+
"required": [
|
|
40186
|
+
"runId"
|
|
40187
|
+
],
|
|
40188
|
+
"additionalProperties": false
|
|
40189
|
+
},
|
|
40190
|
+
{
|
|
40191
|
+
"type": "null"
|
|
40192
|
+
}
|
|
40193
|
+
]
|
|
40194
|
+
}
|
|
40195
|
+
},
|
|
40196
|
+
"required": [
|
|
40197
|
+
"success",
|
|
40198
|
+
"data"
|
|
40199
|
+
],
|
|
40200
|
+
"additionalProperties": false
|
|
40201
|
+
}
|
|
40202
|
+
}
|
|
40203
|
+
}
|
|
40204
|
+
}
|
|
40205
|
+
},
|
|
40206
|
+
"parameters": [
|
|
40207
|
+
{
|
|
40208
|
+
"name": "runId",
|
|
40209
|
+
"in": "path",
|
|
40210
|
+
"required": true,
|
|
40211
|
+
"schema": {
|
|
40212
|
+
"type": "integer",
|
|
40213
|
+
"exclusiveMinimum": 0
|
|
40214
|
+
}
|
|
40215
|
+
},
|
|
40216
|
+
{
|
|
40217
|
+
"name": "companyId",
|
|
40218
|
+
"in": "query",
|
|
40219
|
+
"required": true,
|
|
40220
|
+
"schema": {
|
|
40221
|
+
"type": "integer",
|
|
40222
|
+
"exclusiveMinimum": 0
|
|
40223
|
+
}
|
|
40224
|
+
}
|
|
40225
|
+
],
|
|
40226
|
+
"requestBody": {
|
|
40227
|
+
"required": true,
|
|
40228
|
+
"content": {
|
|
40229
|
+
"application/json": {
|
|
40230
|
+
"schema": {
|
|
40231
|
+
"type": "object",
|
|
40232
|
+
"properties": {},
|
|
40233
|
+
"additionalProperties": false
|
|
40234
|
+
}
|
|
40235
|
+
}
|
|
40236
|
+
}
|
|
40237
|
+
},
|
|
40238
|
+
"security": [
|
|
40239
|
+
{
|
|
40240
|
+
"frontendBearer": []
|
|
40241
|
+
}
|
|
40242
|
+
],
|
|
40243
|
+
"x-transport": "http"
|
|
40244
|
+
}
|
|
40245
|
+
},
|
|
40246
|
+
"/invoices/dunning/suggestions": {
|
|
40247
|
+
"get": {
|
|
40248
|
+
"operationId": "invoice_dunning_suggestions",
|
|
40249
|
+
"tags": [
|
|
40250
|
+
"invoices",
|
|
40251
|
+
"dunning"
|
|
40252
|
+
],
|
|
40253
|
+
"summary": "Mahn-Vorschläge ermitteln",
|
|
40254
|
+
"description": "Liefert eine Liste von Mahn-Kandidaten (inkl. vorgeschlagenem Mahn-Level) für einen Stichtag. Es wird nichts versendet – nur Vorschläge für manuelles Mahnen. Bezahlt/draft/cancelled werden serverseitig ausgeschlossen.",
|
|
40255
|
+
"responses": {
|
|
40256
|
+
"200": {
|
|
40257
|
+
"description": "JSON response",
|
|
40258
|
+
"content": {
|
|
40259
|
+
"application/json": {
|
|
40260
|
+
"schema": {
|
|
40261
|
+
"type": "object",
|
|
40262
|
+
"properties": {
|
|
40263
|
+
"success": {
|
|
40264
|
+
"type": "boolean"
|
|
40265
|
+
},
|
|
40266
|
+
"message": {
|
|
40267
|
+
"anyOf": [
|
|
40268
|
+
{
|
|
40269
|
+
"type": "string"
|
|
40270
|
+
},
|
|
40271
|
+
{
|
|
40272
|
+
"type": "null"
|
|
40273
|
+
}
|
|
40274
|
+
]
|
|
40275
|
+
},
|
|
40276
|
+
"code": {
|
|
40277
|
+
"anyOf": [
|
|
40278
|
+
{
|
|
40279
|
+
"type": "string"
|
|
40280
|
+
},
|
|
40281
|
+
{
|
|
40282
|
+
"type": "null"
|
|
40283
|
+
}
|
|
40284
|
+
]
|
|
40285
|
+
},
|
|
40286
|
+
"data": {
|
|
40287
|
+
"anyOf": [
|
|
40288
|
+
{
|
|
40289
|
+
"type": "object",
|
|
40290
|
+
"properties": {
|
|
40291
|
+
"asOf": {
|
|
40292
|
+
"type": "string"
|
|
40293
|
+
},
|
|
40294
|
+
"items": {
|
|
40295
|
+
"type": "array",
|
|
40296
|
+
"items": {
|
|
40297
|
+
"type": "object",
|
|
40298
|
+
"properties": {
|
|
40299
|
+
"invoiceId": {
|
|
40300
|
+
"type": "integer"
|
|
40301
|
+
},
|
|
40302
|
+
"invoiceNumber": {
|
|
40303
|
+
"type": "string"
|
|
40304
|
+
},
|
|
40305
|
+
"status": {
|
|
40306
|
+
"type": "string"
|
|
40307
|
+
},
|
|
40308
|
+
"dueDate": {
|
|
40309
|
+
"type": "string"
|
|
40310
|
+
},
|
|
40311
|
+
"daysOverdue": {
|
|
40312
|
+
"type": "integer"
|
|
40313
|
+
},
|
|
40314
|
+
"currency": {
|
|
40315
|
+
"type": "string"
|
|
40316
|
+
},
|
|
40317
|
+
"invoiceTotal": {
|
|
40318
|
+
"type": "string"
|
|
40319
|
+
},
|
|
40320
|
+
"openAmount": {
|
|
40321
|
+
"type": "string"
|
|
40322
|
+
},
|
|
40323
|
+
"suggestedLevel": {
|
|
40324
|
+
"anyOf": [
|
|
40325
|
+
{
|
|
40326
|
+
"type": "string",
|
|
40327
|
+
"enum": [
|
|
40328
|
+
"level0",
|
|
40329
|
+
"level1",
|
|
40330
|
+
"level2",
|
|
40331
|
+
"level3"
|
|
40332
|
+
]
|
|
40333
|
+
},
|
|
40334
|
+
{
|
|
40335
|
+
"type": "null"
|
|
40336
|
+
}
|
|
40337
|
+
]
|
|
40338
|
+
},
|
|
40339
|
+
"latestNoticeLevel": {
|
|
40340
|
+
"anyOf": [
|
|
40341
|
+
{
|
|
40342
|
+
"type": "string",
|
|
40343
|
+
"enum": [
|
|
40344
|
+
"level0",
|
|
40345
|
+
"level1",
|
|
40346
|
+
"level2",
|
|
40347
|
+
"level3"
|
|
40348
|
+
]
|
|
40349
|
+
},
|
|
40350
|
+
{
|
|
40351
|
+
"type": "null"
|
|
40352
|
+
}
|
|
40353
|
+
]
|
|
40354
|
+
},
|
|
40355
|
+
"latestNoticeAt": {
|
|
40356
|
+
"anyOf": [
|
|
40357
|
+
{
|
|
40358
|
+
"type": "string"
|
|
40359
|
+
},
|
|
40360
|
+
{
|
|
40361
|
+
"type": "null"
|
|
40362
|
+
}
|
|
40363
|
+
]
|
|
40364
|
+
}
|
|
40365
|
+
},
|
|
40366
|
+
"required": [
|
|
40367
|
+
"invoiceId",
|
|
40368
|
+
"invoiceNumber",
|
|
40369
|
+
"status",
|
|
40370
|
+
"dueDate",
|
|
40371
|
+
"daysOverdue",
|
|
40372
|
+
"currency",
|
|
40373
|
+
"invoiceTotal",
|
|
40374
|
+
"openAmount",
|
|
40375
|
+
"suggestedLevel",
|
|
40376
|
+
"latestNoticeLevel",
|
|
40377
|
+
"latestNoticeAt"
|
|
40378
|
+
],
|
|
40379
|
+
"additionalProperties": false
|
|
40380
|
+
}
|
|
40381
|
+
}
|
|
40382
|
+
},
|
|
40383
|
+
"required": [
|
|
40384
|
+
"asOf",
|
|
40385
|
+
"items"
|
|
40386
|
+
],
|
|
40387
|
+
"additionalProperties": false
|
|
40388
|
+
},
|
|
40389
|
+
{
|
|
40390
|
+
"type": "null"
|
|
40391
|
+
}
|
|
40392
|
+
]
|
|
40393
|
+
}
|
|
40394
|
+
},
|
|
40395
|
+
"required": [
|
|
40396
|
+
"success",
|
|
40397
|
+
"data"
|
|
40398
|
+
],
|
|
40399
|
+
"additionalProperties": false
|
|
40400
|
+
}
|
|
40401
|
+
}
|
|
40402
|
+
}
|
|
40403
|
+
}
|
|
40404
|
+
},
|
|
40405
|
+
"parameters": [
|
|
40406
|
+
{
|
|
40407
|
+
"name": "asOf",
|
|
40408
|
+
"in": "query",
|
|
40409
|
+
"required": false,
|
|
40410
|
+
"schema": {
|
|
40411
|
+
"type": "string"
|
|
40412
|
+
}
|
|
40413
|
+
},
|
|
40414
|
+
{
|
|
40415
|
+
"name": "limit",
|
|
40416
|
+
"in": "query",
|
|
40417
|
+
"required": false,
|
|
40418
|
+
"schema": {
|
|
40419
|
+
"type": "integer",
|
|
40420
|
+
"minimum": 1,
|
|
40421
|
+
"maximum": 200
|
|
40422
|
+
}
|
|
40423
|
+
}
|
|
40424
|
+
],
|
|
40425
|
+
"security": [
|
|
40426
|
+
{
|
|
40427
|
+
"frontendBearer": []
|
|
40428
|
+
}
|
|
40429
|
+
],
|
|
40430
|
+
"x-transport": "http",
|
|
40431
|
+
"x-permissions": [
|
|
40432
|
+
"bookkeeping_access"
|
|
40433
|
+
]
|
|
40434
|
+
}
|
|
40435
|
+
},
|
|
40436
|
+
"/invoices/dunning/:invoiceId/notices": {
|
|
40437
|
+
"get": {
|
|
40438
|
+
"operationId": "invoice_dunning_list_notices",
|
|
40439
|
+
"tags": [
|
|
40440
|
+
"invoices",
|
|
40441
|
+
"dunning"
|
|
40442
|
+
],
|
|
40443
|
+
"summary": "Mahn-Verlauf einer Rechnung",
|
|
40444
|
+
"description": "Gibt alle Mahnschreiben und Zahlungserinnerungen (inkl. level0) zu einer Rechnung zurück, chronologisch aufsteigend. Zahlungserinnerungen sind am Flag 'isPaymentReminder: true' erkennbar.",
|
|
40445
|
+
"responses": {
|
|
40446
|
+
"200": {
|
|
40447
|
+
"description": "JSON response",
|
|
40448
|
+
"content": {
|
|
40449
|
+
"application/json": {
|
|
40450
|
+
"schema": {
|
|
40451
|
+
"type": "object",
|
|
40452
|
+
"properties": {
|
|
40453
|
+
"success": {
|
|
40454
|
+
"type": "boolean"
|
|
40455
|
+
},
|
|
40456
|
+
"message": {
|
|
40457
|
+
"anyOf": [
|
|
40458
|
+
{
|
|
40459
|
+
"type": "string"
|
|
40460
|
+
},
|
|
40461
|
+
{
|
|
40462
|
+
"type": "null"
|
|
40463
|
+
}
|
|
40464
|
+
]
|
|
40465
|
+
},
|
|
40466
|
+
"code": {
|
|
40467
|
+
"anyOf": [
|
|
40468
|
+
{
|
|
40469
|
+
"type": "string"
|
|
40470
|
+
},
|
|
40471
|
+
{
|
|
40472
|
+
"type": "null"
|
|
40473
|
+
}
|
|
40474
|
+
]
|
|
40475
|
+
},
|
|
40476
|
+
"data": {
|
|
40477
|
+
"anyOf": [
|
|
40478
|
+
{
|
|
40479
|
+
"type": "object",
|
|
40480
|
+
"properties": {
|
|
40481
|
+
"invoiceId": {
|
|
40482
|
+
"type": "integer"
|
|
40483
|
+
},
|
|
40484
|
+
"notices": {
|
|
40485
|
+
"type": "array",
|
|
40486
|
+
"items": {
|
|
40487
|
+
"type": "object",
|
|
40488
|
+
"properties": {
|
|
40489
|
+
"id": {
|
|
40490
|
+
"type": "integer"
|
|
40491
|
+
},
|
|
40492
|
+
"managingCompanyId": {
|
|
40493
|
+
"type": "integer"
|
|
40494
|
+
},
|
|
40495
|
+
"invoiceId": {
|
|
40496
|
+
"type": "integer"
|
|
40497
|
+
},
|
|
40498
|
+
"documentId": {
|
|
38912
40499
|
"anyOf": [
|
|
38913
40500
|
{
|
|
38914
40501
|
"type": "integer"
|
|
@@ -52486,11 +54073,410 @@
|
|
|
52486
54073
|
"schema": {
|
|
52487
54074
|
"type": "object",
|
|
52488
54075
|
"properties": {
|
|
52489
|
-
"confirmedAt": {
|
|
52490
|
-
"type": "string"
|
|
54076
|
+
"confirmedAt": {
|
|
54077
|
+
"type": "string"
|
|
54078
|
+
}
|
|
54079
|
+
},
|
|
54080
|
+
"additionalProperties": false
|
|
54081
|
+
}
|
|
54082
|
+
}
|
|
54083
|
+
}
|
|
54084
|
+
},
|
|
54085
|
+
"security": [
|
|
54086
|
+
{
|
|
54087
|
+
"frontendBearer": []
|
|
54088
|
+
}
|
|
54089
|
+
],
|
|
54090
|
+
"x-transport": "http",
|
|
54091
|
+
"x-permissions": [
|
|
54092
|
+
"bookkeeping_access"
|
|
54093
|
+
]
|
|
54094
|
+
}
|
|
54095
|
+
},
|
|
54096
|
+
"/bookkeeping/expenses/:id/revoke-cash-confirm": {
|
|
54097
|
+
"post": {
|
|
54098
|
+
"operationId": "bookkeeping_expenses_revoke_cash_confirm",
|
|
54099
|
+
"tags": [
|
|
54100
|
+
"bookkeeping",
|
|
54101
|
+
"expenses"
|
|
54102
|
+
],
|
|
54103
|
+
"summary": "Barzahlungs-Bestätigung widerrufen",
|
|
54104
|
+
"description": "Widerruft die Barzahlungs-Bestätigung einer Ausgabe. Setzt den paymentStatus zurück auf 'unmatched' und entfernt das EÜR-Wirksamkeitsdatum. Nur möglich wenn paymentStatus = 'cash_confirmed'. Grund ist GoBD-Pflicht.",
|
|
54105
|
+
"responses": {
|
|
54106
|
+
"200": {
|
|
54107
|
+
"description": "JSON response",
|
|
54108
|
+
"content": {
|
|
54109
|
+
"application/json": {
|
|
54110
|
+
"schema": {
|
|
54111
|
+
"type": "object",
|
|
54112
|
+
"properties": {
|
|
54113
|
+
"success": {
|
|
54114
|
+
"type": "boolean"
|
|
54115
|
+
},
|
|
54116
|
+
"message": {
|
|
54117
|
+
"anyOf": [
|
|
54118
|
+
{
|
|
54119
|
+
"type": "string"
|
|
54120
|
+
},
|
|
54121
|
+
{
|
|
54122
|
+
"type": "null"
|
|
54123
|
+
}
|
|
54124
|
+
]
|
|
54125
|
+
},
|
|
54126
|
+
"code": {
|
|
54127
|
+
"anyOf": [
|
|
54128
|
+
{
|
|
54129
|
+
"type": "string"
|
|
54130
|
+
},
|
|
54131
|
+
{
|
|
54132
|
+
"type": "null"
|
|
54133
|
+
}
|
|
54134
|
+
]
|
|
54135
|
+
},
|
|
54136
|
+
"data": {
|
|
54137
|
+
"anyOf": [
|
|
54138
|
+
{},
|
|
54139
|
+
{
|
|
54140
|
+
"type": "null"
|
|
54141
|
+
}
|
|
54142
|
+
]
|
|
54143
|
+
}
|
|
54144
|
+
},
|
|
54145
|
+
"required": [
|
|
54146
|
+
"success",
|
|
54147
|
+
"data"
|
|
54148
|
+
],
|
|
54149
|
+
"additionalProperties": false
|
|
54150
|
+
}
|
|
54151
|
+
}
|
|
54152
|
+
}
|
|
54153
|
+
}
|
|
54154
|
+
},
|
|
54155
|
+
"parameters": [
|
|
54156
|
+
{
|
|
54157
|
+
"name": "id",
|
|
54158
|
+
"in": "path",
|
|
54159
|
+
"required": true,
|
|
54160
|
+
"schema": {
|
|
54161
|
+
"type": "integer",
|
|
54162
|
+
"exclusiveMinimum": 0
|
|
54163
|
+
}
|
|
54164
|
+
}
|
|
54165
|
+
],
|
|
54166
|
+
"requestBody": {
|
|
54167
|
+
"required": true,
|
|
54168
|
+
"content": {
|
|
54169
|
+
"application/json": {
|
|
54170
|
+
"schema": {
|
|
54171
|
+
"type": "object",
|
|
54172
|
+
"properties": {
|
|
54173
|
+
"reason": {
|
|
54174
|
+
"type": "string",
|
|
54175
|
+
"minLength": 3
|
|
54176
|
+
}
|
|
54177
|
+
},
|
|
54178
|
+
"required": [
|
|
54179
|
+
"reason"
|
|
54180
|
+
],
|
|
54181
|
+
"additionalProperties": false
|
|
54182
|
+
}
|
|
54183
|
+
}
|
|
54184
|
+
}
|
|
54185
|
+
},
|
|
54186
|
+
"security": [
|
|
54187
|
+
{
|
|
54188
|
+
"frontendBearer": []
|
|
54189
|
+
}
|
|
54190
|
+
],
|
|
54191
|
+
"x-transport": "http",
|
|
54192
|
+
"x-permissions": [
|
|
54193
|
+
"bookkeeping_access"
|
|
54194
|
+
]
|
|
54195
|
+
}
|
|
54196
|
+
},
|
|
54197
|
+
"/bookkeeping/expenses/:id/mark-as-asset": {
|
|
54198
|
+
"post": {
|
|
54199
|
+
"operationId": "bookkeeping_expenses_mark_as_asset",
|
|
54200
|
+
"tags": [
|
|
54201
|
+
"bookkeeping",
|
|
54202
|
+
"expenses"
|
|
54203
|
+
],
|
|
54204
|
+
"summary": "Ausgabe als Anlage erfassen",
|
|
54205
|
+
"description": "Erstellt aus einer bestehenden Ausgabe einen verknüpften Anlagen-Datensatz. Standardwerte werden aus der Ausgabe übernommen (Datum, Netto-Betrag, Lieferant, Beleg), können aber überschrieben werden. Der Endpoint ist für den produktiven Buchhaltungs-Workflow gedacht: strikte Periodensperren werden respektiert, doppelte Asset-Erzeugung für dieselbe Ausgabe wird verhindert und das Frontend erhält sowohl die erzeugte Anlage als auch den aktualisierten `assetInfo`-Status der Ausgabe.",
|
|
54206
|
+
"responses": {
|
|
54207
|
+
"201": {
|
|
54208
|
+
"description": "JSON response",
|
|
54209
|
+
"content": {
|
|
54210
|
+
"application/json": {
|
|
54211
|
+
"schema": {
|
|
54212
|
+
"type": "object",
|
|
54213
|
+
"properties": {
|
|
54214
|
+
"success": {
|
|
54215
|
+
"type": "boolean"
|
|
54216
|
+
},
|
|
54217
|
+
"message": {
|
|
54218
|
+
"anyOf": [
|
|
54219
|
+
{
|
|
54220
|
+
"type": "string"
|
|
54221
|
+
},
|
|
54222
|
+
{
|
|
54223
|
+
"type": "null"
|
|
54224
|
+
}
|
|
54225
|
+
]
|
|
54226
|
+
},
|
|
54227
|
+
"code": {
|
|
54228
|
+
"anyOf": [
|
|
54229
|
+
{
|
|
54230
|
+
"type": "string"
|
|
54231
|
+
},
|
|
54232
|
+
{
|
|
54233
|
+
"type": "null"
|
|
54234
|
+
}
|
|
54235
|
+
]
|
|
54236
|
+
},
|
|
54237
|
+
"data": {
|
|
54238
|
+
"anyOf": [
|
|
54239
|
+
{},
|
|
54240
|
+
{
|
|
54241
|
+
"type": "null"
|
|
54242
|
+
}
|
|
54243
|
+
]
|
|
54244
|
+
}
|
|
54245
|
+
},
|
|
54246
|
+
"required": [
|
|
54247
|
+
"success",
|
|
54248
|
+
"data"
|
|
54249
|
+
],
|
|
54250
|
+
"additionalProperties": false
|
|
54251
|
+
}
|
|
54252
|
+
}
|
|
54253
|
+
}
|
|
54254
|
+
},
|
|
54255
|
+
"409": {
|
|
54256
|
+
"description": "JSON response",
|
|
54257
|
+
"content": {
|
|
54258
|
+
"application/json": {
|
|
54259
|
+
"schema": {
|
|
54260
|
+
"type": "object",
|
|
54261
|
+
"properties": {
|
|
54262
|
+
"success": {
|
|
54263
|
+
"type": "boolean"
|
|
54264
|
+
},
|
|
54265
|
+
"message": {
|
|
54266
|
+
"anyOf": [
|
|
54267
|
+
{
|
|
54268
|
+
"type": "string"
|
|
54269
|
+
},
|
|
54270
|
+
{
|
|
54271
|
+
"type": "null"
|
|
54272
|
+
}
|
|
54273
|
+
]
|
|
54274
|
+
},
|
|
54275
|
+
"code": {
|
|
54276
|
+
"anyOf": [
|
|
54277
|
+
{
|
|
54278
|
+
"type": "string"
|
|
54279
|
+
},
|
|
54280
|
+
{
|
|
54281
|
+
"type": "null"
|
|
54282
|
+
}
|
|
54283
|
+
]
|
|
54284
|
+
},
|
|
54285
|
+
"data": {
|
|
54286
|
+
"anyOf": [
|
|
54287
|
+
{},
|
|
54288
|
+
{
|
|
54289
|
+
"type": "null"
|
|
54290
|
+
}
|
|
54291
|
+
]
|
|
54292
|
+
}
|
|
54293
|
+
},
|
|
54294
|
+
"required": [
|
|
54295
|
+
"success",
|
|
54296
|
+
"data"
|
|
54297
|
+
],
|
|
54298
|
+
"additionalProperties": false
|
|
54299
|
+
}
|
|
54300
|
+
}
|
|
54301
|
+
}
|
|
54302
|
+
}
|
|
54303
|
+
},
|
|
54304
|
+
"parameters": [
|
|
54305
|
+
{
|
|
54306
|
+
"name": "id",
|
|
54307
|
+
"in": "path",
|
|
54308
|
+
"required": true,
|
|
54309
|
+
"schema": {
|
|
54310
|
+
"type": "integer",
|
|
54311
|
+
"exclusiveMinimum": 0
|
|
54312
|
+
}
|
|
54313
|
+
}
|
|
54314
|
+
],
|
|
54315
|
+
"requestBody": {
|
|
54316
|
+
"required": true,
|
|
54317
|
+
"content": {
|
|
54318
|
+
"application/json": {
|
|
54319
|
+
"schema": {
|
|
54320
|
+
"type": "object",
|
|
54321
|
+
"properties": {
|
|
54322
|
+
"name": {
|
|
54323
|
+
"type": "string",
|
|
54324
|
+
"minLength": 1,
|
|
54325
|
+
"maxLength": 255
|
|
54326
|
+
},
|
|
54327
|
+
"description": {
|
|
54328
|
+
"anyOf": [
|
|
54329
|
+
{
|
|
54330
|
+
"type": "string"
|
|
54331
|
+
},
|
|
54332
|
+
{
|
|
54333
|
+
"type": "null"
|
|
54334
|
+
}
|
|
54335
|
+
]
|
|
54336
|
+
},
|
|
54337
|
+
"assetType": {
|
|
54338
|
+
"type": "string",
|
|
54339
|
+
"enum": [
|
|
54340
|
+
"equipment",
|
|
54341
|
+
"vehicle",
|
|
54342
|
+
"software",
|
|
54343
|
+
"furniture",
|
|
54344
|
+
"leasehold_improvement",
|
|
54345
|
+
"other"
|
|
54346
|
+
]
|
|
54347
|
+
},
|
|
54348
|
+
"purchaseDate": {
|
|
54349
|
+
"type": "string",
|
|
54350
|
+
"format": "date-time"
|
|
54351
|
+
},
|
|
54352
|
+
"purchaseAmountNet": {
|
|
54353
|
+
"anyOf": [
|
|
54354
|
+
{
|
|
54355
|
+
"type": "string"
|
|
54356
|
+
},
|
|
54357
|
+
{
|
|
54358
|
+
"type": "number"
|
|
54359
|
+
}
|
|
54360
|
+
]
|
|
54361
|
+
},
|
|
54362
|
+
"currency": {
|
|
54363
|
+
"type": "string",
|
|
54364
|
+
"minLength": 3,
|
|
54365
|
+
"maxLength": 3
|
|
54366
|
+
},
|
|
54367
|
+
"usefulLifeMonths": {
|
|
54368
|
+
"type": "integer",
|
|
54369
|
+
"exclusiveMinimum": 0
|
|
54370
|
+
},
|
|
54371
|
+
"depreciationMethod": {
|
|
54372
|
+
"type": "string",
|
|
54373
|
+
"enum": [
|
|
54374
|
+
"linear",
|
|
54375
|
+
"immediate_gwg",
|
|
54376
|
+
"none"
|
|
54377
|
+
]
|
|
54378
|
+
},
|
|
54379
|
+
"residualValue": {
|
|
54380
|
+
"anyOf": [
|
|
54381
|
+
{
|
|
54382
|
+
"type": "string"
|
|
54383
|
+
},
|
|
54384
|
+
{
|
|
54385
|
+
"type": "number"
|
|
54386
|
+
}
|
|
54387
|
+
]
|
|
54388
|
+
},
|
|
54389
|
+
"inputVatEligibility": {
|
|
54390
|
+
"type": "string",
|
|
54391
|
+
"enum": [
|
|
54392
|
+
"NONE",
|
|
54393
|
+
"FULL",
|
|
54394
|
+
"PARTIAL"
|
|
54395
|
+
]
|
|
54396
|
+
},
|
|
54397
|
+
"inputVatAmount": {
|
|
54398
|
+
"anyOf": [
|
|
54399
|
+
{
|
|
54400
|
+
"anyOf": [
|
|
54401
|
+
{
|
|
54402
|
+
"type": "string"
|
|
54403
|
+
},
|
|
54404
|
+
{
|
|
54405
|
+
"type": "number"
|
|
54406
|
+
}
|
|
54407
|
+
]
|
|
54408
|
+
},
|
|
54409
|
+
{
|
|
54410
|
+
"type": "null"
|
|
54411
|
+
}
|
|
54412
|
+
]
|
|
54413
|
+
},
|
|
54414
|
+
"inputVatRate": {
|
|
54415
|
+
"anyOf": [
|
|
54416
|
+
{
|
|
54417
|
+
"anyOf": [
|
|
54418
|
+
{
|
|
54419
|
+
"type": "string"
|
|
54420
|
+
},
|
|
54421
|
+
{
|
|
54422
|
+
"type": "number"
|
|
54423
|
+
}
|
|
54424
|
+
]
|
|
54425
|
+
},
|
|
54426
|
+
{
|
|
54427
|
+
"type": "null"
|
|
54428
|
+
}
|
|
54429
|
+
]
|
|
54430
|
+
},
|
|
54431
|
+
"vendorName": {
|
|
54432
|
+
"anyOf": [
|
|
54433
|
+
{
|
|
54434
|
+
"type": "string"
|
|
54435
|
+
},
|
|
54436
|
+
{
|
|
54437
|
+
"type": "null"
|
|
54438
|
+
}
|
|
54439
|
+
]
|
|
54440
|
+
},
|
|
54441
|
+
"vendorInvoiceNumber": {
|
|
54442
|
+
"anyOf": [
|
|
54443
|
+
{
|
|
54444
|
+
"type": "string"
|
|
54445
|
+
},
|
|
54446
|
+
{
|
|
54447
|
+
"type": "null"
|
|
54448
|
+
}
|
|
54449
|
+
]
|
|
54450
|
+
},
|
|
54451
|
+
"costCenterId": {
|
|
54452
|
+
"anyOf": [
|
|
54453
|
+
{
|
|
54454
|
+
"type": "integer",
|
|
54455
|
+
"exclusiveMinimum": 0
|
|
54456
|
+
},
|
|
54457
|
+
{
|
|
54458
|
+
"type": "null"
|
|
54459
|
+
}
|
|
54460
|
+
]
|
|
54461
|
+
},
|
|
54462
|
+
"documentId": {
|
|
54463
|
+
"anyOf": [
|
|
54464
|
+
{
|
|
54465
|
+
"type": "integer",
|
|
54466
|
+
"exclusiveMinimum": 0
|
|
54467
|
+
},
|
|
54468
|
+
{
|
|
54469
|
+
"type": "null"
|
|
54470
|
+
}
|
|
54471
|
+
]
|
|
54472
|
+
},
|
|
54473
|
+
"inheritExpenseDocument": {
|
|
54474
|
+
"type": "boolean",
|
|
54475
|
+
"default": true
|
|
52491
54476
|
}
|
|
52492
54477
|
},
|
|
52493
|
-
"additionalProperties": false
|
|
54478
|
+
"additionalProperties": false,
|
|
54479
|
+
"default": {}
|
|
52494
54480
|
}
|
|
52495
54481
|
}
|
|
52496
54482
|
}
|
|
@@ -52506,15 +54492,14 @@
|
|
|
52506
54492
|
]
|
|
52507
54493
|
}
|
|
52508
54494
|
},
|
|
52509
|
-
"/bookkeeping/expenses/:id/
|
|
52510
|
-
"
|
|
52511
|
-
"operationId": "
|
|
54495
|
+
"/bookkeeping/expenses/:id/foreign-receipt-versions": {
|
|
54496
|
+
"get": {
|
|
54497
|
+
"operationId": "expense_foreign_receipt_history",
|
|
52512
54498
|
"tags": [
|
|
52513
54499
|
"bookkeeping",
|
|
52514
54500
|
"expenses"
|
|
52515
54501
|
],
|
|
52516
|
-
"summary": "
|
|
52517
|
-
"description": "Widerruft die Barzahlungs-Bestätigung einer Ausgabe. Setzt den paymentStatus zurück auf 'unmatched' und entfernt das EÜR-Wirksamkeitsdatum. Nur möglich wenn paymentStatus = 'cash_confirmed'. Grund ist GoBD-Pflicht.",
|
|
54502
|
+
"summary": "Originalbelegpruefungen mit Kursnachweis",
|
|
52518
54503
|
"responses": {
|
|
52519
54504
|
"200": {
|
|
52520
54505
|
"description": "JSON response",
|
|
@@ -52576,26 +54561,6 @@
|
|
|
52576
54561
|
}
|
|
52577
54562
|
}
|
|
52578
54563
|
],
|
|
52579
|
-
"requestBody": {
|
|
52580
|
-
"required": true,
|
|
52581
|
-
"content": {
|
|
52582
|
-
"application/json": {
|
|
52583
|
-
"schema": {
|
|
52584
|
-
"type": "object",
|
|
52585
|
-
"properties": {
|
|
52586
|
-
"reason": {
|
|
52587
|
-
"type": "string",
|
|
52588
|
-
"minLength": 3
|
|
52589
|
-
}
|
|
52590
|
-
},
|
|
52591
|
-
"required": [
|
|
52592
|
-
"reason"
|
|
52593
|
-
],
|
|
52594
|
-
"additionalProperties": false
|
|
52595
|
-
}
|
|
52596
|
-
}
|
|
52597
|
-
}
|
|
52598
|
-
},
|
|
52599
54564
|
"security": [
|
|
52600
54565
|
{
|
|
52601
54566
|
"frontendBearer": []
|
|
@@ -52605,19 +54570,17 @@
|
|
|
52605
54570
|
"x-permissions": [
|
|
52606
54571
|
"bookkeeping_access"
|
|
52607
54572
|
]
|
|
52608
|
-
}
|
|
52609
|
-
},
|
|
52610
|
-
"/bookkeeping/expenses/:id/mark-as-asset": {
|
|
54573
|
+
},
|
|
52611
54574
|
"post": {
|
|
52612
|
-
"operationId": "
|
|
54575
|
+
"operationId": "expense_foreign_receipt_save",
|
|
52613
54576
|
"tags": [
|
|
52614
54577
|
"bookkeeping",
|
|
52615
54578
|
"expenses"
|
|
52616
54579
|
],
|
|
52617
|
-
"summary": "
|
|
52618
|
-
"description": "
|
|
54580
|
+
"summary": "Originalbelegpruefung unveraenderlich versionieren",
|
|
54581
|
+
"description": "Editor mit Kostenstellenzugang erforderlich. Revalidiert Vorschau, Originalbytes, Kursversion und Periodensperren. Archiviert die Originalbytes unabhaengig vom Arbeitsbeleg. Kein Update der Buchwerte und keine UStVA-Freigabe.",
|
|
52619
54582
|
"responses": {
|
|
52620
|
-
"
|
|
54583
|
+
"200": {
|
|
52621
54584
|
"description": "JSON response",
|
|
52622
54585
|
"content": {
|
|
52623
54586
|
"application/json": {
|
|
@@ -52656,16 +54619,142 @@
|
|
|
52656
54619
|
]
|
|
52657
54620
|
}
|
|
52658
54621
|
},
|
|
52659
|
-
"required": [
|
|
52660
|
-
"success",
|
|
52661
|
-
"data"
|
|
52662
|
-
],
|
|
52663
|
-
"additionalProperties": false
|
|
52664
|
-
}
|
|
54622
|
+
"required": [
|
|
54623
|
+
"success",
|
|
54624
|
+
"data"
|
|
54625
|
+
],
|
|
54626
|
+
"additionalProperties": false
|
|
54627
|
+
}
|
|
54628
|
+
}
|
|
54629
|
+
}
|
|
54630
|
+
}
|
|
54631
|
+
},
|
|
54632
|
+
"parameters": [
|
|
54633
|
+
{
|
|
54634
|
+
"name": "id",
|
|
54635
|
+
"in": "path",
|
|
54636
|
+
"required": true,
|
|
54637
|
+
"schema": {
|
|
54638
|
+
"type": "integer",
|
|
54639
|
+
"exclusiveMinimum": 0
|
|
54640
|
+
}
|
|
54641
|
+
}
|
|
54642
|
+
],
|
|
54643
|
+
"requestBody": {
|
|
54644
|
+
"required": true,
|
|
54645
|
+
"content": {
|
|
54646
|
+
"application/json": {
|
|
54647
|
+
"schema": {
|
|
54648
|
+
"type": "object",
|
|
54649
|
+
"properties": {
|
|
54650
|
+
"review": {
|
|
54651
|
+
"type": "object",
|
|
54652
|
+
"properties": {
|
|
54653
|
+
"currency": {
|
|
54654
|
+
"type": "string",
|
|
54655
|
+
"pattern": "^[A-Z]{3}$"
|
|
54656
|
+
},
|
|
54657
|
+
"originalNet": {
|
|
54658
|
+
"type": "string",
|
|
54659
|
+
"pattern": "^(?:0|[1-9]\\d{0,15})(?:\\.\\d{1,6})?$"
|
|
54660
|
+
},
|
|
54661
|
+
"originalTax": {
|
|
54662
|
+
"type": "string",
|
|
54663
|
+
"pattern": "^(?:0|[1-9]\\d{0,15})(?:\\.\\d{1,6})?$"
|
|
54664
|
+
},
|
|
54665
|
+
"originalGross": {
|
|
54666
|
+
"type": "string",
|
|
54667
|
+
"pattern": "^(?:0|[1-9]\\d{0,15})(?:\\.\\d{1,6})?$"
|
|
54668
|
+
},
|
|
54669
|
+
"invoiceDay": {
|
|
54670
|
+
"type": "string",
|
|
54671
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
54672
|
+
},
|
|
54673
|
+
"performanceDay": {
|
|
54674
|
+
"type": "string",
|
|
54675
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
54676
|
+
},
|
|
54677
|
+
"invoiceReference": {
|
|
54678
|
+
"type": "string",
|
|
54679
|
+
"minLength": 1,
|
|
54680
|
+
"maxLength": 200
|
|
54681
|
+
},
|
|
54682
|
+
"reviewNote": {
|
|
54683
|
+
"type": "string",
|
|
54684
|
+
"minLength": 10,
|
|
54685
|
+
"maxLength": 2000
|
|
54686
|
+
},
|
|
54687
|
+
"quoteVersionId": {
|
|
54688
|
+
"type": "string",
|
|
54689
|
+
"minLength": 1,
|
|
54690
|
+
"maxLength": 200
|
|
54691
|
+
}
|
|
54692
|
+
},
|
|
54693
|
+
"required": [
|
|
54694
|
+
"currency",
|
|
54695
|
+
"originalNet",
|
|
54696
|
+
"originalTax",
|
|
54697
|
+
"originalGross",
|
|
54698
|
+
"invoiceDay",
|
|
54699
|
+
"performanceDay",
|
|
54700
|
+
"invoiceReference",
|
|
54701
|
+
"reviewNote"
|
|
54702
|
+
],
|
|
54703
|
+
"additionalProperties": false
|
|
54704
|
+
},
|
|
54705
|
+
"expectedExpenseFingerprint": {
|
|
54706
|
+
"type": "string",
|
|
54707
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
54708
|
+
},
|
|
54709
|
+
"expectedPreviousFingerprint": {
|
|
54710
|
+
"anyOf": [
|
|
54711
|
+
{
|
|
54712
|
+
"type": "string",
|
|
54713
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
54714
|
+
},
|
|
54715
|
+
{
|
|
54716
|
+
"type": "null"
|
|
54717
|
+
}
|
|
54718
|
+
]
|
|
54719
|
+
},
|
|
54720
|
+
"expectedPreviewFingerprint": {
|
|
54721
|
+
"type": "string",
|
|
54722
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
54723
|
+
}
|
|
54724
|
+
},
|
|
54725
|
+
"required": [
|
|
54726
|
+
"review",
|
|
54727
|
+
"expectedExpenseFingerprint",
|
|
54728
|
+
"expectedPreviousFingerprint",
|
|
54729
|
+
"expectedPreviewFingerprint"
|
|
54730
|
+
],
|
|
54731
|
+
"additionalProperties": false
|
|
52665
54732
|
}
|
|
52666
54733
|
}
|
|
52667
|
-
}
|
|
52668
|
-
|
|
54734
|
+
}
|
|
54735
|
+
},
|
|
54736
|
+
"security": [
|
|
54737
|
+
{
|
|
54738
|
+
"frontendBearer": []
|
|
54739
|
+
}
|
|
54740
|
+
],
|
|
54741
|
+
"x-transport": "http",
|
|
54742
|
+
"x-permissions": [
|
|
54743
|
+
"bookkeeping_access"
|
|
54744
|
+
]
|
|
54745
|
+
}
|
|
54746
|
+
},
|
|
54747
|
+
"/bookkeeping/expenses/:id/foreign-receipt-preview": {
|
|
54748
|
+
"post": {
|
|
54749
|
+
"operationId": "expense_foreign_receipt_preview",
|
|
54750
|
+
"tags": [
|
|
54751
|
+
"bookkeeping",
|
|
54752
|
+
"expenses"
|
|
54753
|
+
],
|
|
54754
|
+
"summary": "Originalwerte und BMF-Umrechnung vorpruefen",
|
|
54755
|
+
"description": "Prueft einen vollstaendigen §13b-Leistungsbeleg ohne Lieferantensteuer. Keine Anzahlungen, Teilleistungen, OSS oder Einfuhrumsatzsteuer. Speichert nichts und entsperrt keine Berichte.",
|
|
54756
|
+
"responses": {
|
|
54757
|
+
"200": {
|
|
52669
54758
|
"description": "JSON response",
|
|
52670
54759
|
"content": {
|
|
52671
54760
|
"application/json": {
|
|
@@ -52732,168 +54821,113 @@
|
|
|
52732
54821
|
"schema": {
|
|
52733
54822
|
"type": "object",
|
|
52734
54823
|
"properties": {
|
|
52735
|
-
"
|
|
54824
|
+
"currency": {
|
|
52736
54825
|
"type": "string",
|
|
52737
|
-
"
|
|
52738
|
-
"maxLength": 255
|
|
52739
|
-
},
|
|
52740
|
-
"description": {
|
|
52741
|
-
"anyOf": [
|
|
52742
|
-
{
|
|
52743
|
-
"type": "string"
|
|
52744
|
-
},
|
|
52745
|
-
{
|
|
52746
|
-
"type": "null"
|
|
52747
|
-
}
|
|
52748
|
-
]
|
|
54826
|
+
"pattern": "^[A-Z]{3}$"
|
|
52749
54827
|
},
|
|
52750
|
-
"
|
|
54828
|
+
"originalNet": {
|
|
52751
54829
|
"type": "string",
|
|
52752
|
-
"
|
|
52753
|
-
"equipment",
|
|
52754
|
-
"vehicle",
|
|
52755
|
-
"software",
|
|
52756
|
-
"furniture",
|
|
52757
|
-
"leasehold_improvement",
|
|
52758
|
-
"other"
|
|
52759
|
-
]
|
|
54830
|
+
"pattern": "^(?:0|[1-9]\\d{0,15})(?:\\.\\d{1,6})?$"
|
|
52760
54831
|
},
|
|
52761
|
-
"
|
|
54832
|
+
"originalTax": {
|
|
52762
54833
|
"type": "string",
|
|
52763
|
-
"
|
|
52764
|
-
},
|
|
52765
|
-
"purchaseAmountNet": {
|
|
52766
|
-
"anyOf": [
|
|
52767
|
-
{
|
|
52768
|
-
"type": "string"
|
|
52769
|
-
},
|
|
52770
|
-
{
|
|
52771
|
-
"type": "number"
|
|
52772
|
-
}
|
|
52773
|
-
]
|
|
54834
|
+
"pattern": "^(?:0|[1-9]\\d{0,15})(?:\\.\\d{1,6})?$"
|
|
52774
54835
|
},
|
|
52775
|
-
"
|
|
54836
|
+
"originalGross": {
|
|
52776
54837
|
"type": "string",
|
|
52777
|
-
"
|
|
52778
|
-
"maxLength": 3
|
|
54838
|
+
"pattern": "^(?:0|[1-9]\\d{0,15})(?:\\.\\d{1,6})?$"
|
|
52779
54839
|
},
|
|
52780
|
-
"
|
|
52781
|
-
"type": "integer",
|
|
52782
|
-
"exclusiveMinimum": 0
|
|
52783
|
-
},
|
|
52784
|
-
"depreciationMethod": {
|
|
54840
|
+
"invoiceDay": {
|
|
52785
54841
|
"type": "string",
|
|
52786
|
-
"
|
|
52787
|
-
"linear",
|
|
52788
|
-
"immediate_gwg",
|
|
52789
|
-
"none"
|
|
52790
|
-
]
|
|
52791
|
-
},
|
|
52792
|
-
"residualValue": {
|
|
52793
|
-
"anyOf": [
|
|
52794
|
-
{
|
|
52795
|
-
"type": "string"
|
|
52796
|
-
},
|
|
52797
|
-
{
|
|
52798
|
-
"type": "number"
|
|
52799
|
-
}
|
|
52800
|
-
]
|
|
54842
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
52801
54843
|
},
|
|
52802
|
-
"
|
|
54844
|
+
"performanceDay": {
|
|
52803
54845
|
"type": "string",
|
|
52804
|
-
"
|
|
52805
|
-
"NONE",
|
|
52806
|
-
"FULL",
|
|
52807
|
-
"PARTIAL"
|
|
52808
|
-
]
|
|
52809
|
-
},
|
|
52810
|
-
"inputVatAmount": {
|
|
52811
|
-
"anyOf": [
|
|
52812
|
-
{
|
|
52813
|
-
"anyOf": [
|
|
52814
|
-
{
|
|
52815
|
-
"type": "string"
|
|
52816
|
-
},
|
|
52817
|
-
{
|
|
52818
|
-
"type": "number"
|
|
52819
|
-
}
|
|
52820
|
-
]
|
|
52821
|
-
},
|
|
52822
|
-
{
|
|
52823
|
-
"type": "null"
|
|
52824
|
-
}
|
|
52825
|
-
]
|
|
52826
|
-
},
|
|
52827
|
-
"inputVatRate": {
|
|
52828
|
-
"anyOf": [
|
|
52829
|
-
{
|
|
52830
|
-
"anyOf": [
|
|
52831
|
-
{
|
|
52832
|
-
"type": "string"
|
|
52833
|
-
},
|
|
52834
|
-
{
|
|
52835
|
-
"type": "number"
|
|
52836
|
-
}
|
|
52837
|
-
]
|
|
52838
|
-
},
|
|
52839
|
-
{
|
|
52840
|
-
"type": "null"
|
|
52841
|
-
}
|
|
52842
|
-
]
|
|
52843
|
-
},
|
|
52844
|
-
"vendorName": {
|
|
52845
|
-
"anyOf": [
|
|
52846
|
-
{
|
|
52847
|
-
"type": "string"
|
|
52848
|
-
},
|
|
52849
|
-
{
|
|
52850
|
-
"type": "null"
|
|
52851
|
-
}
|
|
52852
|
-
]
|
|
52853
|
-
},
|
|
52854
|
-
"vendorInvoiceNumber": {
|
|
52855
|
-
"anyOf": [
|
|
52856
|
-
{
|
|
52857
|
-
"type": "string"
|
|
52858
|
-
},
|
|
52859
|
-
{
|
|
52860
|
-
"type": "null"
|
|
52861
|
-
}
|
|
52862
|
-
]
|
|
54846
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
52863
54847
|
},
|
|
52864
|
-
"
|
|
52865
|
-
"
|
|
52866
|
-
|
|
52867
|
-
|
|
52868
|
-
"exclusiveMinimum": 0
|
|
52869
|
-
},
|
|
52870
|
-
{
|
|
52871
|
-
"type": "null"
|
|
52872
|
-
}
|
|
52873
|
-
]
|
|
54848
|
+
"invoiceReference": {
|
|
54849
|
+
"type": "string",
|
|
54850
|
+
"minLength": 1,
|
|
54851
|
+
"maxLength": 200
|
|
52874
54852
|
},
|
|
52875
|
-
"
|
|
52876
|
-
"
|
|
52877
|
-
|
|
52878
|
-
|
|
52879
|
-
"exclusiveMinimum": 0
|
|
52880
|
-
},
|
|
52881
|
-
{
|
|
52882
|
-
"type": "null"
|
|
52883
|
-
}
|
|
52884
|
-
]
|
|
54853
|
+
"reviewNote": {
|
|
54854
|
+
"type": "string",
|
|
54855
|
+
"minLength": 10,
|
|
54856
|
+
"maxLength": 2000
|
|
52885
54857
|
},
|
|
52886
|
-
"
|
|
52887
|
-
"type": "
|
|
52888
|
-
"
|
|
54858
|
+
"quoteVersionId": {
|
|
54859
|
+
"type": "string",
|
|
54860
|
+
"minLength": 1,
|
|
54861
|
+
"maxLength": 200
|
|
52889
54862
|
}
|
|
52890
54863
|
},
|
|
52891
|
-
"
|
|
52892
|
-
|
|
54864
|
+
"required": [
|
|
54865
|
+
"currency",
|
|
54866
|
+
"originalNet",
|
|
54867
|
+
"originalTax",
|
|
54868
|
+
"originalGross",
|
|
54869
|
+
"invoiceDay",
|
|
54870
|
+
"performanceDay",
|
|
54871
|
+
"invoiceReference",
|
|
54872
|
+
"reviewNote"
|
|
54873
|
+
],
|
|
54874
|
+
"additionalProperties": false
|
|
54875
|
+
}
|
|
54876
|
+
}
|
|
54877
|
+
}
|
|
54878
|
+
},
|
|
54879
|
+
"security": [
|
|
54880
|
+
{
|
|
54881
|
+
"frontendBearer": []
|
|
54882
|
+
}
|
|
54883
|
+
],
|
|
54884
|
+
"x-transport": "http",
|
|
54885
|
+
"x-permissions": [
|
|
54886
|
+
"bookkeeping_access"
|
|
54887
|
+
]
|
|
54888
|
+
}
|
|
54889
|
+
},
|
|
54890
|
+
"/bookkeeping/expenses/:id/foreign-receipt-versions/:versionId/original": {
|
|
54891
|
+
"get": {
|
|
54892
|
+
"operationId": "expense_foreign_receipt_original",
|
|
54893
|
+
"tags": [
|
|
54894
|
+
"bookkeeping",
|
|
54895
|
+
"expenses"
|
|
54896
|
+
],
|
|
54897
|
+
"summary": "Archivierten Originalbeleg mit Inhaltspruefung herunterladen",
|
|
54898
|
+
"responses": {
|
|
54899
|
+
"200": {
|
|
54900
|
+
"description": "Binary response",
|
|
54901
|
+
"content": {
|
|
54902
|
+
"application/octet-stream": {
|
|
54903
|
+
"schema": {
|
|
54904
|
+
"type": "string",
|
|
54905
|
+
"format": "binary"
|
|
54906
|
+
}
|
|
52893
54907
|
}
|
|
52894
54908
|
}
|
|
52895
54909
|
}
|
|
52896
54910
|
},
|
|
54911
|
+
"parameters": [
|
|
54912
|
+
{
|
|
54913
|
+
"name": "id",
|
|
54914
|
+
"in": "path",
|
|
54915
|
+
"required": true,
|
|
54916
|
+
"schema": {
|
|
54917
|
+
"type": "integer",
|
|
54918
|
+
"exclusiveMinimum": 0
|
|
54919
|
+
}
|
|
54920
|
+
},
|
|
54921
|
+
{
|
|
54922
|
+
"name": "versionId",
|
|
54923
|
+
"in": "path",
|
|
54924
|
+
"required": true,
|
|
54925
|
+
"schema": {
|
|
54926
|
+
"type": "integer",
|
|
54927
|
+
"exclusiveMinimum": 0
|
|
54928
|
+
}
|
|
54929
|
+
}
|
|
54930
|
+
],
|
|
52897
54931
|
"security": [
|
|
52898
54932
|
{
|
|
52899
54933
|
"frontendBearer": []
|