@vario-software/types 2026.43.3 → 2026.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ import {
2
2
  EavAccount, EavAccountaddress, EavAccountlisting, EavAccountperson,
3
3
  EavArticle, EavArticleListing, EavArticleListingDescription,
4
4
  EavArticleserialnumber, EavAsset, EavContact, EavCrmactivity, EavCrmdeal,
5
- EavCrmproject, EavCrmtask, EavDocument, EavDocumentline,
5
+ EavCrmproject, EavCrmtask, EavCrmtaskform, EavDocument, EavDocumentline,
6
6
  EavDocumentlinecomponent, EavFabrication, EavFabricationline,
7
7
  EavFabricationlinecomponent, EavProductgroup, EavProductmaingroup,
8
8
  EavSalesagent, EavShelfdocument, EavShelfshare, EavTextenumeration,
@@ -302,14 +302,14 @@ export interface AccountAddress {
302
302
  postOfficeBox: string;
303
303
 
304
304
  /**
305
- * Street
305
+ * Country code
306
306
  */
307
- street: string;
307
+ countryCode: string;
308
308
 
309
309
  /**
310
- * Country code
310
+ * Street
311
311
  */
312
- countryCode: string;
312
+ street: string;
313
313
 
314
314
  /**
315
315
  * Unique identifier of the Object
@@ -1075,14 +1075,14 @@ export interface Article {
1075
1075
  number: string;
1076
1076
 
1077
1077
  /**
1078
- * Options for calculating the availability.
1078
+ * weight and size w.o. packaging
1079
1079
  */
1080
- availabilityDetermination: ArticleAvailabilityDetermination;
1080
+ netMetric: Article$Metric;
1081
1081
 
1082
1082
  /**
1083
- * weight and size w.o. packaging
1083
+ * Options for calculating the availability.
1084
1084
  */
1085
- netMetric: Article$Metric;
1085
+ availabilityDetermination: ArticleAvailabilityDetermination;
1086
1086
 
1087
1087
  /**
1088
1088
  * is this product mergeable to another package-variant
@@ -1195,14 +1195,14 @@ export interface Article {
1195
1195
  returnable: boolean;
1196
1196
 
1197
1197
  /**
1198
- * Sales unit.
1198
+ * weight and size inc. packaging
1199
1199
  */
1200
- salesUnit: number;
1200
+ grossMetric: Article$Metric;
1201
1201
 
1202
1202
  /**
1203
- * weight and size inc. packaging
1203
+ * Sales unit.
1204
1204
  */
1205
- grossMetric: Article$Metric;
1205
+ salesUnit: number;
1206
1206
 
1207
1207
  /**
1208
1208
  * name of this product
@@ -1235,14 +1235,14 @@ export interface Article {
1235
1235
  freelyPickable: boolean;
1236
1236
 
1237
1237
  /**
1238
- * A lot must be assigned when booking into a sales storage (for serial types LOT and BEST_BEFORE).
1238
+ * Is the tax liability reversed under §13b UStG?
1239
1239
  */
1240
- lotOnlyRequiredWhenBookedToSalesStorage: boolean;
1240
+ taxLiabilityReversed: boolean;
1241
1241
 
1242
1242
  /**
1243
- * Is the tax liability reversed under §13b UStG?
1243
+ * A lot must be assigned when booking into a sales storage (for serial types LOT and BEST_BEFORE).
1244
1244
  */
1245
- taxLiabilityReversed: boolean;
1245
+ lotOnlyRequiredWhenBookedToSalesStorage: boolean;
1246
1246
 
1247
1247
  /**
1248
1248
  * Note.
@@ -1265,14 +1265,14 @@ export interface Article {
1265
1265
  description: string;
1266
1266
 
1267
1267
  /**
1268
- * Price look-up code (PLU).
1268
+ * Special remark.
1269
1269
  */
1270
- priceLookUpCode: string;
1270
+ remark: string;
1271
1271
 
1272
1272
  /**
1273
- * Special remark.
1273
+ * Price look-up code (PLU).
1274
1274
  */
1275
- remark: string;
1275
+ priceLookUpCode: string;
1276
1276
 
1277
1277
  /**
1278
1278
  * is this product sellable
@@ -1289,6 +1289,11 @@ export interface Article {
1289
1289
  */
1290
1290
  capacity: number;
1291
1291
 
1292
+ /**
1293
+ * Minimum remaining shelf life incoming (days): minimum remaining shelf life in days an article must still have when booked into a sales storage.
1294
+ */
1295
+ minimumRemainingDaysBeforeExpiryDateOnGoodsReceipt: number;
1296
+
1292
1297
  /**
1293
1298
  * gross sales prices
1294
1299
  */
@@ -1299,11 +1304,6 @@ export interface Article {
1299
1304
  */
1300
1305
  defaultFabricationCost: number;
1301
1306
 
1302
- /**
1303
- * Minimum remaining shelf life incoming (days): minimum remaining shelf life in days an article must still have when booked into a sales storage.
1304
- */
1305
- minimumRemainingDaysBeforeExpiryDateOnGoodsReceipt: number;
1306
-
1307
1307
  /**
1308
1308
  * Last purchase price (initial value).
1309
1309
  */
@@ -1468,14 +1468,14 @@ export interface Article$Metric {
1468
1468
  sizeY: number;
1469
1469
 
1470
1470
  /**
1471
- * weight unit
1471
+ * size
1472
1472
  */
1473
- weightUnit: UnitTypeReference;
1473
+ sizeZ: number;
1474
1474
 
1475
1475
  /**
1476
- * size
1476
+ * weight unit
1477
1477
  */
1478
- sizeZ: number;
1478
+ weightUnit: UnitTypeReference;
1479
1479
  }
1480
1480
 
1481
1481
  export interface ArticleAssetInformation {
@@ -1781,14 +1781,14 @@ export interface ArticleListing {
1781
1781
  proposedLowestPriceGross: number;
1782
1782
 
1783
1783
  /**
1784
- * Sales channel.
1784
+ * Lowest gross price of the last 30 days (user-defined input).
1785
1785
  */
1786
- salesChannelRef: ApiObjectReference;
1786
+ customLowestPriceGross: number;
1787
1787
 
1788
1788
  /**
1789
- * Lowest gross price of the last 30 days (user-defined input).
1789
+ * Sales channel.
1790
1790
  */
1791
- customLowestPriceGross: number;
1791
+ salesChannelRef: ApiObjectReference;
1792
1792
 
1793
1793
  /**
1794
1794
  * Should the article be listed?
@@ -2024,20 +2024,15 @@ export const enum ArticleSerialType {
2024
2024
 
2025
2025
  export interface ArticleStorage {
2026
2026
 
2027
- /**
2028
- * Stock in the storage.
2029
- */
2030
- quantityInStock: number;
2031
-
2032
2027
  /**
2033
2028
  * Replenish from.
2034
2029
  */
2035
2030
  replenishmentFrom: number;
2036
2031
 
2037
2032
  /**
2038
- * Current quantity in picking.
2033
+ * Stock in the storage.
2039
2034
  */
2040
- quantityInPicking: number;
2035
+ quantityInStock: number;
2041
2036
 
2042
2037
  /**
2043
2038
  * Reorder level.
@@ -2050,15 +2045,20 @@ export interface ArticleStorage {
2050
2045
  orderedQuantity: number;
2051
2046
 
2052
2047
  /**
2053
- * Current "virtual" stock (if larger containers were dissolved into this one).
2048
+ * Current quantity in picking.
2054
2049
  */
2055
- virtualStockAmount: number;
2050
+ quantityInPicking: number;
2056
2051
 
2057
2052
  /**
2058
2053
  * Replenish to.
2059
2054
  */
2060
2055
  replenishmentOn: number;
2061
2056
 
2057
+ /**
2058
+ * Current "virtual" stock (if larger containers were dissolved into this one).
2059
+ */
2060
+ virtualStockAmount: number;
2061
+
2062
2062
  /**
2063
2063
  * Reserved quantity.
2064
2064
  */
@@ -2138,14 +2138,14 @@ export interface ArticleSupplier {
2138
2138
  useSupplierArticleDescription: boolean;
2139
2139
 
2140
2140
  /**
2141
- * Supplier reorder level.
2141
+ * Account display name.
2142
2142
  */
2143
- supplierReportingStock: number;
2143
+ accountDisplayName: string;
2144
2144
 
2145
2145
  /**
2146
- * Account display name.
2146
+ * Supplier reorder level.
2147
2147
  */
2148
- accountDisplayName: string;
2148
+ supplierReportingStock: number;
2149
2149
 
2150
2150
  /**
2151
2151
  * Should the deviating product identifier be used (e.g. when scanning)?
@@ -2208,15 +2208,20 @@ export interface ArticleSupplier {
2208
2208
  info: MetaInfo;
2209
2209
 
2210
2210
  /**
2211
- * Referenced Article name
2211
+ * Tax schema used for purchases from this supplier instead of the article's tax schema
2212
2212
  */
2213
- articleName: string;
2213
+ taxSchemaRef: ApiObjectReference;
2214
2214
 
2215
2215
  /**
2216
2216
  * Packaging unit.
2217
2217
  */
2218
2218
  packagingUnit: number;
2219
2219
 
2220
+ /**
2221
+ * Referenced Article name
2222
+ */
2223
+ articleName: string;
2224
+
2220
2225
  /**
2221
2226
  * Supplier prices.
2222
2227
  */
@@ -2263,14 +2268,14 @@ export interface ArticleSupplier {
2263
2268
  defaultNetPrice: number;
2264
2269
 
2265
2270
  /**
2266
- * Should assemblies be ordered on a component basis?
2271
+ * Purchase unit.
2267
2272
  */
2268
- orderOnComponentBase: boolean;
2273
+ purchaseUnit: number;
2269
2274
 
2270
2275
  /**
2271
- * Purchase unit.
2276
+ * Should assemblies be ordered on a component basis?
2272
2277
  */
2273
- purchaseUnit: number;
2278
+ orderOnComponentBase: boolean;
2274
2279
 
2275
2280
  /**
2276
2281
  * Referenced Supplier-Account
@@ -2456,6 +2461,11 @@ export interface AssetType {
2456
2461
  */
2457
2462
  version: number;
2458
2463
 
2464
+ /**
2465
+ * Forms (additional field groups) that can be filled in tasks for assets of this type
2466
+ */
2467
+ formRefs: Array<ApiObjectReference>;
2468
+
2459
2469
  /**
2460
2470
  * MetaInformations for this Object
2461
2471
  */
@@ -2716,6 +2726,7 @@ export const enum CommonUserType {
2716
2726
  LIMITED_POS = 'LIMITED_POS',
2717
2727
  LIMITED_DASHBOARD = 'LIMITED_DASHBOARD',
2718
2728
  LIMITED_AGENT = 'LIMITED_AGENT',
2729
+ LIMITED_TECHNICIAN = 'LIMITED_TECHNICIAN',
2719
2730
  APP_BUILTIN_USER = 'APP_BUILTIN_USER'
2720
2731
  }
2721
2732
 
@@ -2807,14 +2818,14 @@ export interface CountryReference {
2807
2818
  export interface CreateNewDocumentRequest {
2808
2819
 
2809
2820
  /**
2810
- * Standard-Belegart der Kategorie verwenden
2821
+ * Belegart
2811
2822
  */
2812
- defaultDocumentTypeByCategory: EDocumentCategory;
2823
+ documentTypeLabel: string;
2813
2824
 
2814
2825
  /**
2815
- * Belegart
2826
+ * Standard-Belegart der Kategorie verwenden
2816
2827
  */
2817
- documentTypeLabel: string;
2828
+ defaultDocumentTypeByCategory: EDocumentCategory;
2818
2829
 
2819
2830
  /**
2820
2831
  * Beleg als extern erstellt kennzeichnen (extern erstellter Beleg)
@@ -2930,14 +2941,14 @@ export interface CrmActivity {
2930
2941
  userRef: ApiObjectReference;
2931
2942
 
2932
2943
  /**
2933
- * Actual start time.
2944
+ * Is this a system activity?
2934
2945
  */
2935
- startDateTime: ScriptingDateTime;
2946
+ system: boolean;
2936
2947
 
2937
2948
  /**
2938
- * Is this a system activity?
2949
+ * Actual start time.
2939
2950
  */
2940
- system: boolean;
2951
+ startDateTime: ScriptingDateTime;
2941
2952
 
2942
2953
  /**
2943
2954
  * Activity content.
@@ -2963,8 +2974,31 @@ export const enum CrmActivityBillingType {
2963
2974
  PLANNED = 'PLANNED'
2964
2975
  }
2965
2976
 
2977
+ export interface CrmActivityOffHours {
2978
+
2979
+ /**
2980
+ * Day of the week the off-hours apply to.
2981
+ */
2982
+ dayOfWeek: DayOfWeek;
2983
+
2984
+ /**
2985
+ * Start time of the off-hours.
2986
+ */
2987
+ from: string;
2988
+
2989
+ /**
2990
+ * End time of the off-hours.
2991
+ */
2992
+ to: string;
2993
+ }
2994
+
2966
2995
  export interface CrmActivityType {
2967
2996
 
2997
+ /**
2998
+ * Is a surcharge applied on Sundays?
2999
+ */
3000
+ surchargeOnSunday: boolean;
3001
+
2968
3002
  /**
2969
3003
  * Text for the activity type that is entered in the editor.
2970
3004
  */
@@ -2985,6 +3019,11 @@ export interface CrmActivityType {
2985
3019
  */
2986
3020
  description: string;
2987
3021
 
3022
+ /**
3023
+ * Is a surcharge applied on public holidays?
3024
+ */
3025
+ surchargeOnHoliday: boolean;
3026
+
2988
3027
  /**
2989
3028
  * Label.
2990
3029
  */
@@ -3020,6 +3059,21 @@ export interface CrmActivityType {
3020
3059
  */
3021
3060
  sortOrder: number;
3022
3061
 
3062
+ /**
3063
+ * Off-hours per day of the week in which a surcharge applies. At most one entry per day.
3064
+ */
3065
+ offHours: Array<CrmActivityOffHours>;
3066
+
3067
+ /**
3068
+ * Is the billing split when the activity overlaps with surcharge periods?
3069
+ */
3070
+ splitBillingOnOverlap: boolean;
3071
+
3072
+ /**
3073
+ * Is a surcharge applied on Saturdays?
3074
+ */
3075
+ surchargeOnSaturday: boolean;
3076
+
3023
3077
  /**
3024
3078
  * Default billing type.
3025
3079
  */
@@ -3453,14 +3507,14 @@ export interface CrmProject {
3453
3507
  priorityRef: ApiObjectReference;
3454
3508
 
3455
3509
  /**
3456
- * Phase
3510
+ * Contractor project manager.
3457
3511
  */
3458
- phaseRef: ApiObjectReference;
3512
+ projectManagerOfContractor: CrmParticipant;
3459
3513
 
3460
3514
  /**
3461
- * Contractor project manager.
3515
+ * Phase
3462
3516
  */
3463
- projectManagerOfContractor: CrmParticipant;
3517
+ phaseRef: ApiObjectReference;
3464
3518
 
3465
3519
  /**
3466
3520
  * Task number.
@@ -3478,14 +3532,14 @@ export interface CrmProject {
3478
3532
  billedTimes: number;
3479
3533
 
3480
3534
  /**
3481
- * Purchase documents.
3535
+ * Planned project period (from).
3482
3536
  */
3483
- purchaseDocumentRefs: Array<DocumentRef>;
3537
+ plannedProjectPeriodFrom: ScriptingDate;
3484
3538
 
3485
3539
  /**
3486
- * Planned project period (from).
3540
+ * Purchase documents.
3487
3541
  */
3488
- plannedProjectPeriodFrom: ScriptingDate;
3542
+ purchaseDocumentRefs: Array<DocumentRef>;
3489
3543
 
3490
3544
  /**
3491
3545
  * Sales documents.
@@ -3616,14 +3670,14 @@ export const enum CrmReferenceType {
3616
3670
  export interface CrmReminder {
3617
3671
 
3618
3672
  /**
3619
- * CRM object identifier.
3673
+ * Note on the reminder.
3620
3674
  */
3621
- crmId: number;
3675
+ note: string;
3622
3676
 
3623
3677
  /**
3624
- * Note on the reminder.
3678
+ * CRM object identifier.
3625
3679
  */
3626
- note: string;
3680
+ crmId: number;
3627
3681
 
3628
3682
  /**
3629
3683
  * Who is to be reminded?
@@ -3731,6 +3785,11 @@ export interface CrmState {
3731
3785
 
3732
3786
  export interface CrmSubType {
3733
3787
 
3788
+ /**
3789
+ * may tasks of this sub-type book material?
3790
+ */
3791
+ withMaterialBooking: boolean;
3792
+
3734
3793
  /**
3735
3794
  * Sort order.
3736
3795
  */
@@ -3761,6 +3820,11 @@ export interface CrmSubType {
3761
3820
  */
3762
3821
  version: number;
3763
3822
 
3823
+ /**
3824
+ * Forms (additional field groups) that can be filled in tasks of this type; only allowed for task types
3825
+ */
3826
+ formRefs: Array<ApiObjectReference>;
3827
+
3764
3828
  /**
3765
3829
  * MetaInformations for this Object
3766
3830
  */
@@ -3775,14 +3839,14 @@ export interface CrmTask {
3775
3839
  mainResponsibleParticipantRef: ApiObjectReference;
3776
3840
 
3777
3841
  /**
3778
- * Reminders.
3842
+ * Customer offer.
3779
3843
  */
3780
- reminders: Array<CrmReminder>;
3844
+ customerOfferRef: DocumentRef;
3781
3845
 
3782
3846
  /**
3783
- * Customer offer.
3847
+ * Reminders.
3784
3848
  */
3785
- customerOfferRef: DocumentRef;
3849
+ reminders: Array<CrmReminder>;
3786
3850
 
3787
3851
  /**
3788
3852
  * Notes.
@@ -3794,6 +3858,11 @@ export interface CrmTask {
3794
3858
  */
3795
3859
  references: Array<CrmReference>;
3796
3860
 
3861
+ /**
3862
+ * target Storage for material pickup
3863
+ */
3864
+ materialTargetStorageRef: ApiObjectReference;
3865
+
3797
3866
  /**
3798
3867
  * Observers.
3799
3868
  */
@@ -3829,6 +3898,11 @@ export interface CrmTask {
3829
3898
  */
3830
3899
  internalRecordedTimes: number;
3831
3900
 
3901
+ /**
3902
+ * Optional appointment (date and time) for the task
3903
+ */
3904
+ appointmentDateTime: ScriptingDateTime;
3905
+
3832
3906
  /**
3833
3907
  * Purchase documents.
3834
3908
  */
@@ -3894,6 +3968,11 @@ export interface CrmTask {
3894
3968
  */
3895
3969
  dueDateTime: ScriptingDateTime;
3896
3970
 
3971
+ /**
3972
+ * Assets the task refers to
3973
+ */
3974
+ assetRefs: Array<ApiObjectReference>;
3975
+
3897
3976
  /**
3898
3977
  * Responsible user.
3899
3978
  */
@@ -3934,6 +4013,11 @@ export interface CrmTask {
3934
4013
  */
3935
4014
  description: string;
3936
4015
 
4016
+ /**
4017
+ * task lines
4018
+ */
4019
+ taskLines: Array<CrmTaskLine>;
4020
+
3937
4021
  /**
3938
4022
  * Task status.
3939
4023
  */
@@ -4052,93 +4136,298 @@ export const enum CrmTaskBillingType {
4052
4136
  INTERNAL = 'INTERNAL'
4053
4137
  }
4054
4138
 
4055
- export interface CrmTaskParticipant {
4139
+ export interface CrmTaskForm {
4056
4140
 
4057
4141
  /**
4058
- * Observers.
4142
+ * Form template (additional field group)
4059
4143
  */
4060
- observer: boolean;
4144
+ formRef: ApiObjectReference;
4061
4145
 
4062
4146
  /**
4063
- * Description.
4147
+ * Asset of the task the form refers to; empty for forms of the task itself
4064
4148
  */
4065
- description: string;
4149
+ assetRef: ApiObjectReference;
4066
4150
 
4067
4151
  /**
4068
- * Unique identifier of the Object
4152
+ * Sort order within the task
4069
4153
  */
4070
- id: number;
4154
+ sortOrder: number;
4071
4155
 
4072
4156
  /**
4073
- * Comment on the vote.
4157
+ * Task the form belongs to
4074
4158
  */
4075
- voteComment: string;
4159
+ crmTaskRef: ApiObjectReference;
4076
4160
 
4077
4161
  /**
4078
- * Contact person.
4162
+ * State of the form
4079
4163
  */
4080
- accountPersonRef: ApiObjectReference;
4164
+ state: CrmTaskFormState;
4081
4165
 
4082
4166
  /**
4083
- * Vote.
4167
+ * Unique identifier of the Object
4084
4168
  */
4085
- vote: boolean;
4169
+ id: number;
4086
4170
 
4087
4171
  /**
4088
4172
  * Version Identifier for this Object (for PUT)
4089
4173
  */
4090
4174
  version: number;
4091
4175
 
4176
+ /**
4177
+ * Values of the form, stored below the key of the form template
4178
+ */
4179
+ customField: EavCrmtaskform;
4180
+
4092
4181
  /**
4093
4182
  * MetaInformations for this Object
4094
4183
  */
4095
4184
  info: MetaInfo;
4096
4185
  }
4097
4186
 
4098
- export const enum CrmType {
4099
- TASK = 'TASK',
4100
- DEAL = 'DEAL',
4101
- PROJECT = 'PROJECT'
4187
+ export const enum CrmTaskFormState {
4188
+ CREATED = 'CREATED',
4189
+ IN_PROGRESS = 'IN_PROGRESS',
4190
+ DONE = 'DONE'
4102
4191
  }
4103
4192
 
4104
- /**
4105
- * CRM-Belegreferenz
4106
- */
4107
- export interface CrmTypedDocumentRef {
4193
+ export interface CrmTaskLine {
4108
4194
 
4109
4195
  /**
4110
- * Typ der Belegreferenz
4196
+ * quantity
4111
4197
  */
4112
- specialRefType: ECrmSpecialDocumentRefType;
4198
+ quantity: number;
4113
4199
 
4114
4200
  /**
4115
- * Beleg-Qualifizierer
4201
+ * Position type of the line.
4116
4202
  */
4117
- documentQualifier: EDocumentQualifier;
4203
+ positionType: CrmTaskPositionType;
4118
4204
 
4119
4205
  /**
4120
- * Belegreferenz
4206
+ * picklist-line reference
4121
4207
  */
4122
- documentRef: DocumentRef;
4123
- }
4124
-
4125
- /**
4126
- * Liste von CRM-Belegreferenzen
4127
- */
4128
- export interface CrmTypedDocumentRefList {
4129
- }
4130
-
4131
- export interface CurrencyReference {
4208
+ picklistLineRef: ApiObjectReference;
4132
4209
 
4133
4210
  /**
4134
- * Currency symbol.
4211
+ * article reference
4135
4212
  */
4136
- symbol: string;
4213
+ articleRef: ApiObjectReference;
4137
4214
 
4138
4215
  /**
4139
- * Currency ISO Alpha-3 code.
4216
+ * description
4140
4217
  */
4141
- isoAlpha3: string;
4218
+ description: string;
4219
+
4220
+ /**
4221
+ * label
4222
+ */
4223
+ label: string;
4224
+
4225
+ /**
4226
+ * document-line reference
4227
+ */
4228
+ documentLineRef: ApiObjectReference;
4229
+
4230
+ /**
4231
+ * Version Identifier for this Object (for PUT)
4232
+ */
4233
+ version: number;
4234
+
4235
+ /**
4236
+ * material availability options
4237
+ */
4238
+ commissionType: CrmTaskLineCommissionType;
4239
+
4240
+ /**
4241
+ * reference to the storage
4242
+ */
4243
+ storageRef: ApiObjectReference;
4244
+
4245
+ /**
4246
+ * billingtype of the line
4247
+ */
4248
+ billingType: CrmTaskLineBillingType;
4249
+
4250
+ /**
4251
+ * price
4252
+ */
4253
+ price: number;
4254
+
4255
+ /**
4256
+ * material handed over?
4257
+ */
4258
+ handedOver: boolean;
4259
+
4260
+ /**
4261
+ * price modifiers of this line
4262
+ */
4263
+ priceModifiers: Array<CrmTaskPriceModifier>;
4264
+
4265
+ /**
4266
+ * position number
4267
+ */
4268
+ position: number;
4269
+
4270
+ /**
4271
+ * Unique identifier of the Object
4272
+ */
4273
+ id: number;
4274
+
4275
+ /**
4276
+ * MetaInformations for this Object
4277
+ */
4278
+ info: MetaInfo;
4279
+ }
4280
+
4281
+ export const enum CrmTaskLineBillingType {
4282
+ LIKE_TASK = 'LIKE_TASK',
4283
+ INDIVIDUAL = 'INDIVIDUAL'
4284
+ }
4285
+
4286
+ export const enum CrmTaskLineCommissionType {
4287
+ DELIVERY_TO_CUSTOMER = 'DELIVERY_TO_CUSTOMER',
4288
+ PICKUP_ON_STORAGE = 'PICKUP_ON_STORAGE'
4289
+ }
4290
+
4291
+ export interface CrmTaskParticipant {
4292
+
4293
+ /**
4294
+ * Observers.
4295
+ */
4296
+ observer: boolean;
4297
+
4298
+ /**
4299
+ * Description.
4300
+ */
4301
+ description: string;
4302
+
4303
+ /**
4304
+ * Unique identifier of the Object
4305
+ */
4306
+ id: number;
4307
+
4308
+ /**
4309
+ * Comment on the vote.
4310
+ */
4311
+ voteComment: string;
4312
+
4313
+ /**
4314
+ * Contact person.
4315
+ */
4316
+ accountPersonRef: ApiObjectReference;
4317
+
4318
+ /**
4319
+ * Vote.
4320
+ */
4321
+ vote: boolean;
4322
+
4323
+ /**
4324
+ * Version Identifier for this Object (for PUT)
4325
+ */
4326
+ version: number;
4327
+
4328
+ /**
4329
+ * MetaInformations for this Object
4330
+ */
4331
+ info: MetaInfo;
4332
+ }
4333
+
4334
+ export const enum CrmTaskPositionType {
4335
+ MATERIAL_LINE = 'MATERIAL_LINE',
4336
+ SERVICE_LINE = 'SERVICE_LINE'
4337
+ }
4338
+
4339
+ export interface CrmTaskPriceModifier {
4340
+
4341
+ /**
4342
+ * origin of the price modifier
4343
+ */
4344
+ sourceType: DocumentPriceModifier$PriceModifierSourceType;
4345
+
4346
+ /**
4347
+ * decides whether the value is a percentage or a fixed amount
4348
+ */
4349
+ valueType: ValueType;
4350
+
4351
+ /**
4352
+ * name of the price modifier
4353
+ */
4354
+ name: string;
4355
+
4356
+ /**
4357
+ * resulting discount or surcharge amount
4358
+ */
4359
+ calculatedValue: number;
4360
+
4361
+ /**
4362
+ * Unique identifier of the Object
4363
+ */
4364
+ id: number;
4365
+
4366
+ /**
4367
+ * value of the price modifier
4368
+ */
4369
+ value: number;
4370
+
4371
+ /**
4372
+ * decides whether the value reduces or increases the price
4373
+ */
4374
+ modifierType: PriceModifierType;
4375
+
4376
+ /**
4377
+ * Version Identifier for this Object (for PUT)
4378
+ */
4379
+ version: number;
4380
+
4381
+ /**
4382
+ * MetaInformations for this Object
4383
+ */
4384
+ info: MetaInfo;
4385
+ }
4386
+
4387
+ export const enum CrmType {
4388
+ TASK = 'TASK',
4389
+ DEAL = 'DEAL',
4390
+ PROJECT = 'PROJECT'
4391
+ }
4392
+
4393
+ /**
4394
+ * CRM-Belegreferenz
4395
+ */
4396
+ export interface CrmTypedDocumentRef {
4397
+
4398
+ /**
4399
+ * Typ der Belegreferenz
4400
+ */
4401
+ specialRefType: ECrmSpecialDocumentRefType;
4402
+
4403
+ /**
4404
+ * Beleg-Qualifizierer
4405
+ */
4406
+ documentQualifier: EDocumentQualifier;
4407
+
4408
+ /**
4409
+ * Belegreferenz
4410
+ */
4411
+ documentRef: DocumentRef;
4412
+ }
4413
+
4414
+ /**
4415
+ * Liste von CRM-Belegreferenzen
4416
+ */
4417
+ export interface CrmTypedDocumentRefList {
4418
+ }
4419
+
4420
+ export interface CurrencyReference {
4421
+
4422
+ /**
4423
+ * Currency symbol.
4424
+ */
4425
+ symbol: string;
4426
+
4427
+ /**
4428
+ * Currency ISO Alpha-3 code.
4429
+ */
4430
+ isoAlpha3: string;
4142
4431
 
4143
4432
  /**
4144
4433
  * Currency identifier.
@@ -4178,11 +4467,6 @@ export interface Customer {
4178
4467
  */
4179
4468
  dueDate: ScriptingDate;
4180
4469
 
4181
- /**
4182
- * collective billable
4183
- */
4184
- collectiveBillable: boolean;
4185
-
4186
4470
  /**
4187
4471
  * Maximum possible deliveries.
4188
4472
  */
@@ -4213,11 +4497,6 @@ export interface Customer {
4213
4497
  */
4214
4498
  stackProcessingPriority: number;
4215
4499
 
4216
- /**
4217
- * Trigger the collective billing manually only?
4218
- */
4219
- collectiveInvoiceManually: boolean;
4220
-
4221
4500
  /**
4222
4501
  * reference to product price group
4223
4502
  */
@@ -4292,6 +4571,16 @@ export interface Customer {
4292
4571
  * currency code IsoAlpha3
4293
4572
  */
4294
4573
  currencyCode: string;
4574
+
4575
+ /**
4576
+ * collective billable
4577
+ */
4578
+ collectiveBillable: boolean;
4579
+
4580
+ /**
4581
+ * Trigger the collective billing manually only?
4582
+ */
4583
+ collectiveInvoiceManually: boolean;
4295
4584
  }
4296
4585
 
4297
4586
  export interface DangerousGoodInformation {
@@ -4387,6 +4676,16 @@ export interface DangerousGoodInformation {
4387
4676
  info: MetaInfo;
4388
4677
  }
4389
4678
 
4679
+ export const enum DayOfWeek {
4680
+ MONDAY = 'MONDAY',
4681
+ TUESDAY = 'TUESDAY',
4682
+ WEDNESDAY = 'WEDNESDAY',
4683
+ THURSDAY = 'THURSDAY',
4684
+ FRIDAY = 'FRIDAY',
4685
+ SATURDAY = 'SATURDAY',
4686
+ SUNDAY = 'SUNDAY'
4687
+ }
4688
+
4390
4689
  export const enum DealNotificationEventConfig {
4391
4690
  DEAL_CHANGED = 'DEAL_CHANGED',
4392
4691
  DEAL_COMMENT_MENTIONED = 'DEAL_COMMENT_MENTIONED',
@@ -4541,14 +4840,14 @@ export interface DeliveryTerm {
4541
4840
  label: string;
4542
4841
 
4543
4842
  /**
4544
- * Account language.
4843
+ * information, when the shipping charges should be calculated
4545
4844
  */
4546
- languageCode: string;
4845
+ calculateFreightChargesWithType: CalculateFreightChargesWithType;
4547
4846
 
4548
4847
  /**
4549
- * information, when the shipping charges should be calculated
4848
+ * Account language.
4550
4849
  */
4551
- calculateFreightChargesWithType: CalculateFreightChargesWithType;
4850
+ languageCode: string;
4552
4851
 
4553
4852
  /**
4554
4853
  * calculate shipping charges per parcel
@@ -4561,14 +4860,14 @@ export interface DeliveryTerm {
4561
4860
  version: number;
4562
4861
 
4563
4862
  /**
4564
- * translations
4863
+ * information, how the shipping charges should be calculated
4565
4864
  */
4566
- translations: Array<DocumentTypeTerm>;
4865
+ calculateFreightChargesFromType: CalculateFreightChargesFromType;
4567
4866
 
4568
4867
  /**
4569
- * information, how the shipping charges should be calculated
4868
+ * translations
4570
4869
  */
4571
- calculateFreightChargesFromType: CalculateFreightChargesFromType;
4870
+ translations: Array<DocumentTypeTerm>;
4572
4871
 
4573
4872
  /**
4574
4873
  * Delivery methods.
@@ -4632,6 +4931,11 @@ export interface Document {
4632
4931
  */
4633
4932
  externalNumber: string;
4634
4933
 
4934
+ /**
4935
+ * Calculation mode actually applied, horizontal as soon as a line has a user defined tax amount
4936
+ */
4937
+ effectiveCalculationMode: CalculationMode;
4938
+
4635
4939
  /**
4636
4940
  * Document tax summary.
4637
4941
  */
@@ -4710,11 +5014,6 @@ A negative value is the overpaid amount or change.
4710
5014
  */
4711
5015
  returnDeliveryAddress: DocumentAddress;
4712
5016
 
4713
- /**
4714
- * Taxable or tax free.
4715
- */
4716
- taxable: boolean;
4717
-
4718
5017
  /**
4719
5018
  * Leitweg-ID
4720
5019
  */
@@ -4725,6 +5024,11 @@ A negative value is the overpaid amount or change.
4725
5024
  */
4726
5025
  referencedOrderNumber: string;
4727
5026
 
5027
+ /**
5028
+ * Taxable or tax free.
5029
+ */
5030
+ taxable: boolean;
5031
+
4728
5032
  /**
4729
5033
  * Price adjustments - document line total, in base currency.
4730
5034
  */
@@ -4781,14 +5085,14 @@ A negative value is the overpaid amount or change.
4781
5085
  accountId: number;
4782
5086
 
4783
5087
  /**
4784
- * Country code of the performance country (ISO Alpha-3).
5088
+ * Country code of the country of origin (ISO Alpha-3).
4785
5089
  */
4786
- performanceCountryCode: string;
5090
+ sourceCountryCode: string;
4787
5091
 
4788
5092
  /**
4789
- * Country code of the country of origin (ISO Alpha-3).
5093
+ * Country code of the performance country (ISO Alpha-3).
4790
5094
  */
4791
- sourceCountryCode: string;
5095
+ performanceCountryCode: string;
4792
5096
 
4793
5097
  /**
4794
5098
  * Agreed deposit date.
@@ -5003,14 +5307,19 @@ True when the receipt is paid.
5003
5307
  baseCashDiscountableTotalGrossPrice: number;
5004
5308
 
5005
5309
  /**
5006
- * Order date.
5310
+ * Payment reference from an external system, e.g. the transaction id of the payment provider.
5007
5311
  */
5008
- orderedOn: ScriptingDate;
5312
+ externalPaymentReference: string;
5009
5313
 
5010
5314
  /**
5011
- * Payment reference from an external system, e.g. the transaction id of the payment provider.
5315
+ * Gross invoice amount according to the supplier, only compared with the calculated total (purchase only)
5012
5316
  */
5013
- externalPaymentReference: string;
5317
+ userDefinedTotalGrossPrice: number;
5318
+
5319
+ /**
5320
+ * Order date.
5321
+ */
5322
+ orderedOn: ScriptingDate;
5014
5323
 
5015
5324
  /**
5016
5325
  * MetaInformations for this Object
@@ -5172,11 +5481,6 @@ True when the receipt is paid.
5172
5481
  */
5173
5482
  posReceiptChangeAmount: number;
5174
5483
 
5175
- /**
5176
- * Reference to the delivery term.
5177
- */
5178
- deliveryTermRef: ApiObjectReference;
5179
-
5180
5484
  /**
5181
5485
  * Is the receipt balanced, i.e. paid with no change?
5182
5486
  True when the receipt is balanced.
@@ -5184,6 +5488,11 @@ True when the receipt is balanced.
5184
5488
  */
5185
5489
  posReceiptBalanced: boolean;
5186
5490
 
5491
+ /**
5492
+ * Reference to the delivery term.
5493
+ */
5494
+ deliveryTermRef: ApiObjectReference;
5495
+
5187
5496
  /**
5188
5497
  * Total gross weight.
5189
5498
  */
@@ -5215,14 +5524,14 @@ True when the receipt is balanced.
5215
5524
  taxIdVerificationState: TaxIdVerificationState;
5216
5525
 
5217
5526
  /**
5218
- * Report group, if it deviates from the default.
5527
+ * Ordered by the contact person.
5219
5528
  */
5220
- reportGroupRef: ApiObjectReference;
5529
+ orderedByPersonRef: ApiObjectReference;
5221
5530
 
5222
5531
  /**
5223
- * Ordered by the contact person.
5532
+ * Report group, if it deviates from the default.
5224
5533
  */
5225
- orderedByPersonRef: ApiObjectReference;
5534
+ reportGroupRef: ApiObjectReference;
5226
5535
  }
5227
5536
 
5228
5537
  export interface DocumentAdditionalInfo {
@@ -5238,14 +5547,14 @@ export interface DocumentAdditionalInfo {
5238
5547
  roundingMode: DocumentRounding;
5239
5548
 
5240
5549
  /**
5241
- * Language origin.
5550
+ * Parameters used in the {@link DocumentContext}.
5242
5551
  */
5243
- languageCodeOrigin: LanguageCodeOrigin;
5552
+ contextParameters: Array<AdditionalParameter>;
5244
5553
 
5245
5554
  /**
5246
- * Parameters used in the {@link DocumentContext}.
5555
+ * Language origin.
5247
5556
  */
5248
- contextParameters: Array<AdditionalParameter>;
5557
+ languageCodeOrigin: LanguageCodeOrigin;
5249
5558
 
5250
5559
  /**
5251
5560
  * Buyer reference origin.
@@ -5253,14 +5562,14 @@ export interface DocumentAdditionalInfo {
5253
5562
  buyerReferenceOrigin: BuyerReferenceOrigin;
5254
5563
 
5255
5564
  /**
5256
- * Calculation mode origin.
5565
+ * Targets for the incoming goods for the whole document.
5257
5566
  */
5258
- calculationModeOrigin: CalculationModeOrigin;
5567
+ incomingGoodsTarget: DocumentAdditionalInfo$IncomingGoodsTarget;
5259
5568
 
5260
5569
  /**
5261
- * Targets for the incoming goods for the whole document.
5570
+ * Calculation mode origin.
5262
5571
  */
5263
- incomingGoodsTarget: DocumentAdditionalInfo$IncomingGoodsTarget;
5572
+ calculationModeOrigin: CalculationModeOrigin;
5264
5573
 
5265
5574
  /**
5266
5575
  * Electronic invoice profile origin.
@@ -5360,14 +5669,14 @@ export interface DocumentAddress {
5360
5669
  postOfficeBox: string;
5361
5670
 
5362
5671
  /**
5363
- * Street
5672
+ * country code IsoAlpha3
5364
5673
  */
5365
- street: string;
5674
+ countryCode: string;
5366
5675
 
5367
5676
  /**
5368
- * country code IsoAlpha3
5677
+ * Street
5369
5678
  */
5370
- countryCode: string;
5679
+ street: string;
5371
5680
 
5372
5681
  /**
5373
5682
  * Unique identifier of the Object
@@ -5532,6 +5841,16 @@ export const enum DocumentCommissionOrigin {
5532
5841
 
5533
5842
  export interface DocumentContractDetail {
5534
5843
 
5844
+ /**
5845
+ * Template for automatic task creation (header only).
5846
+ */
5847
+ taskTemplateRef: ApiObjectReference;
5848
+
5849
+ /**
5850
+ * Cron expression for calculating the next task creation. Lines without their own expression use the one of the header.
5851
+ */
5852
+ taskCreationPeriod: string;
5853
+
5535
5854
  /**
5536
5855
  * Cron expression for calculating the due date.
5537
5856
  */
@@ -5547,6 +5866,11 @@ export interface DocumentContractDetail {
5547
5866
  */
5548
5867
  endDate: ScriptingDate;
5549
5868
 
5869
+ /**
5870
+ * Due date for which the last task was created. A task is created again as soon as the due date differs from it.
5871
+ */
5872
+ taskCreatedForDueDate: ScriptingDate;
5873
+
5550
5874
  /**
5551
5875
  * Show in the portal?
5552
5876
  */
@@ -5562,6 +5886,11 @@ export interface DocumentContractDetail {
5562
5886
  */
5563
5887
  active: boolean;
5564
5888
 
5889
+ /**
5890
+ * Date from which the task for the current due date is created.
5891
+ */
5892
+ nextTaskCreationDate: ScriptingDate;
5893
+
5565
5894
  /**
5566
5895
  * Version Identifier for this Object (for PUT)
5567
5896
  */
@@ -5578,15 +5907,20 @@ export interface DocumentContractDetail {
5578
5907
  runtimeToDate: ScriptingDate;
5579
5908
 
5580
5909
  /**
5581
- * Next due date.
5910
+ * Assets the contract detail refers to.
5582
5911
  */
5583
- nextDueDate: ScriptingDate;
5912
+ assetRefs: Array<ApiObjectReference>;
5584
5913
 
5585
5914
  /**
5586
5915
  * Latest possible termination date for the provider.
5587
5916
  */
5588
5917
  lastProviderCancellationDate: ScriptingDate;
5589
5918
 
5919
+ /**
5920
+ * Next due date.
5921
+ */
5922
+ nextDueDate: ScriptingDate;
5923
+
5590
5924
  /**
5591
5925
  * Latest possible termination date for the customer.
5592
5926
  */
@@ -5870,6 +6204,11 @@ export interface DocumentLine {
5870
6204
  */
5871
6205
  baseTotalLinePriceModifier: number;
5872
6206
 
6207
+ /**
6208
+ * Calculated tax amount, only set while the tax amount is user defined
6209
+ */
6210
+ calculatedTaxValue: number;
6211
+
5873
6212
  /**
5874
6213
  * Tax amount.
5875
6214
  */
@@ -5890,6 +6229,11 @@ export interface DocumentLine {
5890
6229
  */
5891
6230
  externalArticleName: string;
5892
6231
 
6232
+ /**
6233
+ * User defined tax rate, takes precedence over the determined tax rate (purchase only)
6234
+ */
6235
+ userDefinedTaxRateRef: ApiObjectReference;
6236
+
5893
6237
  /**
5894
6238
  * Total net weight.
5895
6239
  */
@@ -5930,16 +6274,16 @@ export interface DocumentLine {
5930
6274
  */
5931
6275
  sourceLineRef: DocumentLineRef;
5932
6276
 
5933
- /**
5934
- * Voucher type to issue (VOUCHER_SALE only)
5935
- */
5936
- voucherTypeRef: ApiObjectReference;
5937
-
5938
6277
  /**
5939
6278
  * Price determination criteria.
5940
6279
  */
5941
6280
  priceSelectionCriteria: PriceSelectionCriteria;
5942
6281
 
6282
+ /**
6283
+ * Voucher type to issue (VOUCHER_SALE only)
6284
+ */
6285
+ voucherTypeRef: ApiObjectReference;
6286
+
5943
6287
  /**
5944
6288
  * Unit of measure content.
5945
6289
  */
@@ -5976,14 +6320,14 @@ export interface DocumentLine {
5976
6320
  settledOpenItemDiscountAmount: number;
5977
6321
 
5978
6322
  /**
5979
- * Net weight unit.
6323
+ * Line net sales value in base currency.
5980
6324
  */
5981
- netWeightUnit: UnitTypeReference;
6325
+ baseSalesValueNet: number;
5982
6326
 
5983
6327
  /**
5984
- * Line net sales value in base currency.
6328
+ * Net weight unit.
5985
6329
  */
5986
- baseSalesValueNet: number;
6330
+ netWeightUnit: UnitTypeReference;
5987
6331
 
5988
6332
  /**
5989
6333
  * Contract information.
@@ -5995,6 +6339,11 @@ export interface DocumentLine {
5995
6339
  */
5996
6340
  shippingCostDetail: RequestDocumentLineShippingCostDetail;
5997
6341
 
6342
+ /**
6343
+ * User defined tax amount, takes precedence over the calculated tax amount (purchase only)
6344
+ */
6345
+ userDefinedTaxValue: number;
6346
+
5998
6347
  /**
5999
6348
  * Fabrication details.
6000
6349
  */
@@ -6065,6 +6414,11 @@ export interface DocumentLine {
6065
6414
  */
6066
6415
  warrantyInMonths: number;
6067
6416
 
6417
+ /**
6418
+ * User defined line total [gross, net], takes precedence over price * quantity minus line discounts (purchase only)
6419
+ */
6420
+ userDefinedTotalLinePrice: number;
6421
+
6068
6422
  /**
6069
6423
  * Is this a progress invoice line?
6070
6424
  */
@@ -6120,6 +6474,11 @@ export interface DocumentLine {
6120
6474
  */
6121
6475
  deliveryMethodRef: ApiObjectReference;
6122
6476
 
6477
+ /**
6478
+ * User defined as tax-free, takes precedence over the determined tax rate (purchase only)
6479
+ */
6480
+ userDefinedTaxFree: boolean;
6481
+
6123
6482
  /**
6124
6483
  * Region of the payment when it comes from within the country.
6125
6484
  */
@@ -6131,20 +6490,25 @@ export interface DocumentLine {
6131
6490
  voucherRef: ApiObjectReference;
6132
6491
 
6133
6492
  /**
6134
- * Net weight.
6493
+ * Commission origin.
6135
6494
  */
6136
- netWeight: number;
6495
+ commissionOrigin: DocumentCommissionOrigin;
6137
6496
 
6138
6497
  /**
6139
- * Commission origin.
6498
+ * Net weight.
6140
6499
  */
6141
- commissionOrigin: DocumentCommissionOrigin;
6500
+ netWeight: number;
6142
6501
 
6143
6502
  /**
6144
6503
  * Net total price (after the price changes).
6145
6504
  */
6146
6505
  salesValueNet: number;
6147
6506
 
6507
+ /**
6508
+ * Calculated line total [gross, net], only set while the line total is user defined
6509
+ */
6510
+ calculatedTotalLinePrice: number;
6511
+
6148
6512
  /**
6149
6513
  * Article name.
6150
6514
  */
@@ -6460,14 +6824,14 @@ export interface DocumentLineComponent {
6460
6824
  fabricationDetail: DocumentLineComponentFabricationDetail;
6461
6825
 
6462
6826
  /**
6463
- * Reference to the component article.
6827
+ * Delivered quantity.
6464
6828
  */
6465
- articleId: number;
6829
+ quantityCommitted: number;
6466
6830
 
6467
6831
  /**
6468
- * Delivered quantity.
6832
+ * Reference to the component article.
6469
6833
  */
6470
- quantityCommitted: number;
6834
+ articleId: number;
6471
6835
 
6472
6836
  /**
6473
6837
  * Article description.
@@ -6720,14 +7084,14 @@ export interface DocumentLineFabricationDetailSerialNumber {
6720
7084
  quantityFinished: number;
6721
7085
 
6722
7086
  /**
6723
- * Produced serial number.
7087
+ * Produced or planned quantity.
6724
7088
  */
6725
- serialNumber: ArticleSerialNumber;
7089
+ quantity: number;
6726
7090
 
6727
7091
  /**
6728
- * Produced or planned quantity.
7092
+ * Produced serial number.
6729
7093
  */
6730
- quantity: number;
7094
+ serialNumber: ArticleSerialNumber;
6731
7095
 
6732
7096
  /**
6733
7097
  * Booked components.
@@ -6949,14 +7313,14 @@ export interface DocumentLineReturnDetail {
6949
7313
  customerShareOnReduction: number;
6950
7314
 
6951
7315
  /**
6952
- * Delivery term for the return (how the customer sends it back).
7316
+ * Wait for the return before the goods replacement (only for GOODS_EXCHANGE_ITEM_GETS_SEND_BACK)?
6953
7317
  */
6954
- deliveryTermRef: ApiObjectReference;
7318
+ waitForReturnBeforeExchange: boolean;
6955
7319
 
6956
7320
  /**
6957
- * Wait for the return before the goods replacement (only for GOODS_EXCHANGE_ITEM_GETS_SEND_BACK)?
7321
+ * Delivery term for the return (how the customer sends it back).
6958
7322
  */
6959
- waitForReturnBeforeExchange: boolean;
7323
+ deliveryTermRef: ApiObjectReference;
6960
7324
 
6961
7325
  /**
6962
7326
  * Reference to the return cause.
@@ -7515,24 +7879,29 @@ export interface DocumentText {
7515
7879
  }
7516
7880
 
7517
7881
  /**
7518
- * Transfer-to-State-Request für Belege
7882
+ * Transfer-to-State-Request to process documents.
7519
7883
  */
7520
7884
  export interface DocumentTransferToStateRequest {
7521
7885
 
7886
+ /**
7887
+ * Additional info to process the target document.
7888
+ */
7889
+ document: RequestDocument;
7890
+
7522
7891
  copyTargetDocumentType: DocumentType;
7523
7892
 
7524
7893
  /**
7525
- * ID eines Belegs
7894
+ * ID of document.
7526
7895
  */
7527
7896
  documentId: number;
7528
7897
 
7529
7898
  /**
7530
- * Zusätzliche Parameter
7899
+ * Additional parameters.
7531
7900
  */
7532
7901
  parameters: Array<AdditionalParameter>;
7533
7902
 
7534
7903
  /**
7535
- * Transition zum gewünschten Ziel-Status
7904
+ * Transition to the target state.
7536
7905
  */
7537
7906
  transition: EDocumentTransition;
7538
7907
  }
@@ -7829,14 +8198,14 @@ export interface DummySerialNumberStockTransferApi {
7829
8198
  targetSerialNumber: string;
7830
8199
 
7831
8200
  /**
7832
- * Source storage bin.
8201
+ * Ignore expiry date on stock booking
7833
8202
  */
7834
- sourceStorageBinId: number;
8203
+ ignoreExpiryDateOnStockBooking: boolean;
7835
8204
 
7836
8205
  /**
7837
- * Ignore expiry date on stock booking
8206
+ * Source storage bin.
7838
8207
  */
7839
- ignoreExpiryDateOnStockBooking: boolean;
8208
+ sourceStorageBinId: number;
7840
8209
 
7841
8210
  /**
7842
8211
  * Picklist line component, if the booking takes place for it.
@@ -7946,6 +8315,12 @@ export const enum EDocumentTransition {
7946
8315
  CANCEL_EDITING_ACCEPTED = 'CANCEL_EDITING_ACCEPTED',
7947
8316
  /**Speichern (für übernommenen Beleg) **/
7948
8317
  SAVE_ACCEPTED = 'SAVE_ACCEPTED',
8318
+ /**Submit to invoice verification **/
8319
+ SUBMIT_TO_INVOICE_VERIFICATION = 'SUBMIT_TO_INVOICE_VERIFICATION',
8320
+ /**Approve invoice **/
8321
+ APPROVE_INVOICE = 'APPROVE_INVOICE',
8322
+ /**Reject invoice **/
8323
+ REJECT_INVOICE = 'REJECT_INVOICE',
7949
8324
  /**Neue Version erstellen **/
7950
8325
  CREATE_NEW_VERSION = 'CREATE_NEW_VERSION',
7951
8326
  /**Auftrag in Kommissionierung übernehmen **/
@@ -8652,6 +9027,11 @@ export interface OpenItem {
8652
9027
  */
8653
9028
  baseSumFee: number;
8654
9029
 
9030
+ /**
9031
+ * Origin of the payment block, empty as long as there is no payment block.
9032
+ */
9033
+ paymentBlockOrigin: PaymentBlockOrigin;
9034
+
8655
9035
  /**
8656
9036
  * Agreed deposit amount in base currency.
8657
9037
  */
@@ -8683,14 +9063,14 @@ export interface OpenItem {
8683
9063
  paymentDueDate: ScriptingDate;
8684
9064
 
8685
9065
  /**
8686
- * Country code of the performance country (ISO Alpha-3, settable externally when no document is present).
9066
+ * Country code of the country of origin (ISO Alpha-3, settable externally when no document is present).
8687
9067
  */
8688
- performanceCountryCode: string;
9068
+ sourceCountryCode: string;
8689
9069
 
8690
9070
  /**
8691
- * Country code of the country of origin (ISO Alpha-3, settable externally when no document is present).
9071
+ * Country code of the performance country (ISO Alpha-3, settable externally when no document is present).
8692
9072
  */
8693
- sourceCountryCode: string;
9073
+ performanceCountryCode: string;
8694
9074
 
8695
9075
  /**
8696
9076
  * Value date, read-only.
@@ -8712,11 +9092,6 @@ export interface OpenItem {
8712
9092
  */
8713
9093
  basisPaymentTermRef: ApiObjectReference;
8714
9094
 
8715
- /**
8716
- * Is the open item blocked by a document?
8717
- */
8718
- blockedByDocument: boolean;
8719
-
8720
9095
  /**
8721
9096
  * Payment method.
8722
9097
  */
@@ -8818,14 +9193,14 @@ export interface OpenItem {
8818
9193
  originalPaymentDueDate: ScriptingDate;
8819
9194
 
8820
9195
  /**
8821
- * whether this open item is balanced, partially paid or open
9196
+ * Value date.
8822
9197
  */
8823
- balanceState: OpenItemBalanceState;
9198
+ valueDate: ScriptingDate;
8824
9199
 
8825
9200
  /**
8826
- * Value date.
9201
+ * whether this open item is balanced, partially paid or open
8827
9202
  */
8828
- valueDate: ScriptingDate;
9203
+ balanceState: OpenItemBalanceState;
8829
9204
 
8830
9205
  /**
8831
9206
  * Payment discount amount 1.
@@ -9041,14 +9416,14 @@ export interface OpenItemRecord {
9041
9416
  origin: OpenItemRecord$RecordOrigin;
9042
9417
 
9043
9418
  /**
9044
- * company account bankdetails
9419
+ * record discount amount
9045
9420
  */
9046
- accountBankdetailsRef: ApiObjectReference;
9421
+ discountAmount: number;
9047
9422
 
9048
9423
  /**
9049
- * record discount amount
9424
+ * company account bankdetails
9050
9425
  */
9051
- discountAmount: number;
9426
+ accountBankdetailsRef: ApiObjectReference;
9052
9427
 
9053
9428
  /**
9054
9429
  * Dunning interest in base currency.
@@ -9151,14 +9526,14 @@ export interface OpenItemRecord {
9151
9526
  version: number;
9152
9527
 
9153
9528
  /**
9154
- * Identifier of the transaction that caused this record.
9529
+ * Booking amount in base currency.
9155
9530
  */
9156
- transactionId: number;
9531
+ baseAmount: number;
9157
9532
 
9158
9533
  /**
9159
- * Booking amount in base currency.
9534
+ * Identifier of the transaction that caused this record.
9160
9535
  */
9161
- baseAmount: number;
9536
+ transactionId: number;
9162
9537
 
9163
9538
  /**
9164
9539
  * Deduction amount in base currency.
@@ -9176,14 +9551,14 @@ export interface OpenItemRecord {
9176
9551
  totalAmount: number;
9177
9552
 
9178
9553
  /**
9179
- * Identifier of the record that cancelled this one.
9554
+ * Open item base currency (ISO-A3).
9180
9555
  */
9181
- revertedByRecordId: number;
9556
+ baseCurrencyCode: string;
9182
9557
 
9183
9558
  /**
9184
- * Open item base currency (ISO-A3).
9559
+ * Identifier of the record that cancelled this one.
9185
9560
  */
9186
- baseCurrencyCode: string;
9561
+ revertedByRecordId: number;
9187
9562
 
9188
9563
  /**
9189
9564
  * qualifier of open item
@@ -9315,6 +9690,12 @@ export const enum OutputTargetFormat {
9315
9690
  INVOICE = 'INVOICE'
9316
9691
  }
9317
9692
 
9693
+ export const enum PaymentBlockOrigin {
9694
+ PARAMETER = 'PARAMETER',
9695
+ MANUAL = 'MANUAL',
9696
+ DOCUMENT_EDITING = 'DOCUMENT_EDITING'
9697
+ }
9698
+
9318
9699
  export const enum PaymentDiscountOrigin {
9319
9700
  FROM_PAYMENT_TERM = 'FROM_PAYMENT_TERM',
9320
9701
  FROM_ACCOUNT = 'FROM_ACCOUNT',
@@ -9480,14 +9861,14 @@ export interface PaymentTerm {
9480
9861
  paymentDiscount2: number;
9481
9862
 
9482
9863
  /**
9483
- * printDescription
9864
+ * Percent for Discount 1
9484
9865
  */
9485
- printDescription: string;
9866
+ paymentDiscount1: number;
9486
9867
 
9487
9868
  /**
9488
- * Percent for Discount 1
9869
+ * printDescription
9489
9870
  */
9490
- paymentDiscount1: number;
9871
+ printDescription: string;
9491
9872
 
9492
9873
  /**
9493
9874
  * for deposit: remaining term
@@ -9779,6 +10160,7 @@ export const enum PickingType {
9779
10160
  CONSOLIDATION = 'CONSOLIDATION',
9780
10161
  REPLENISHMENT = 'REPLENISHMENT',
9781
10162
  FABRICATION = 'FABRICATION',
10163
+ REPAIR_AND_SERVICE = 'REPAIR_AND_SERVICE',
9782
10164
  MISSING_GOODS_PICKING = 'MISSING_GOODS_PICKING',
9783
10165
  INCORRECTLY_PICKED_GOODS = 'INCORRECTLY_PICKED_GOODS'
9784
10166
  }
@@ -9932,14 +10314,14 @@ export interface PicklistLine {
9932
10314
  export interface PicklistLineBooking {
9933
10315
 
9934
10316
  /**
9935
- * Serial number.
10317
+ * Quantity to book (picked).
9936
10318
  */
9937
- serialNumber: ArticleSerialNumber;
10319
+ quantity: number;
9938
10320
 
9939
10321
  /**
9940
- * Quantity to book (picked).
10322
+ * Serial number.
9941
10323
  */
9942
- quantity: number;
10324
+ serialNumber: ArticleSerialNumber;
9943
10325
 
9944
10326
  /**
9945
10327
  * Storage bin display name.
@@ -9970,14 +10352,14 @@ export interface PicklistLineComponent {
9970
10352
  quantityCollected: number;
9971
10353
 
9972
10354
  /**
9973
- * Line quantity.
10355
+ * Article name.
9974
10356
  */
9975
- quantity: number;
10357
+ articleName: string;
9976
10358
 
9977
10359
  /**
9978
- * Article name.
10360
+ * Line quantity.
9979
10361
  */
9980
- articleName: string;
10362
+ quantity: number;
9981
10363
 
9982
10364
  /**
9983
10365
  * Article description.
@@ -10341,21 +10723,11 @@ export interface PicklistTemplate$PicklistProcessingOptions {
10341
10723
  */
10342
10724
  autoPrintShippingLabel: boolean;
10343
10725
 
10344
- /**
10345
- * May articles be recorded only by scanning (or also by entering the article number)?
10346
- */
10347
- articleScanRequirement: PickingArticleProcessing;
10348
-
10349
10726
  /**
10350
10727
  * Is skipping lines allowed?
10351
10728
  */
10352
10729
  allowSkipPosition: boolean;
10353
10730
 
10354
- /**
10355
- * Automatic completion after the last article of the current order.
10356
- */
10357
- autoPickingFinishAfterLastArticleInOrder: boolean;
10358
-
10359
10731
  /**
10360
10732
  * Use pick and pack.
10361
10733
  */
@@ -10367,89 +10739,104 @@ export interface PicklistTemplate$PicklistProcessingOptions {
10367
10739
  deviatingQuantity: PickingDeviatingQuantity;
10368
10740
 
10369
10741
  /**
10370
- * Always show the delivery term in the dialogs.
10742
+ * Should services be picked?
10371
10743
  */
10372
- alwaysShowDeliveryMethod: boolean;
10744
+ allowPickingOfServiceArticles: boolean;
10373
10745
 
10374
10746
  /**
10375
- * Block exceeding the maximum parcel weight?
10747
+ * Should the labels be printed automatically during the recording?
10376
10748
  */
10377
- blockIfMaximumPackageWeightIsExceeded: boolean;
10749
+ printLabelOnScan: boolean;
10378
10750
 
10379
10751
  /**
10380
- * Should the delivery documents be printed automatically after the picking is completed?
10752
+ * Should the labels be printed automatically when the order is completed?
10381
10753
  */
10382
- autoPrintDeliveryDocument: boolean;
10754
+ printLabelOnCompleteOrder: boolean;
10383
10755
 
10384
10756
  /**
10385
- * Show the shipping dialog on completion.
10757
+ * Rolling picking and consolidation: during picking the box has to be confirmed by scanning after an article is scanned.
10386
10758
  */
10387
- showShippingFormOnPickingFinish: boolean;
10759
+ scanPickTrolleyBoxToConfirmPickedArticle: boolean;
10388
10760
 
10389
10761
  /**
10390
- * Use the digital picklist: only the lines are shown in the frontend and confirmed by tapping or swiping.
10762
+ * Should the labels be printed automatically when the picking is completed?
10391
10763
  */
10392
- useDigitalPicklist: boolean;
10764
+ printLabelAfterPicking: boolean;
10393
10765
 
10394
10766
  /**
10395
- * Allow collective confirmation.
10767
+ * Confirm lots automatically when they are predefined or were already recorded during picking.
10396
10768
  */
10397
- allowFullConfirmation: boolean;
10769
+ autoDeterminationOfLots: boolean;
10398
10770
 
10399
10771
  /**
10400
- * Should the labels be printed automatically during the recording?
10772
+ * Hide the target quantities in the dialogs?
10401
10773
  */
10402
- printLabelOnScan: boolean;
10774
+ hideTargetQuantityInViews: boolean;
10403
10775
 
10404
10776
  /**
10405
- * Should services be picked?
10777
+ * Storage bins must be recorded despite a predefined value.
10406
10778
  */
10407
- allowPickingOfServiceArticles: boolean;
10779
+ alwaysRequireScanOfStorageBin: boolean;
10408
10780
 
10409
10781
  /**
10410
- * Use the sales unit as the default quantity.
10782
+ * May articles be recorded only by scanning (or also by entering the article number)?
10411
10783
  */
10412
- useSalesUnit: boolean;
10784
+ articleScanRequirement: PickingArticleProcessing;
10413
10785
 
10414
10786
  /**
10415
- * Only for consolidation: scan the delivery document and the shipping label to complete.
10787
+ * Automatic completion after the last article of the current order.
10416
10788
  */
10417
- scanDeliveryDocumentAndShippingLabelOnFinish: boolean;
10789
+ autoPickingFinishAfterLastArticleInOrder: boolean;
10418
10790
 
10419
10791
  /**
10420
- * Should the labels be printed automatically when the order is completed?
10792
+ * Perform an automatic action (e.g., stock transfer) after picking.
10421
10793
  */
10422
- printLabelOnCompleteOrder: boolean;
10794
+ executeAfterCommitActions: boolean;
10423
10795
 
10424
10796
  /**
10425
- * Rolling picking and consolidation: during picking the box has to be confirmed by scanning after an article is scanned.
10797
+ * Always show the delivery term in the dialogs.
10426
10798
  */
10427
- scanPickTrolleyBoxToConfirmPickedArticle: boolean;
10799
+ alwaysShowDeliveryMethod: boolean;
10428
10800
 
10429
10801
  /**
10430
- * Should the labels be printed automatically when the picking is completed?
10802
+ * Block exceeding the maximum parcel weight?
10431
10803
  */
10432
- printLabelAfterPicking: boolean;
10804
+ blockIfMaximumPackageWeightIsExceeded: boolean;
10433
10805
 
10434
10806
  /**
10435
- * Confirm lots automatically when they are predefined or were already recorded during picking.
10807
+ * Should the delivery documents be printed automatically after the picking is completed?
10436
10808
  */
10437
- autoDeterminationOfLots: boolean;
10809
+ autoPrintDeliveryDocument: boolean;
10438
10810
 
10439
10811
  /**
10440
- * Should articles without stock management be picked?
10812
+ * Show the shipping dialog on completion.
10441
10813
  */
10442
- allowPickingOfNonInventoryManagedArticles: boolean;
10814
+ showShippingFormOnPickingFinish: boolean;
10443
10815
 
10444
10816
  /**
10445
- * Hide the target quantities in the dialogs?
10817
+ * Use the digital picklist: only the lines are shown in the frontend and confirmed by tapping or swiping.
10446
10818
  */
10447
- hideTargetQuantityInViews: boolean;
10819
+ useDigitalPicklist: boolean;
10448
10820
 
10449
10821
  /**
10450
- * Storage bins must be recorded despite a predefined value.
10822
+ * Allow collective confirmation.
10451
10823
  */
10452
- alwaysRequireScanOfStorageBin: boolean;
10824
+ allowFullConfirmation: boolean;
10825
+
10826
+ /**
10827
+ * Use the sales unit as the default quantity.
10828
+ */
10829
+ useSalesUnit: boolean;
10830
+
10831
+ /**
10832
+ * Only for consolidation: scan the delivery document and the shipping label to complete.
10833
+ */
10834
+ scanDeliveryDocumentAndShippingLabelOnFinish: boolean;
10835
+
10836
+ /**
10837
+ * Should articles without stock management be picked?
10838
+ */
10839
+ allowPickingOfNonInventoryManagedArticles: boolean;
10453
10840
  }
10454
10841
 
10455
10842
  export interface PicklistTemplate$PicklistScript {
@@ -10537,14 +10924,14 @@ export interface PriceSelectionCriteria {
10537
10924
  date: ScriptingDate;
10538
10925
 
10539
10926
  /**
10540
- * Quantity.
10927
+ * Price group.
10541
10928
  */
10542
- quantity: number;
10929
+ priceGroupId: number;
10543
10930
 
10544
10931
  /**
10545
- * Price group.
10932
+ * Quantity.
10546
10933
  */
10547
- priceGroupId: number;
10934
+ quantity: number;
10548
10935
 
10549
10936
  /**
10550
10937
  * Article identifiers.
@@ -10736,14 +11123,14 @@ export interface ProductArticleRef {
10736
11123
  export interface ProductDiscount {
10737
11124
 
10738
11125
  /**
10739
- * Customer group.
11126
+ * Main article this discount is valid for.
10740
11127
  */
10741
- customerGroupRef: ApiObjectReference;
11128
+ accessoryMainArticleRef: ApiObjectReference;
10742
11129
 
10743
11130
  /**
10744
- * Main article this discount is valid for.
11131
+ * Customer group.
10745
11132
  */
10746
- accessoryMainArticleRef: ApiObjectReference;
11133
+ customerGroupRef: ApiObjectReference;
10747
11134
 
10748
11135
  /**
10749
11136
  * Supplier group.
@@ -10810,6 +11197,11 @@ export interface ProductDiscount {
10810
11197
  */
10811
11198
  qualifier: ProductPriceQualifier;
10812
11199
 
11200
+ /**
11201
+ * Discount group.
11202
+ */
11203
+ discountGroupRef: ApiObjectReference;
11204
+
10813
11205
  /**
10814
11206
  * Special offer price.
10815
11207
  */
@@ -10826,14 +11218,14 @@ export interface ProductDiscount {
10826
11218
  modifierValueType: ValueType;
10827
11219
 
10828
11220
  /**
10829
- * Account the discount is valid for.
11221
+ * Discount name.
10830
11222
  */
10831
- accountRef: ApiObjectReference;
11223
+ modifierName: string;
10832
11224
 
10833
11225
  /**
10834
- * Discount name.
11226
+ * Account the discount is valid for.
10835
11227
  */
10836
- modifierName: string;
11228
+ accountRef: ApiObjectReference;
10837
11229
 
10838
11230
  /**
10839
11231
  * Unique identifier of the Object
@@ -10950,14 +11342,14 @@ export interface ProductMainGroup {
10950
11342
  export interface ProductPrice {
10951
11343
 
10952
11344
  /**
10953
- * Customer group.
11345
+ * Main article this price is valid for.
10954
11346
  */
10955
- customerGroupRef: ApiObjectReference;
11347
+ accessoryMainArticleRef: ApiObjectReference;
10956
11348
 
10957
11349
  /**
10958
- * Main article this price is valid for.
11350
+ * Customer group.
10959
11351
  */
10960
- accessoryMainArticleRef: ApiObjectReference;
11352
+ customerGroupRef: ApiObjectReference;
10961
11353
 
10962
11354
  /**
10963
11355
  * Purchase price for the calculation.
@@ -11049,11 +11441,6 @@ export interface ProductPrice {
11049
11441
  */
11050
11442
  qualifier: ProductPriceQualifier;
11051
11443
 
11052
- /**
11053
- * Price base.
11054
- */
11055
- priceBase: ArticlePriceBase;
11056
-
11057
11444
  /**
11058
11445
  * Special offer price.
11059
11446
  */
@@ -11064,6 +11451,11 @@ export interface ProductPrice {
11064
11451
  */
11065
11452
  validUntil: ScriptingDate;
11066
11453
 
11454
+ /**
11455
+ * Price base.
11456
+ */
11457
+ priceBase: ArticlePriceBase;
11458
+
11067
11459
  /**
11068
11460
  * Determines the surcharge type (fixed or percentage) in the purchase price calculation.
11069
11461
  */
@@ -11209,6 +11601,11 @@ export interface RequestDocument {
11209
11601
  */
11210
11602
  performanceCountryId: number;
11211
11603
 
11604
+ /**
11605
+ * Delivery approval of the document. If set, it overrides the delivery approval determined by the system.
11606
+ */
11607
+ deliveryApproved: boolean;
11608
+
11212
11609
  /**
11213
11610
  * One or more POS payments.
11214
11611
  */
@@ -11245,14 +11642,14 @@ export interface RequestDocument {
11245
11642
  deliveryTermId: number;
11246
11643
 
11247
11644
  /**
11248
- * Document lines.
11645
+ * For internal use: the Document currency.
11249
11646
  */
11250
- lines: Array<RequestDocumentLine>;
11647
+ currencyId: number;
11251
11648
 
11252
11649
  /**
11253
- * For internal use: the Document currency.
11650
+ * Document lines.
11254
11651
  */
11255
- currencyId: number;
11652
+ lines: Array<RequestDocumentLine>;
11256
11653
 
11257
11654
  /**
11258
11655
  * Payment reference from an external system, e.g. the transaction id of the payment provider.
@@ -11264,26 +11661,26 @@ export interface RequestDocument {
11264
11661
  */
11265
11662
  assemblyComponentReturnsToAddOnTransfer: Array<AssemblyComponentReturnLine>;
11266
11663
 
11267
- /**
11268
- * Contract details.
11269
- */
11270
- contractDetail: DocumentContractDetail;
11271
-
11272
11664
  /**
11273
11665
  * POS register identifier (for POS).
11274
11666
  */
11275
11667
  posRegisterId: number;
11276
11668
 
11277
11669
  /**
11278
- * For internal use: the Document payment term.
11670
+ * Contract details.
11279
11671
  */
11280
- paymentTermId: number;
11672
+ contractDetail: DocumentContractDetail;
11281
11673
 
11282
11674
  /**
11283
11675
  * Default supplier when transferring from an order to supplier orders.
11284
11676
  */
11285
11677
  supplierAccountId: number;
11286
11678
 
11679
+ /**
11680
+ * For internal use: the Document payment term.
11681
+ */
11682
+ paymentTermId: number;
11683
+
11287
11684
  /**
11288
11685
  * Schema custom fields.
11289
11686
  */
@@ -11310,20 +11707,25 @@ export interface RequestDocument {
11310
11707
  incomingGoodsPickTrolleyId: number;
11311
11708
 
11312
11709
  /**
11313
- * calculation mode
11710
+ * For internal use: the Documents default Storage
11314
11711
  */
11315
- calculationMode: CalculationMode;
11712
+ defaultStorageId: number;
11316
11713
 
11317
11714
  /**
11318
- * For internal use: marks the document as an electronic invoice.
11715
+ * calculation mode
11319
11716
  */
11320
- eInvoice: boolean;
11717
+ calculationMode: CalculationMode;
11321
11718
 
11322
11719
  /**
11323
11720
  * Reason for the cancellation when creating a cash journal cancellation document.
11324
11721
  */
11325
11722
  cancellationReasonRef: ApiCreatableReference;
11326
11723
 
11724
+ /**
11725
+ * For internal use: marks the document as an electronic invoice.
11726
+ */
11727
+ eInvoice: boolean;
11728
+
11327
11729
  /**
11328
11730
  * account-id to create a new Document
11329
11731
  */
@@ -11398,14 +11800,14 @@ export interface RequestDocumentLine {
11398
11800
  refLineId: number;
11399
11801
 
11400
11802
  /**
11401
- * The affected voucher: for VOUCHER_REDEMPTION the one to redeem, for VOUCHER_SALE on return, credit note or cancellation the returned one
11803
+ * Commissions for this document line.
11402
11804
  */
11403
- voucherId: number;
11805
+ commissions: Array<RequestDocumentLineCommission>;
11404
11806
 
11405
11807
  /**
11406
- * Commissions for this document line.
11808
+ * The affected voucher: for VOUCHER_REDEMPTION the one to redeem, for VOUCHER_SALE on return, credit note or cancellation the returned one
11407
11809
  */
11408
- commissions: Array<RequestDocumentLineCommission>;
11810
+ voucherId: number;
11409
11811
 
11410
11812
  /**
11411
11813
  * Finance details.
@@ -11452,13 +11854,13 @@ export interface RequestDocumentLine {
11452
11854
  */
11453
11855
  supplierAccountId: number;
11454
11856
 
11455
- mainArticleLinePosition: number;
11456
-
11457
11857
  /**
11458
11858
  * Quantity to process in this transaction.
11459
11859
  */
11460
11860
  quantity: number;
11461
11861
 
11862
+ mainArticleLinePosition: number;
11863
+
11462
11864
  /**
11463
11865
  * Shipping costs with conditions.
11464
11866
  */
@@ -11835,6 +12237,11 @@ export interface Scenario {
11835
12237
  */
11836
12238
  factDefinitions: Array<ScenarioFactDef>;
11837
12239
 
12240
+ /**
12241
+ * Data source the scenario distributes
12242
+ */
12243
+ sourceType: Scenario$ScenarioSource;
12244
+
11838
12245
  /**
11839
12246
  * Scenario description.
11840
12247
  */
@@ -11866,6 +12273,13 @@ export interface Scenario {
11866
12273
  info: MetaInfo;
11867
12274
  }
11868
12275
 
12276
+ export const enum Scenario$ScenarioSource {
12277
+ SALES_LINE = 'SALES_LINE',
12278
+ CONTRACT_MRR_FORECAST = 'CONTRACT_MRR_FORECAST',
12279
+ CONTRACT_BILLING = 'CONTRACT_BILLING',
12280
+ CONTRACT_MRR_WITH_ACTUALS = 'CONTRACT_MRR_WITH_ACTUALS'
12281
+ }
12282
+
11869
12283
  export interface ScenarioActualValue {
11870
12284
 
11871
12285
  /**
@@ -12039,43 +12453,43 @@ export interface ScriptOutputRequest {
12039
12453
  outputPrint(): ScriptOutputRequest;
12040
12454
 
12041
12455
  /**
12042
- * setzt den Ausgabetyp auf reine DMS-Ablage
12456
+ * setzt den Ausgabetyp auf User-Message
12043
12457
  *
12044
12458
  * @return {ScriptOutputRequest}
12045
12459
  */
12046
- outputDmsOnly(): ScriptOutputRequest;
12460
+ outputUserMessage(): ScriptOutputRequest;
12047
12461
 
12048
12462
  /**
12049
- * fügt emailadresse und alias einer ausgabe hinzu
12463
+ * setzt den Ausgabetyp auf File-Export
12050
12464
  *
12051
- * @param {number} userId - setzt die Userid
12052
- * @param {string} emailAddress - setzt die emailAddress
12053
- * @param {string} alias - setzt den Alias
12054
12465
  * @return {ScriptOutputRequest}
12055
12466
  */
12056
- userRecipient(userId: number, emailAddress: string, alias: string): ScriptOutputRequest;
12467
+ outputFileExport(): ScriptOutputRequest;
12057
12468
 
12058
12469
  /**
12059
- * fügt ein DMS-Dokument (per ID) als Mail-Anhang hinzu
12470
+ * setzt den Ausgabetyp auf reine DMS-Ablage
12060
12471
  *
12061
- * @param {number} shelfDocumentId - ID des DMS-Dokuments
12062
12472
  * @return {ScriptOutputRequest}
12063
12473
  */
12064
- attachDocument(shelfDocumentId: number): ScriptOutputRequest;
12474
+ outputDmsOnly(): ScriptOutputRequest;
12065
12475
 
12066
12476
  /**
12067
- * setzt den Ausgabetyp auf User-Message
12477
+ * fügt emailadresse und alias einer ausgabe hinzu
12068
12478
  *
12479
+ * @param {number} userId - setzt die Userid
12480
+ * @param {string} emailAddress - setzt die emailAddress
12481
+ * @param {string} alias - setzt den Alias
12069
12482
  * @return {ScriptOutputRequest}
12070
12483
  */
12071
- outputUserMessage(): ScriptOutputRequest;
12484
+ userRecipient(userId: number, emailAddress: string, alias: string): ScriptOutputRequest;
12072
12485
 
12073
12486
  /**
12074
- * setzt den Ausgabetyp auf File-Export
12487
+ * fügt ein DMS-Dokument (per ID) als Mail-Anhang hinzu
12075
12488
  *
12489
+ * @param {number} shelfDocumentId - ID des DMS-Dokuments
12076
12490
  * @return {ScriptOutputRequest}
12077
12491
  */
12078
- outputFileExport(): ScriptOutputRequest;
12492
+ attachDocument(shelfDocumentId: number): ScriptOutputRequest;
12079
12493
 
12080
12494
  /**
12081
12495
  * setzt den user-id
@@ -12527,32 +12941,32 @@ export interface ScriptingXmlWriter {
12527
12941
  closeAllOpenElements(): void;
12528
12942
 
12529
12943
  /**
12530
- * Schreibt einen XML-Kommentar.
12944
+ * Schreibt eine Zeichenkette (z.B. innerhalb eines XML-Tags).
12531
12945
  *
12532
- * @param {string} comment - Kommentar-Text
12946
+ * @param {string} data - Zeichenkette
12533
12947
  */
12534
- writeComment(comment: string): void;
12948
+ writeCharacters(data: string): void;
12535
12949
 
12536
12950
  /**
12537
- * Schreibt einen CDATA-Block.
12951
+ * Schreibt ein leeres (self-closing) Element.
12538
12952
  *
12539
- * @param {string} data - CDATA-Inhalt
12953
+ * @param {string} name - Element-Name
12540
12954
  */
12541
- writeCData(data: string): void;
12955
+ writeEmptyElement(name: string): void;
12542
12956
 
12543
12957
  /**
12544
- * Schreibt eine Zeichenkette (z.B. innerhalb eines XML-Tags).
12958
+ * Schreibt einen CDATA-Block.
12545
12959
  *
12546
- * @param {string} data - Zeichenkette
12960
+ * @param {string} data - CDATA-Inhalt
12547
12961
  */
12548
- writeCharacters(data: string): void;
12962
+ writeCData(data: string): void;
12549
12963
 
12550
12964
  /**
12551
- * Schreibt ein leeres (self-closing) Element.
12965
+ * Schreibt einen XML-Kommentar.
12552
12966
  *
12553
- * @param {string} name - Element-Name
12967
+ * @param {string} comment - Kommentar-Text
12554
12968
  */
12555
- writeEmptyElement(name: string): void;
12969
+ writeComment(comment: string): void;
12556
12970
 
12557
12971
  /**
12558
12972
  * Schließt den Writer und die damit verbundene Datenquelle
@@ -12656,6 +13070,21 @@ export interface SecureHttpRequest {
12656
13070
  */
12657
13071
  export interface SecureHttpResponse {
12658
13072
 
13073
+ /**
13074
+ * Liefert den Wert eines Header als Liste
13075
+ *
13076
+ * @param {string} name - Name eines Header
13077
+ * @return {Array<string>} Werte eines Header als Liste
13078
+ */
13079
+ getHeaderValueAsList(name: string): Array<string>;
13080
+
13081
+ /**
13082
+ * HTTP-Statuscode der Response
13083
+ *
13084
+ * @return {number} HTTP-Statuscode
13085
+ */
13086
+ getHttpStatus(): number;
13087
+
12659
13088
  /**
12660
13089
  * Prüft, ob ein Header vorhanden ist
12661
13090
  *
@@ -12679,14 +13108,6 @@ export interface SecureHttpResponse {
12679
13108
  */
12680
13109
  getHeaderValue(name: string): string;
12681
13110
 
12682
- /**
12683
- * Liefert den Wert eines Header als Liste
12684
- *
12685
- * @param {string} name - Name eines Header
12686
- * @return {Array<string>} Werte eines Header als Liste
12687
- */
12688
- getHeaderValueAsList(name: string): Array<string>;
12689
-
12690
13111
  /**
12691
13112
  * Liefert den Body aus der Response
12692
13113
  *
@@ -12694,13 +13115,6 @@ export interface SecureHttpResponse {
12694
13115
  */
12695
13116
  getBody(): string;
12696
13117
 
12697
- /**
12698
- * HTTP-Statuscode der Response
12699
- *
12700
- * @return {number} HTTP-Statuscode
12701
- */
12702
- getHttpStatus(): number;
12703
-
12704
13118
  /**
12705
13119
  * Liefert den Content-Type vom Body aus der Response
12706
13120
  *
@@ -12818,14 +13232,14 @@ export interface SequencerConfigurationDetail {
12818
13232
  export interface SerialNumberWithQuantityApi {
12819
13233
 
12820
13234
  /**
12821
- * Serial number.
13235
+ * Quantity.
12822
13236
  */
12823
- serialNumber: ArticleSerialNumber;
13237
+ quantity: number;
12824
13238
 
12825
13239
  /**
12826
- * Quantity.
13240
+ * Serial number.
12827
13241
  */
12828
- quantity: number;
13242
+ serialNumber: ArticleSerialNumber;
12829
13243
  }
12830
13244
 
12831
13245
  export interface ShelfCommonMapper {
@@ -13071,14 +13485,14 @@ export interface ShelfFile {
13071
13485
  subFiles: Array<SubFileInfo>;
13072
13486
 
13073
13487
  /**
13074
- * fileSize
13488
+ * revision number of this file
13075
13489
  */
13076
- fileSize: number;
13490
+ revisionNumber: number;
13077
13491
 
13078
13492
  /**
13079
- * revision number of this file
13493
+ * fileSize
13080
13494
  */
13081
- revisionNumber: number;
13495
+ fileSize: number;
13082
13496
 
13083
13497
  /**
13084
13498
  * file-extension of this entry
@@ -13106,14 +13520,14 @@ export interface ShelfFile {
13106
13520
  version: number;
13107
13521
 
13108
13522
  /**
13109
- * meta data
13523
+ * current reference of this file in our storage
13110
13524
  */
13111
- metaDataEntries: Array<ShelfFileMetaData>;
13525
+ storageHandle: string;
13112
13526
 
13113
13527
  /**
13114
- * current reference of this file in our storage
13528
+ * meta data
13115
13529
  */
13116
- storageHandle: string;
13530
+ metaDataEntries: Array<ShelfFileMetaData>;
13117
13531
 
13118
13532
  /**
13119
13533
  * MetaInformations for this Object
@@ -13160,14 +13574,14 @@ export interface ShelfShare {
13160
13574
  publishState: ShelfSharePublishState;
13161
13575
 
13162
13576
  /**
13163
- * For how many minutes this resource path stays accessible (null means unlimited).
13577
+ * Custom fields.
13164
13578
  */
13165
- publicUrlDurationInMinutes: number;
13579
+ custom: EavShelfshare;
13166
13580
 
13167
13581
  /**
13168
- * Custom fields.
13582
+ * For how many minutes this resource path stays accessible (null means unlimited).
13169
13583
  */
13170
- custom: EavShelfshare;
13584
+ publicUrlDurationInMinutes: number;
13171
13585
 
13172
13586
  /**
13173
13587
  * URL path segment that gives public access to this resource.
@@ -13404,14 +13818,14 @@ export interface StockTransferApi {
13404
13818
  bookDate: ScriptingDate;
13405
13819
 
13406
13820
  /**
13407
- * Source storage bin.
13821
+ * Ignore expiry date on stock booking
13408
13822
  */
13409
- sourceStorageBinId: number;
13823
+ ignoreExpiryDateOnStockBooking: boolean;
13410
13824
 
13411
13825
  /**
13412
- * Ignore expiry date on stock booking
13826
+ * Source storage bin.
13413
13827
  */
13414
- ignoreExpiryDateOnStockBooking: boolean;
13828
+ sourceStorageBinId: number;
13415
13829
 
13416
13830
  /**
13417
13831
  * Quantity.
@@ -13447,14 +13861,14 @@ export interface StockTransferResult {
13447
13861
  sourceOldStock: number;
13448
13862
 
13449
13863
  /**
13450
- * Transferred serial number.
13864
+ * Source storage.
13451
13865
  */
13452
- serialNumber: ApiObjectReference;
13866
+ sourceStorage: ApiObjectReference;
13453
13867
 
13454
13868
  /**
13455
- * Source storage.
13869
+ * Transferred serial number.
13456
13870
  */
13457
- sourceStorage: ApiObjectReference;
13871
+ serialNumber: ApiObjectReference;
13458
13872
 
13459
13873
  /**
13460
13874
  * Target storage bin.
@@ -13722,14 +14136,14 @@ export interface TagDto {
13722
14136
  editColor: string;
13723
14137
 
13724
14138
  /**
13725
- * Color in the search UI.
14139
+ * Color for displaying the tag.
13726
14140
  */
13727
- searchColor: string;
14141
+ color: string;
13728
14142
 
13729
14143
  /**
13730
- * Color for displaying the tag.
14144
+ * Color in the search UI.
13731
14145
  */
13732
- color: string;
14146
+ searchColor: string;
13733
14147
 
13734
14148
  /**
13735
14149
  * Tag label.
@@ -13774,14 +14188,14 @@ export const enum TagType {
13774
14188
  export interface TaxIdForeignCountry {
13775
14189
 
13776
14190
  /**
13777
- * Tax ID of the company in the associated country
14191
+ * ISO 2 Code of the country this tax ID is used for
13778
14192
  */
13779
- taxId: string;
14193
+ countryCode: string;
13780
14194
 
13781
14195
  /**
13782
- * ISO 2 Code of the country this tax ID is used for
14196
+ * Tax ID of the company in the associated country
13783
14197
  */
13784
- countryCode: string;
14198
+ taxId: string;
13785
14199
 
13786
14200
  /**
13787
14201
  * Unique identifier of the Object
@@ -13961,26 +14375,26 @@ export interface TextTemplate {
13961
14375
  */
13962
14376
  targetDocumentTypes: Array<ApiObjectReference>;
13963
14377
 
13964
- /**
13965
- * Predecessor document types; together with the target document types they define the transitions this template applies to.
13966
- */
13967
- sourceDocumentTypes: Array<ApiObjectReference>;
13968
-
13969
14378
  /**
13970
14379
  * Texts in the offered languages.
13971
14380
  */
13972
14381
  languageSpecificContents: Array<LocalizedTextTemplateContent>;
13973
14382
 
13974
14383
  /**
13975
- * Article these templates apply to.
14384
+ * Predecessor document types; together with the target document types they define the transitions this template applies to.
13976
14385
  */
13977
- articleId: number;
14386
+ sourceDocumentTypes: Array<ApiObjectReference>;
13978
14387
 
13979
14388
  /**
13980
14389
  * Is a separate DocumentLine created for the text template?
13981
14390
  */
13982
14391
  separateLine: boolean;
13983
14392
 
14393
+ /**
14394
+ * Article these templates apply to.
14395
+ */
14396
+ articleId: number;
14397
+
13984
14398
  /**
13985
14399
  * When a UI hint is shown.
13986
14400
  */
@@ -14166,14 +14580,14 @@ export interface User {
14166
14580
  version: number;
14167
14581
 
14168
14582
  /**
14169
- * first-name
14583
+ * is the email verified
14170
14584
  */
14171
- firstName: string;
14585
+ emailVerified: boolean;
14172
14586
 
14173
14587
  /**
14174
- * is the email verified
14588
+ * first-name
14175
14589
  */
14176
- emailVerified: boolean;
14590
+ firstName: string;
14177
14591
 
14178
14592
  /**
14179
14593
  * email-address
@@ -14186,14 +14600,14 @@ export interface User {
14186
14600
  id: number;
14187
14601
 
14188
14602
  /**
14189
- * Valid to
14603
+ * username
14190
14604
  */
14191
- validTo: ScriptingDateTime;
14605
+ username: string;
14192
14606
 
14193
14607
  /**
14194
- * username
14608
+ * Valid to
14195
14609
  */
14196
- username: string;
14610
+ validTo: ScriptingDateTime;
14197
14611
 
14198
14612
  /**
14199
14613
  * MetaInformations for this Object