@vario-software/types 2026.43.4 → 2026.44.1

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,
@@ -144,14 +144,14 @@ export interface Account {
144
144
  payablesSum: number;
145
145
 
146
146
  /**
147
- * Cost center.
147
+ * Total receivables.
148
148
  */
149
- costCenter: string;
149
+ receivablesSum: number;
150
150
 
151
151
  /**
152
- * Total receivables.
152
+ * Cost center.
153
153
  */
154
- receivablesSum: number;
154
+ costCenter: string;
155
155
 
156
156
  /**
157
157
  * companyLegal for this account
@@ -397,14 +397,14 @@ export interface AccountAddress {
397
397
  taxIdentificationNumber: string;
398
398
 
399
399
  /**
400
- * Additional address line2
400
+ * Parcel station
401
401
  */
402
- additionalAddressLine2: string;
402
+ parcelStation: string;
403
403
 
404
404
  /**
405
- * Parcel station
405
+ * Additional address line2
406
406
  */
407
- parcelStation: string;
407
+ additionalAddressLine2: string;
408
408
 
409
409
  /**
410
410
  * Street address number
@@ -475,14 +475,14 @@ export interface AccountBankdetail {
475
475
  active: boolean;
476
476
 
477
477
  /**
478
- * name of the bank
478
+ * post-code of the bank
479
479
  */
480
- bankName: string;
480
+ bankPostCode: string;
481
481
 
482
482
  /**
483
- * post-code of the bank
483
+ * name of the bank
484
484
  */
485
- bankPostCode: string;
485
+ bankName: string;
486
486
 
487
487
  /**
488
488
  * account from, if differs from account-address
@@ -596,14 +596,14 @@ export interface AccountListing {
596
596
  export interface AccountLoanValue {
597
597
 
598
598
  /**
599
- * Account.
599
+ * Amount not taken into account.
600
600
  */
601
- accountId: number;
601
+ unconsideredAmount: number;
602
602
 
603
603
  /**
604
- * Amount not taken into account.
604
+ * Account.
605
605
  */
606
- unconsideredAmount: number;
606
+ accountId: number;
607
607
 
608
608
  /**
609
609
  * Amount from orders.
@@ -828,14 +828,14 @@ export interface AccountPerson {
828
828
  tags: Array<TagDto>;
829
829
 
830
830
  /**
831
- * First name
831
+ * Default contacts
832
832
  */
833
- firstName: string;
833
+ defaultContacts: Map<ContactTypeType,Contact>;
834
834
 
835
835
  /**
836
- * Default contacts
836
+ * First name
837
837
  */
838
- defaultContacts: Map<ContactTypeType,Contact>;
838
+ firstName: string;
839
839
 
840
840
  /**
841
841
  * Assigned user (for the own account).
@@ -1015,14 +1015,14 @@ export interface Article {
1015
1015
  dangerousGoodInformation: DangerousGoodInformation;
1016
1016
 
1017
1017
  /**
1018
- * is this product purchasable
1018
+ * Product custom data
1019
1019
  */
1020
- purchasable: boolean;
1020
+ listingCustom: EavArticleListing;
1021
1021
 
1022
1022
  /**
1023
- * Product custom data
1023
+ * is this product purchasable
1024
1024
  */
1025
- listingCustom: EavArticleListing;
1025
+ purchasable: boolean;
1026
1026
 
1027
1027
  /**
1028
1028
  * base capacity unit
@@ -1265,14 +1265,14 @@ export interface Article {
1265
1265
  description: string;
1266
1266
 
1267
1267
  /**
1268
- * Special remark.
1268
+ * Price look-up code (PLU).
1269
1269
  */
1270
- remark: string;
1270
+ priceLookUpCode: string;
1271
1271
 
1272
1272
  /**
1273
- * Price look-up code (PLU).
1273
+ * Special remark.
1274
1274
  */
1275
- priceLookUpCode: string;
1275
+ remark: string;
1276
1276
 
1277
1277
  /**
1278
1278
  * is this product sellable
@@ -1295,14 +1295,14 @@ export interface Article {
1295
1295
  defaultFabricationCost: number;
1296
1296
 
1297
1297
  /**
1298
- * gross sales prices
1298
+ * Minimum remaining shelf life incoming (days): minimum remaining shelf life in days an article must still have when booked into a sales storage.
1299
1299
  */
1300
- grossSalesPrice: number;
1300
+ minimumRemainingDaysBeforeExpiryDateOnGoodsReceipt: number;
1301
1301
 
1302
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.
1303
+ * gross sales prices
1304
1304
  */
1305
- minimumRemainingDaysBeforeExpiryDateOnGoodsReceipt: number;
1305
+ grossSalesPrice: number;
1306
1306
 
1307
1307
  /**
1308
1308
  * Last purchase price (initial value).
@@ -1395,14 +1395,14 @@ export interface Article {
1395
1395
  netSalesPrice: number;
1396
1396
 
1397
1397
  /**
1398
- * Kommissionierungshinweis
1398
+ * capacity unit
1399
1399
  */
1400
- storageInfo: string;
1400
+ capacityUnit: UnitTypeReference;
1401
1401
 
1402
1402
  /**
1403
- * capacity unit
1403
+ * Kommissionierungshinweis
1404
1404
  */
1405
- capacityUnit: UnitTypeReference;
1405
+ storageInfo: string;
1406
1406
 
1407
1407
  /**
1408
1408
  * Base price unit.
@@ -1658,6 +1658,11 @@ export interface ArticleCustomer {
1658
1658
  */
1659
1659
  defaultGrossPrice: number;
1660
1660
 
1661
+ /**
1662
+ * Price determination type.
1663
+ */
1664
+ priceDetermination: ArticleCustomerPriceDetermination;
1665
+
1661
1666
  /**
1662
1667
  * Deviating product number.
1663
1668
  */
@@ -1668,11 +1673,6 @@ export interface ArticleCustomer {
1668
1673
  */
1669
1674
  articleNumber: string;
1670
1675
 
1671
- /**
1672
- * Price determination type.
1673
- */
1674
- priceDetermination: ArticleCustomerPriceDetermination;
1675
-
1676
1676
  /**
1677
1677
  * Deviating product identifier (e.g. barcode).
1678
1678
  */
@@ -2133,14 +2133,14 @@ export interface ArticleStorage {
2133
2133
  export interface ArticleSupplier {
2134
2134
 
2135
2135
  /**
2136
- * Should the deviating product description be used (e.g. in documents)?
2136
+ * Supplier reorder level.
2137
2137
  */
2138
- useSupplierArticleDescription: boolean;
2138
+ supplierReportingStock: number;
2139
2139
 
2140
2140
  /**
2141
- * Supplier reorder level.
2141
+ * Should the deviating product description be used (e.g. in documents)?
2142
2142
  */
2143
- supplierReportingStock: number;
2143
+ useSupplierArticleDescription: boolean;
2144
2144
 
2145
2145
  /**
2146
2146
  * Account display name.
@@ -2208,15 +2208,20 @@ export interface ArticleSupplier {
2208
2208
  info: MetaInfo;
2209
2209
 
2210
2210
  /**
2211
- * Packaging unit.
2211
+ * Tax schema used for purchases from this supplier instead of the article's tax schema
2212
2212
  */
2213
- packagingUnit: number;
2213
+ taxSchemaRef: ApiObjectReference;
2214
2214
 
2215
2215
  /**
2216
2216
  * Referenced Article name
2217
2217
  */
2218
2218
  articleName: string;
2219
2219
 
2220
+ /**
2221
+ * Packaging unit.
2222
+ */
2223
+ packagingUnit: number;
2224
+
2220
2225
  /**
2221
2226
  * Supplier prices.
2222
2227
  */
@@ -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
- * Belegart
2821
+ * Standard-Belegart der Kategorie verwenden
2811
2822
  */
2812
- documentTypeLabel: string;
2823
+ defaultDocumentTypeByCategory: EDocumentCategory;
2813
2824
 
2814
2825
  /**
2815
- * Standard-Belegart der Kategorie verwenden
2826
+ * Belegart
2816
2827
  */
2817
- defaultDocumentTypeByCategory: EDocumentCategory;
2828
+ documentTypeLabel: string;
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
  */
@@ -3015,11 +3054,26 @@ export interface CrmActivityType {
3015
3054
  */
3016
3055
  emailProcessing: boolean;
3017
3056
 
3057
+ /**
3058
+ * Off-hours per day of the week in which a surcharge applies. At most one entry per day.
3059
+ */
3060
+ offHours: Array<CrmActivityOffHours>;
3061
+
3018
3062
  /**
3019
3063
  * Sort order.
3020
3064
  */
3021
3065
  sortOrder: number;
3022
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
  */
@@ -3167,14 +3221,14 @@ export interface CrmDeal {
3167
3221
  info: MetaInfo;
3168
3222
 
3169
3223
  /**
3170
- * Additional client participants.
3224
+ * To be done by the user (assigned user).
3171
3225
  */
3172
- additionalParticipantsOfCustomer: Array<CrmParticipant>;
3226
+ assignedUserRef: ApiObjectReference;
3173
3227
 
3174
3228
  /**
3175
- * To be done by the user (assigned user).
3229
+ * Additional client participants.
3176
3230
  */
3177
- assignedUserRef: ApiObjectReference;
3231
+ additionalParticipantsOfCustomer: Array<CrmParticipant>;
3178
3232
 
3179
3233
  /**
3180
3234
  * Chance (in percent).
@@ -3518,14 +3572,14 @@ export interface CrmProject {
3518
3572
  info: MetaInfo;
3519
3573
 
3520
3574
  /**
3521
- * Additional client participants.
3575
+ * Client project manager.
3522
3576
  */
3523
- additionalParticipantsOfCustomer: Array<CrmParticipant>;
3577
+ projectManagerOfCustomer: CrmParticipant;
3524
3578
 
3525
3579
  /**
3526
- * Client project manager.
3580
+ * Additional client participants.
3527
3581
  */
3528
- projectManagerOfCustomer: CrmParticipant;
3582
+ additionalParticipantsOfCustomer: Array<CrmParticipant>;
3529
3583
 
3530
3584
  /**
3531
3585
  * Parent CRM objects.
@@ -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
  */
@@ -3769,11 +3833,6 @@ export interface CrmSubType {
3769
3833
 
3770
3834
  export interface CrmTask {
3771
3835
 
3772
- /**
3773
- * Responsible participant (contact person).
3774
- */
3775
- mainResponsibleParticipantRef: ApiObjectReference;
3776
-
3777
3836
  /**
3778
3837
  * Customer offer.
3779
3838
  */
@@ -3784,6 +3843,11 @@ export interface CrmTask {
3784
3843
  */
3785
3844
  reminders: Array<CrmReminder>;
3786
3845
 
3846
+ /**
3847
+ * Responsible participant (contact person).
3848
+ */
3849
+ mainResponsibleParticipantRef: ApiObjectReference;
3850
+
3787
3851
  /**
3788
3852
  * Notes.
3789
3853
  */
@@ -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,119 +4136,324 @@ 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;
4142
4219
 
4143
4220
  /**
4144
- * Currency identifier.
4221
+ * label
4145
4222
  */
4146
- id: number;
4223
+ label: string;
4147
4224
 
4148
4225
  /**
4149
- * Currency label.
4226
+ * document-line reference
4150
4227
  */
4151
- label: string;
4152
- }
4153
-
4154
- export interface Customer {
4228
+ documentLineRef: ApiObjectReference;
4155
4229
 
4156
4230
  /**
4157
- * reference to customer group
4231
+ * Version Identifier for this Object (for PUT)
4158
4232
  */
4159
- customerGroupRef: ApiObjectReference;
4233
+ version: number;
4160
4234
 
4161
4235
  /**
4162
- * Option for the batch processing.
4236
+ * material availability options
4163
4237
  */
4164
- stackProcessingType: AccountOrderStackProcessingType;
4238
+ commissionType: CrmTaskLineCommissionType;
4165
4239
 
4166
4240
  /**
4167
- * Cron expression for calculating the collective billing.
4241
+ * reference to the storage
4242
+ */
4243
+ storageRef: ApiObjectReference;
4244
+
4245
+ /**
4246
+ * billingtype of the line
4247
+ */
4248
+ billingType: CrmTaskLineBillingType;
4249
+
4250
+ /**
4251
+ * material handed over?
4252
+ */
4253
+ handedOver: boolean;
4254
+
4255
+ /**
4256
+ * price
4257
+ */
4258
+ price: number;
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;
4431
+
4432
+ /**
4433
+ * Currency identifier.
4434
+ */
4435
+ id: number;
4436
+
4437
+ /**
4438
+ * Currency label.
4439
+ */
4440
+ label: string;
4441
+ }
4442
+
4443
+ export interface Customer {
4444
+
4445
+ /**
4446
+ * reference to customer group
4447
+ */
4448
+ customerGroupRef: ApiObjectReference;
4449
+
4450
+ /**
4451
+ * Option for the batch processing.
4452
+ */
4453
+ stackProcessingType: AccountOrderStackProcessingType;
4454
+
4455
+ /**
4456
+ * Cron expression for calculating the collective billing.
4168
4457
  */
4169
4458
  dueDateCalculation: string;
4170
4459
 
@@ -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',
@@ -4398,14 +4697,14 @@ export const enum DealNotificationEventConfig {
4398
4697
  export interface DeliveryMethod {
4399
4698
 
4400
4699
  /**
4401
- * Pass the email to the shipper.
4700
+ * Should a line with this delivery method be transferred into a delivery document with this method?
4402
4701
  */
4403
- forwardEmailToShipper: boolean;
4702
+ splitIntoNewDocument: boolean;
4404
4703
 
4405
4704
  /**
4406
- * Should a line with this delivery method be transferred into a delivery document with this method?
4705
+ * Pass the email to the shipper.
4407
4706
  */
4408
- splitIntoNewDocument: boolean;
4707
+ forwardEmailToShipper: boolean;
4409
4708
 
4410
4709
  /**
4411
4710
  * Barcode.
@@ -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
  */
@@ -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 country of origin (ISO Alpha-3).
5088
+ * Country code of the performance country (ISO Alpha-3).
4785
5089
  */
4786
- sourceCountryCode: string;
5090
+ performanceCountryCode: string;
4787
5091
 
4788
5092
  /**
4789
- * Country code of the performance country (ISO Alpha-3).
5093
+ * Country code of the country of origin (ISO Alpha-3).
4790
5094
  */
4791
- performanceCountryCode: string;
5095
+ sourceCountryCode: string;
4792
5096
 
4793
5097
  /**
4794
5098
  * Agreed deposit date.
@@ -5012,6 +5316,11 @@ True when the receipt is paid.
5012
5316
  */
5013
5317
  externalPaymentReference: string;
5014
5318
 
5319
+ /**
5320
+ * Gross invoice amount according to the supplier, only compared with the calculated total (purchase only)
5321
+ */
5322
+ userDefinedTotalGrossPrice: number;
5323
+
5015
5324
  /**
5016
5325
  * MetaInformations for this Object
5017
5326
  */
@@ -5172,6 +5481,11 @@ True when the receipt is paid.
5172
5481
  */
5173
5482
  posReceiptChangeAmount: number;
5174
5483
 
5484
+ /**
5485
+ * Reference to the delivery term.
5486
+ */
5487
+ deliveryTermRef: ApiObjectReference;
5488
+
5175
5489
  /**
5176
5490
  * Is the receipt balanced, i.e. paid with no change?
5177
5491
  True when the receipt is balanced.
@@ -5179,11 +5493,6 @@ True when the receipt is balanced.
5179
5493
  */
5180
5494
  posReceiptBalanced: boolean;
5181
5495
 
5182
- /**
5183
- * Reference to the delivery term.
5184
- */
5185
- deliveryTermRef: ApiObjectReference;
5186
-
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
- * Ordered by the contact person.
5527
+ * Report group, if it deviates from the default.
5219
5528
  */
5220
- orderedByPersonRef: ApiObjectReference;
5529
+ reportGroupRef: ApiObjectReference;
5221
5530
 
5222
5531
  /**
5223
- * Report group, if it deviates from the default.
5532
+ * Ordered by the contact person.
5224
5533
  */
5225
- reportGroupRef: ApiObjectReference;
5534
+ orderedByPersonRef: ApiObjectReference;
5226
5535
  }
5227
5536
 
5228
5537
  export interface DocumentAdditionalInfo {
@@ -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.
@@ -5425,14 +5734,14 @@ export interface DocumentAddress {
5425
5734
  additionalAddressLine2: string;
5426
5735
 
5427
5736
  /**
5428
- * Street address number
5737
+ * Delivery terms.
5429
5738
  */
5430
- streetAddressNumber: string;
5739
+ deliveryTermRef: ApiObjectReference;
5431
5740
 
5432
5741
  /**
5433
- * Delivery terms.
5742
+ * Street address number
5434
5743
  */
5435
- deliveryTermRef: ApiObjectReference;
5744
+ streetAddressNumber: string;
5436
5745
 
5437
5746
  /**
5438
5747
  * address line 3
@@ -5450,14 +5759,14 @@ export interface DocumentAddress {
5450
5759
  paymentMethodRef: ApiObjectReference;
5451
5760
 
5452
5761
  /**
5453
- * salutation for this address
5762
+ * Reference to the account.
5454
5763
  */
5455
- salutation: string;
5764
+ accountRef: ApiObjectReference;
5456
5765
 
5457
5766
  /**
5458
- * Reference to the account.
5767
+ * salutation for this address
5459
5768
  */
5460
- accountRef: ApiObjectReference;
5769
+ salutation: string;
5461
5770
 
5462
5771
  /**
5463
5772
  * address line 2
@@ -5532,16 +5841,31 @@ 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
+
5535
5849
  /**
5536
5850
  * Cron expression for calculating the due date.
5537
5851
  */
5538
5852
  dueDateCalculation: string;
5539
5853
 
5854
+ /**
5855
+ * Cron expression for calculating the next task creation. Lines without their own expression use the one of the header.
5856
+ */
5857
+ taskCreationPeriod: string;
5858
+
5540
5859
  /**
5541
5860
  * Term from.
5542
5861
  */
5543
5862
  runtimeFromDate: ScriptingDate;
5544
5863
 
5864
+ /**
5865
+ * Due date for which the last task was created. A task is created again as soon as the due date differs from it.
5866
+ */
5867
+ taskCreatedForDueDate: ScriptingDate;
5868
+
5545
5869
  /**
5546
5870
  * Contract end (header only).
5547
5871
  */
@@ -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
- * Latest possible termination date for the provider.
5910
+ * Assets the contract detail refers to.
5582
5911
  */
5583
- lastProviderCancellationDate: ScriptingDate;
5912
+ assetRefs: Array<ApiObjectReference>;
5584
5913
 
5585
5914
  /**
5586
5915
  * Next due date.
5587
5916
  */
5588
5917
  nextDueDate: ScriptingDate;
5589
5918
 
5919
+ /**
5920
+ * Latest possible termination date for the provider.
5921
+ */
5922
+ lastProviderCancellationDate: ScriptingDate;
5923
+
5590
5924
  /**
5591
5925
  * Latest possible termination date for the customer.
5592
5926
  */
@@ -5786,14 +6120,14 @@ export interface DocumentLine {
5786
6120
  number: string;
5787
6121
 
5788
6122
  /**
5789
- * Reference to the customer order line.
6123
+ * Total gross weight.
5790
6124
  */
5791
- customerOrderLineRef: DocumentLineRef;
6125
+ totalGrossWeight: number;
5792
6126
 
5793
6127
  /**
5794
- * Total gross weight.
6128
+ * Reference to the customer order line.
5795
6129
  */
5796
- totalGrossWeight: number;
6130
+ customerOrderLineRef: DocumentLineRef;
5797
6131
 
5798
6132
  /**
5799
6133
  * Reference to the open item to settle (only for OPEN_ITEM_SETTLEMENT).
@@ -5856,20 +6190,25 @@ export interface DocumentLine {
5856
6190
  serialType: ArticleSerialType;
5857
6191
 
5858
6192
  /**
5859
- * Price unit.
6193
+ * Tax schema.
5860
6194
  */
5861
- priceUnit: number;
6195
+ taxSchemaRef: ApiObjectReference;
5862
6196
 
5863
6197
  /**
5864
- * Tax schema.
6198
+ * Price unit.
5865
6199
  */
5866
- taxSchemaRef: ApiObjectReference;
6200
+ priceUnit: number;
5867
6201
 
5868
6202
  /**
5869
6203
  * Price adjustments - line, in base currency.
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
  */
@@ -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
  */
@@ -6156,14 +6520,14 @@ export interface DocumentLine {
6156
6520
  position: number;
6157
6521
 
6158
6522
  /**
6159
- * Bookings.
6523
+ * Should the DocumentLine be recalculated from the components?
6160
6524
  */
6161
- bookings: Array<DocumentLineBooking>;
6525
+ recalcLinePriceViaComponents: boolean;
6162
6526
 
6163
6527
  /**
6164
- * Should the DocumentLine be recalculated from the components?
6528
+ * Bookings.
6165
6529
  */
6166
- recalcLinePriceViaComponents: boolean;
6530
+ bookings: Array<DocumentLineBooking>;
6167
6531
 
6168
6532
  /**
6169
6533
  * unit gross Volume in cubic meters
@@ -6676,16 +7040,16 @@ export interface DocumentLineFabricationDetail {
6676
7040
  */
6677
7041
  quantityDefective: number;
6678
7042
 
6679
- /**
6680
- * Custom field.
6681
- */
6682
- custom: EavFabricationline;
6683
-
6684
7043
  /**
6685
7044
  * Produced serial numbers.
6686
7045
  */
6687
7046
  serialNumbers: Array<DocumentLineFabricationDetailSerialNumber>;
6688
7047
 
7048
+ /**
7049
+ * Custom field.
7050
+ */
7051
+ custom: EavFabricationline;
7052
+
6689
7053
  /**
6690
7054
  * Quantity produced.
6691
7055
  */
@@ -6949,14 +7313,14 @@ export interface DocumentLineReturnDetail {
6949
7313
  customerShareOnReduction: number;
6950
7314
 
6951
7315
  /**
6952
- * Wait for the return before the goods replacement (only for GOODS_EXCHANGE_ITEM_GETS_SEND_BACK)?
7316
+ * Delivery term for the return (how the customer sends it back).
6953
7317
  */
6954
- waitForReturnBeforeExchange: boolean;
7318
+ deliveryTermRef: ApiObjectReference;
6955
7319
 
6956
7320
  /**
6957
- * Delivery term for the return (how the customer sends it back).
7321
+ * Wait for the return before the goods replacement (only for GOODS_EXCHANGE_ITEM_GETS_SEND_BACK)?
6958
7322
  */
6959
- deliveryTermRef: ApiObjectReference;
7323
+ waitForReturnBeforeExchange: boolean;
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
- * Ignore expiry date on stock booking
8201
+ * Source storage bin.
7833
8202
  */
7834
- ignoreExpiryDateOnStockBooking: boolean;
8203
+ sourceStorageBinId: number;
7835
8204
 
7836
8205
  /**
7837
- * Source storage bin.
8206
+ * Ignore expiry date on stock booking
7838
8207
  */
7839
- sourceStorageBinId: number;
8208
+ ignoreExpiryDateOnStockBooking: boolean;
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 **/
@@ -8349,14 +8724,14 @@ export interface FabricationRevertRequest {
8349
8724
  export interface FabricationSerialNumber {
8350
8725
 
8351
8726
  /**
8352
- * Best-before or expiry date.
8727
+ * Identifier of the serial number to produce (only for the targeted production of serial numbers that are already defined).
8353
8728
  */
8354
- expiryDate: ScriptingDate;
8729
+ serialNumberId: number;
8355
8730
 
8356
8731
  /**
8357
- * Identifier of the serial number to produce (only for the targeted production of serial numbers that are already defined).
8732
+ * Best-before or expiry date.
8358
8733
  */
8359
- serialNumberId: number;
8734
+ expiryDate: ScriptingDate;
8360
8735
 
8361
8736
  /**
8362
8737
  * Note.
@@ -8613,14 +8988,14 @@ export interface OpenItem {
8613
8988
  id: number;
8614
8989
 
8615
8990
  /**
8616
- * Payment reference from an external system
8991
+ * Payment state.
8617
8992
  */
8618
- externalPaymentReference: string;
8993
+ paymentState: OpenItemPaymentState;
8619
8994
 
8620
8995
  /**
8621
- * Payment state.
8996
+ * Payment reference from an external system
8622
8997
  */
8623
- paymentState: OpenItemPaymentState;
8998
+ externalPaymentReference: string;
8624
8999
 
8625
9000
  /**
8626
9001
  * Dunning block.
@@ -8628,14 +9003,14 @@ export interface OpenItem {
8628
9003
  dunningBlock: boolean;
8629
9004
 
8630
9005
  /**
8631
- * order
9006
+ * Total of the payments in base currency.
8632
9007
  */
8633
- order: ApiObjectReference;
9008
+ baseSumPayments: number;
8634
9009
 
8635
9010
  /**
8636
- * Total of the payments in base currency.
9011
+ * order
8637
9012
  */
8638
- baseSumPayments: number;
9013
+ order: ApiObjectReference;
8639
9014
 
8640
9015
  /**
8641
9016
  * MetaInformations for this Object
@@ -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
  */
@@ -8667,25 +9047,20 @@ export interface OpenItem {
8667
9047
  */
8668
9048
  version: number;
8669
9049
 
8670
- /**
8671
- * List of tags
8672
- */
8673
- tags: Array<TagDto>;
8674
-
8675
9050
  /**
8676
9051
  * Total of the invoice amounts eligible for the payment discount in base currency.
8677
9052
  */
8678
9053
  baseSumDiscountableAmount: number;
8679
9054
 
8680
9055
  /**
8681
- * Due date.
9056
+ * List of tags
8682
9057
  */
8683
- paymentDueDate: ScriptingDate;
9058
+ tags: Array<TagDto>;
8684
9059
 
8685
9060
  /**
8686
- * Country code of the country of origin (ISO Alpha-3, settable externally when no document is present).
9061
+ * Due date.
8687
9062
  */
8688
- sourceCountryCode: string;
9063
+ paymentDueDate: ScriptingDate;
8689
9064
 
8690
9065
  /**
8691
9066
  * Country code of the performance country (ISO Alpha-3, settable externally when no document is present).
@@ -8693,15 +9068,20 @@ export interface OpenItem {
8693
9068
  performanceCountryCode: string;
8694
9069
 
8695
9070
  /**
8696
- * agreed Deposit payment date
9071
+ * Country code of the country of origin (ISO Alpha-3, settable externally when no document is present).
8697
9072
  */
8698
- depositPaymentDate: ScriptingDate;
9073
+ sourceCountryCode: string;
8699
9074
 
8700
9075
  /**
8701
9076
  * Value date, read-only.
8702
9077
  */
8703
9078
  valueDateReadOnly: boolean;
8704
9079
 
9080
+ /**
9081
+ * agreed Deposit payment date
9082
+ */
9083
+ depositPaymentDate: ScriptingDate;
9084
+
8705
9085
  /**
8706
9086
  * Does this open item belong to accounts payable or accounts receivable
8707
9087
  */
@@ -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
  */
@@ -8768,14 +9143,14 @@ export interface OpenItem {
8768
9143
  paymentAmount: number;
8769
9144
 
8770
9145
  /**
8771
- * Credit note.
9146
+ * how should a refund be done?
8772
9147
  */
8773
- creditNote: ApiObjectReference;
9148
+ refundType: OpenItem$OpenItemRefundType;
8774
9149
 
8775
9150
  /**
8776
- * how should a refund be done?
9151
+ * Credit note.
8777
9152
  */
8778
- refundType: OpenItem$OpenItemRefundType;
9153
+ creditNote: ApiObjectReference;
8779
9154
 
8780
9155
  /**
8781
9156
  * Booking to a supplier or a customer for manual open items.
@@ -8936,14 +9311,14 @@ export const enum OpenItemDunningState {
8936
9311
  export interface OpenItemPaymentPlan {
8937
9312
 
8938
9313
  /**
8939
- * Amount.
9314
+ * Due date rule.
8940
9315
  */
8941
- amount: number;
9316
+ dueDateCalculation: string;
8942
9317
 
8943
9318
  /**
8944
- * Due date rule.
9319
+ * Amount.
8945
9320
  */
8946
- dueDateCalculation: string;
9321
+ amount: number;
8947
9322
 
8948
9323
  /**
8949
9324
  * End date.
@@ -8955,11 +9330,6 @@ export interface OpenItemPaymentPlan {
8955
9330
  */
8956
9331
  dueDate: ScriptingDate;
8957
9332
 
8958
- /**
8959
- * Payment plan type.
8960
- */
8961
- paymentPlanType: OpenItemPaymentPlan$PaymentPlanType;
8962
-
8963
9333
  /**
8964
9334
  * Active.
8965
9335
  */
@@ -8970,6 +9340,11 @@ export interface OpenItemPaymentPlan {
8970
9340
  */
8971
9341
  description: string;
8972
9342
 
9343
+ /**
9344
+ * Payment plan type.
9345
+ */
9346
+ paymentPlanType: OpenItemPaymentPlan$PaymentPlanType;
9347
+
8973
9348
  /**
8974
9349
  * Version Identifier for this Object (for PUT)
8975
9350
  */
@@ -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.
@@ -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',
@@ -9374,14 +9755,14 @@ export interface PaymentMethod {
9374
9755
  dunnable: boolean;
9375
9756
 
9376
9757
  /**
9377
- * Close the debtor open item?
9758
+ * translations
9378
9759
  */
9379
- closeCustomerAccountType: boolean;
9760
+ translations: Array<DocumentTypeTerm>;
9380
9761
 
9381
9762
  /**
9382
- * translations
9763
+ * Close the debtor open item?
9383
9764
  */
9384
- translations: Array<DocumentTypeTerm>;
9765
+ closeCustomerAccountType: boolean;
9385
9766
 
9386
9767
  /**
9387
9768
  * Additional days for the recurring direct debit.
@@ -9480,14 +9861,14 @@ export interface PaymentTerm {
9480
9861
  paymentDiscount2: number;
9481
9862
 
9482
9863
  /**
9483
- * Percent for Discount 1
9864
+ * printDescription
9484
9865
  */
9485
- paymentDiscount1: number;
9866
+ printDescription: string;
9486
9867
 
9487
9868
  /**
9488
- * printDescription
9869
+ * Percent for Discount 1
9489
9870
  */
9490
- printDescription: string;
9871
+ paymentDiscount1: number;
9491
9872
 
9492
9873
  /**
9493
9874
  * Days for Discount 1
@@ -9499,6 +9880,11 @@ export interface PaymentTerm {
9499
9880
  */
9500
9881
  remainingTermRef: ApiObjectReference;
9501
9882
 
9883
+ /**
9884
+ * Days for Discount 2
9885
+ */
9886
+ paymentDays2: number;
9887
+
9502
9888
  /**
9503
9889
  * Is this active?
9504
9890
  */
@@ -9509,11 +9895,6 @@ export interface PaymentTerm {
9509
9895
  */
9510
9896
  description: string;
9511
9897
 
9512
- /**
9513
- * Days for Discount 2
9514
- */
9515
- paymentDays2: number;
9516
-
9517
9898
  /**
9518
9899
  * label for this payment term
9519
9900
  */
@@ -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
  }
@@ -9952,14 +10334,14 @@ export interface PicklistLineBooking {
9952
10334
  storageBinId: number;
9953
10335
 
9954
10336
  /**
9955
- * Booking preset?
10337
+ * Quantity to book (packed).
9956
10338
  */
9957
- preset: boolean;
10339
+ quantityPacked: number;
9958
10340
 
9959
10341
  /**
9960
- * Quantity to book (packed).
10342
+ * Booking preset?
9961
10343
  */
9962
- quantityPacked: number;
10344
+ preset: boolean;
9963
10345
  }
9964
10346
 
9965
10347
  export interface PicklistLineComponent {
@@ -10205,11 +10587,6 @@ export interface PicklistTemplate$OrderSelectionOptions {
10205
10587
  */
10206
10588
  maxOrderValue: number;
10207
10589
 
10208
- /**
10209
- * Only fully deliverable lines.
10210
- */
10211
- onlyFullDeliverableOrderLines: boolean;
10212
-
10213
10590
  /**
10214
10591
  * Selection by the delivery date range.
10215
10592
  */
@@ -10221,20 +10598,25 @@ export interface PicklistTemplate$OrderSelectionOptions {
10221
10598
  maxOrderCount: number;
10222
10599
 
10223
10600
  /**
10224
- * Selection by the document date range.
10601
+ * Only fully deliverable lines.
10225
10602
  */
10226
- documentDateRange: PicklistTemplate$DateRange;
10603
+ onlyFullDeliverableOrderLines: boolean;
10227
10604
 
10228
10605
  /**
10229
- * Valid storage areas.
10606
+ * Selection by the document date range.
10230
10607
  */
10231
- storageAreaRefs: Array<ApiObjectReference>;
10608
+ documentDateRange: PicklistTemplate$DateRange;
10232
10609
 
10233
10610
  /**
10234
10611
  * Identifier of the salesChannel considered in the selection.
10235
10612
  */
10236
10613
  salesChannelId: number;
10237
10614
 
10615
+ /**
10616
+ * Valid storage areas.
10617
+ */
10618
+ storageAreaRefs: Array<ApiObjectReference>;
10619
+
10238
10620
  /**
10239
10621
  * Only fully deliverable orders.
10240
10622
  */
@@ -10298,11 +10680,6 @@ export interface PicklistTemplate$PicklistCreationOptions {
10298
10680
  */
10299
10681
  orderPickingTrolleyGroupRef: ApiObjectReference;
10300
10682
 
10301
- /**
10302
- * Which report group the picklist is printed with.
10303
- */
10304
- picklistOutputReportGroupRef: ApiObjectReference;
10305
-
10306
10683
  /**
10307
10684
  * Predefine the storage bins.
10308
10685
  */
@@ -10314,15 +10691,20 @@ export interface PicklistTemplate$PicklistCreationOptions {
10314
10691
  orderPickingTrolleyRef: ApiObjectReference;
10315
10692
 
10316
10693
  /**
10317
- * Should all available pick trolleys be used?
10694
+ * Which report group the picklist is printed with.
10318
10695
  */
10319
- useAllAvailOrderPickingTrolleys: boolean;
10696
+ picklistOutputReportGroupRef: ApiObjectReference;
10320
10697
 
10321
10698
  /**
10322
10699
  * Sort the picklist lines by route position.
10323
10700
  */
10324
10701
  sortByRoutePosition: boolean;
10325
10702
 
10703
+ /**
10704
+ * Should all available pick trolleys be used?
10705
+ */
10706
+ useAllAvailOrderPickingTrolleys: boolean;
10707
+
10326
10708
  /**
10327
10709
  * Should picklists for the quick picking be created first?
10328
10710
  */
@@ -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 the labels be printed automatically during the recording?
10371
10743
  */
10372
- alwaysShowDeliveryMethod: boolean;
10744
+ printLabelOnScan: boolean;
10373
10745
 
10374
10746
  /**
10375
- * Should the delivery documents be printed automatically after the picking is completed?
10747
+ * Should services be picked?
10376
10748
  */
10377
- autoPrintDeliveryDocument: boolean;
10749
+ allowPickingOfServiceArticles: boolean;
10378
10750
 
10379
10751
  /**
10380
- * Block exceeding the maximum parcel weight?
10752
+ * Should the labels be printed automatically when the order is completed?
10381
10753
  */
10382
- blockIfMaximumPackageWeightIsExceeded: boolean;
10754
+ printLabelOnCompleteOrder: boolean;
10383
10755
 
10384
10756
  /**
10385
- * Show the shipping dialog on completion.
10757
+ * Should the labels be printed automatically when the picking is completed?
10386
10758
  */
10387
- showShippingFormOnPickingFinish: boolean;
10759
+ printLabelAfterPicking: boolean;
10388
10760
 
10389
10761
  /**
10390
- * Should the labels be printed automatically during the recording?
10762
+ * Rolling picking and consolidation: during picking the box has to be confirmed by scanning after an article is scanned.
10391
10763
  */
10392
- printLabelOnScan: boolean;
10764
+ scanPickTrolleyBoxToConfirmPickedArticle: boolean;
10393
10765
 
10394
10766
  /**
10395
- * Use the digital picklist: only the lines are shown in the frontend and confirmed by tapping or swiping.
10767
+ * Confirm lots automatically when they are predefined or were already recorded during picking.
10396
10768
  */
10397
- useDigitalPicklist: boolean;
10769
+ autoDeterminationOfLots: boolean;
10398
10770
 
10399
10771
  /**
10400
- * Allow collective confirmation.
10772
+ * Hide the target quantities in the dialogs?
10401
10773
  */
10402
- allowFullConfirmation: 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
+ * Perform an automatic action (e.g., stock transfer) after picking.
10416
10788
  */
10417
- scanDeliveryDocumentAndShippingLabelOnFinish: boolean;
10789
+ executeAfterCommitActions: boolean;
10418
10790
 
10419
10791
  /**
10420
- * Should the labels be printed automatically when the order is completed?
10792
+ * Automatic completion after the last article of the current order.
10421
10793
  */
10422
- printLabelOnCompleteOrder: boolean;
10794
+ autoPickingFinishAfterLastArticleInOrder: 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
+ * Should the delivery documents be printed automatically after the picking is completed?
10431
10803
  */
10432
- printLabelAfterPicking: boolean;
10804
+ autoPrintDeliveryDocument: boolean;
10805
+
10806
+ /**
10807
+ * Block exceeding the maximum parcel weight?
10808
+ */
10809
+ blockIfMaximumPackageWeightIsExceeded: boolean;
10810
+
10811
+ /**
10812
+ * Show the shipping dialog on completion.
10813
+ */
10814
+ showShippingFormOnPickingFinish: boolean;
10815
+
10816
+ /**
10817
+ * Use the digital picklist: only the lines are shown in the frontend and confirmed by tapping or swiping.
10818
+ */
10819
+ useDigitalPicklist: boolean;
10433
10820
 
10434
10821
  /**
10435
- * Confirm lots automatically when they are predefined or were already recorded during picking.
10822
+ * Allow collective confirmation.
10436
10823
  */
10437
- autoDeterminationOfLots: boolean;
10824
+ allowFullConfirmation: boolean;
10438
10825
 
10439
10826
  /**
10440
- * Should articles without stock management be picked?
10827
+ * Use the sales unit as the default quantity.
10441
10828
  */
10442
- allowPickingOfNonInventoryManagedArticles: boolean;
10829
+ useSalesUnit: boolean;
10443
10830
 
10444
10831
  /**
10445
- * Hide the target quantities in the dialogs?
10832
+ * Only for consolidation: scan the delivery document and the shipping label to complete.
10446
10833
  */
10447
- hideTargetQuantityInViews: boolean;
10834
+ scanDeliveryDocumentAndShippingLabelOnFinish: boolean;
10448
10835
 
10449
10836
  /**
10450
- * Storage bins must be recorded despite a predefined value.
10837
+ * Should articles without stock management be picked?
10451
10838
  */
10452
- alwaysRequireScanOfStorageBin: boolean;
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.
@@ -10756,14 +11143,14 @@ export interface ProductDiscount {
10756
11143
  fromQuantity: number;
10757
11144
 
10758
11145
  /**
10759
- * Product this discount is valid for.
11146
+ * Manufacturer.
10760
11147
  */
10761
- articleRef: ApiObjectReference;
11148
+ manufacturerRef: ApiObjectReference;
10762
11149
 
10763
11150
  /**
10764
- * Manufacturer.
11151
+ * Product this discount is valid for.
10765
11152
  */
10766
- manufacturerRef: ApiObjectReference;
11153
+ articleRef: ApiObjectReference;
10767
11154
 
10768
11155
  /**
10769
11156
  * Valid from.
@@ -10821,20 +11208,25 @@ export interface ProductDiscount {
10821
11208
  specialOfferPrice: boolean;
10822
11209
 
10823
11210
  /**
10824
- * Determines the discount value type (fixed or percentage).
11211
+ * Discount group.
10825
11212
  */
10826
- modifierValueType: ValueType;
11213
+ discountGroupRef: ApiObjectReference;
10827
11214
 
10828
11215
  /**
10829
- * Discount name.
11216
+ * Determines the discount value type (fixed or percentage).
10830
11217
  */
10831
- modifierName: string;
11218
+ modifierValueType: ValueType;
10832
11219
 
10833
11220
  /**
10834
11221
  * Account the discount is valid for.
10835
11222
  */
10836
11223
  accountRef: ApiObjectReference;
10837
11224
 
11225
+ /**
11226
+ * Discount name.
11227
+ */
11228
+ modifierName: string;
11229
+
10838
11230
  /**
10839
11231
  * Unique identifier of the Object
10840
11232
  */
@@ -11020,14 +11412,14 @@ export interface ProductPrice {
11020
11412
  supplierGroupRef: ApiObjectReference;
11021
11413
 
11022
11414
  /**
11023
- * Product this price is valid for.
11415
+ * Manufacturer.
11024
11416
  */
11025
- articleRef: ApiObjectReference;
11417
+ manufacturerRef: ApiObjectReference;
11026
11418
 
11027
11419
  /**
11028
- * Manufacturer.
11420
+ * Product this price is valid for.
11029
11421
  */
11030
- manufacturerRef: ApiObjectReference;
11422
+ articleRef: ApiObjectReference;
11031
11423
 
11032
11424
  /**
11033
11425
  * Version Identifier for this Object (for PUT)
@@ -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.
@@ -11309,6 +11706,11 @@ export interface RequestDocument {
11309
11706
  */
11310
11707
  incomingGoodsPickTrolleyId: number;
11311
11708
 
11709
+ /**
11710
+ * For internal use: the Documents default Storage
11711
+ */
11712
+ defaultStorageId: number;
11713
+
11312
11714
  /**
11313
11715
  * calculation mode
11314
11716
  */
@@ -11534,6 +11936,11 @@ export interface RequestDocumentLine {
11534
11936
  */
11535
11937
  priceModifiers: Array<RequestDocumentPriceModifier>;
11536
11938
 
11939
+ /**
11940
+ * For internal use: the external article number.
11941
+ */
11942
+ externalArticleNumber: string;
11943
+
11537
11944
  /**
11538
11945
  * Source document line identifier.
11539
11946
  */
@@ -11544,11 +11951,6 @@ export interface RequestDocumentLine {
11544
11951
  */
11545
11952
  bookings: Array<RequestDocumentLineBooking>;
11546
11953
 
11547
- /**
11548
- * For internal use: the external article number.
11549
- */
11550
- externalArticleNumber: string;
11551
-
11552
11954
  /**
11553
11955
  * Trigger the label printing for this line.
11554
11956
  */
@@ -11772,14 +12174,14 @@ export interface SalesAgent {
11772
12174
  taxRateRef: ApiObjectReference;
11773
12175
 
11774
12176
  /**
11775
- * reference to the assigned user
12177
+ * country code performance country IsoAlpha3
11776
12178
  */
11777
- userRef: ApiObjectReference;
12179
+ performanceCountryCode: string;
11778
12180
 
11779
12181
  /**
11780
- * country code performance country IsoAlpha3
12182
+ * reference to the assigned user
11781
12183
  */
11782
- performanceCountryCode: string;
12184
+ userRef: ApiObjectReference;
11783
12185
 
11784
12186
  /**
11785
12187
  * billing type
@@ -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
  /**
@@ -11978,14 +12392,14 @@ export interface ScenarioDimensionValue {
11978
12392
  export interface ScenarioFactDef {
11979
12393
 
11980
12394
  /**
11981
- * Attribute type.
12395
+ * Attribute name.
11982
12396
  */
11983
- attributeType: ScenarioFactDef$FactType;
12397
+ factAttribute: string;
11984
12398
 
11985
12399
  /**
11986
- * Attribute name.
12400
+ * Attribute type.
11987
12401
  */
11988
- factAttribute: string;
12402
+ attributeType: ScenarioFactDef$FactType;
11989
12403
 
11990
12404
  /**
11991
12405
  * Unique identifier of the Object
@@ -12025,57 +12439,57 @@ export interface ScriptOutputRequest {
12025
12439
  arg(key: string, value: object): ScriptOutputRequest;
12026
12440
 
12027
12441
  /**
12028
- * setzt den Ausgabetyp auf Mail
12442
+ * fügt emailadresse und alias einer ausgabe hinzu
12029
12443
  *
12444
+ * @param {number} userId - setzt die Userid
12445
+ * @param {string} emailAddress - setzt die emailAddress
12446
+ * @param {string} alias - setzt den Alias
12030
12447
  * @return {ScriptOutputRequest}
12031
12448
  */
12032
- outputMail(): ScriptOutputRequest;
12449
+ userRecipient(userId: number, emailAddress: string, alias: string): ScriptOutputRequest;
12033
12450
 
12034
12451
  /**
12035
- * setzt den Ausgabetyp auf User-Message
12452
+ * fügt ein DMS-Dokument (per ID) als Mail-Anhang hinzu
12036
12453
  *
12454
+ * @param {number} shelfDocumentId - ID des DMS-Dokuments
12037
12455
  * @return {ScriptOutputRequest}
12038
12456
  */
12039
- outputUserMessage(): ScriptOutputRequest;
12457
+ attachDocument(shelfDocumentId: number): ScriptOutputRequest;
12040
12458
 
12041
12459
  /**
12042
- * setzt den Ausgabetyp auf File-Export
12460
+ * setzt den Ausgabetyp auf User-Message
12043
12461
  *
12044
12462
  * @return {ScriptOutputRequest}
12045
12463
  */
12046
- outputFileExport(): ScriptOutputRequest;
12464
+ outputUserMessage(): ScriptOutputRequest;
12047
12465
 
12048
12466
  /**
12049
- * setzt den Ausgabetyp auf Drucken
12467
+ * setzt den Ausgabetyp auf File-Export
12050
12468
  *
12051
12469
  * @return {ScriptOutputRequest}
12052
12470
  */
12053
- outputPrint(): ScriptOutputRequest;
12471
+ outputFileExport(): ScriptOutputRequest;
12054
12472
 
12055
12473
  /**
12056
- * setzt den Ausgabetyp auf reine DMS-Ablage
12474
+ * setzt den Ausgabetyp auf Mail
12057
12475
  *
12058
12476
  * @return {ScriptOutputRequest}
12059
12477
  */
12060
- outputDmsOnly(): ScriptOutputRequest;
12478
+ outputMail(): ScriptOutputRequest;
12061
12479
 
12062
12480
  /**
12063
- * fügt emailadresse und alias einer ausgabe hinzu
12481
+ * setzt den Ausgabetyp auf Drucken
12064
12482
  *
12065
- * @param {number} userId - setzt die Userid
12066
- * @param {string} emailAddress - setzt die emailAddress
12067
- * @param {string} alias - setzt den Alias
12068
12483
  * @return {ScriptOutputRequest}
12069
12484
  */
12070
- userRecipient(userId: number, emailAddress: string, alias: string): ScriptOutputRequest;
12485
+ outputPrint(): ScriptOutputRequest;
12071
12486
 
12072
12487
  /**
12073
- * fügt ein DMS-Dokument (per ID) als Mail-Anhang hinzu
12488
+ * setzt den Ausgabetyp auf reine DMS-Ablage
12074
12489
  *
12075
- * @param {number} shelfDocumentId - ID des DMS-Dokuments
12076
12490
  * @return {ScriptOutputRequest}
12077
12491
  */
12078
- attachDocument(shelfDocumentId: number): ScriptOutputRequest;
12492
+ outputDmsOnly(): ScriptOutputRequest;
12079
12493
 
12080
12494
  /**
12081
12495
  * setzt den user-id
@@ -12505,12 +12919,6 @@ export interface ScriptingXmlWriter {
12505
12919
  */
12506
12920
  closeAllOpenElements(): void;
12507
12921
 
12508
- /**
12509
- * Schließt das aktuelle Element.
12510
- *
12511
- */
12512
- closeElement(): void;
12513
-
12514
12922
  /**
12515
12923
  * Schreibt den XML-Prolog (<?xml ...?>).
12516
12924
  *
@@ -12527,18 +12935,17 @@ export interface ScriptingXmlWriter {
12527
12935
  openElement(name: string): void;
12528
12936
 
12529
12937
  /**
12530
- * Schreibt einen XML-Kommentar.
12938
+ * Schließt das aktuelle Element.
12531
12939
  *
12532
- * @param {string} comment - Kommentar-Text
12533
12940
  */
12534
- writeComment(comment: string): void;
12941
+ closeElement(): void;
12535
12942
 
12536
12943
  /**
12537
- * Schreibt einen CDATA-Block.
12944
+ * Schreibt ein leeres (self-closing) Element.
12538
12945
  *
12539
- * @param {string} data - CDATA-Inhalt
12946
+ * @param {string} name - Element-Name
12540
12947
  */
12541
- writeCData(data: string): void;
12948
+ writeEmptyElement(name: string): void;
12542
12949
 
12543
12950
  /**
12544
12951
  * Schreibt eine Zeichenkette (z.B. innerhalb eines XML-Tags).
@@ -12548,11 +12955,18 @@ export interface ScriptingXmlWriter {
12548
12955
  writeCharacters(data: string): void;
12549
12956
 
12550
12957
  /**
12551
- * Schreibt ein leeres (self-closing) Element.
12958
+ * Schreibt einen CDATA-Block.
12552
12959
  *
12553
- * @param {string} name - Element-Name
12960
+ * @param {string} data - CDATA-Inhalt
12554
12961
  */
12555
- writeEmptyElement(name: string): void;
12962
+ writeCData(data: string): void;
12963
+
12964
+ /**
12965
+ * Schreibt einen XML-Kommentar.
12966
+ *
12967
+ * @param {string} comment - Kommentar-Text
12968
+ */
12969
+ writeComment(comment: string): void;
12556
12970
 
12557
12971
  /**
12558
12972
  * Schließt den Writer und die damit verbundene Datenquelle
@@ -12566,6 +12980,13 @@ export interface ScriptingXmlWriter {
12566
12980
  */
12567
12981
  export interface SecureHttpClient {
12568
12982
 
12983
+ /**
12984
+ * Erstellt einen GET-Request
12985
+ *
12986
+ * @return {SecureHttpRequest} GET-Request
12987
+ */
12988
+ createGetRequest(): SecureHttpRequest;
12989
+
12569
12990
  /**
12570
12991
  * Erstellt einen POST-Request
12571
12992
  *
@@ -12579,13 +13000,6 @@ export interface SecureHttpClient {
12579
13000
  * @return {SecureHttpRequest} PUT-Request
12580
13001
  */
12581
13002
  createPutRequest(): SecureHttpRequest;
12582
-
12583
- /**
12584
- * Erstellt einen GET-Request
12585
- *
12586
- * @return {SecureHttpRequest} GET-Request
12587
- */
12588
- createGetRequest(): SecureHttpRequest;
12589
13003
  }
12590
13004
 
12591
13005
  /**
@@ -12626,21 +13040,21 @@ export interface SecureHttpRequest {
12626
13040
  header(name: string, value: Array<string>): SecureHttpRequest;
12627
13041
 
12628
13042
  /**
12629
- * Setzt den Timeout in Sekunden für den Request
13043
+ * Fügt eine URI-Parameter zum Request hinzu
12630
13044
  *
12631
- * @param {number} timeoutInSeconds - Timeout in Sekunden
13045
+ * @param {string} name - Name des Parameters
13046
+ * @param {object} value - Wert des Parameters
12632
13047
  * @return {SecureHttpRequest} Diese Instanz
12633
13048
  */
12634
- timeoutInSeconds(timeoutInSeconds: number): SecureHttpRequest;
13049
+ uriParameter(name: string, value: object): SecureHttpRequest;
12635
13050
 
12636
13051
  /**
12637
- * Fügt eine URI-Parameter zum Request hinzu
13052
+ * Setzt den Timeout in Sekunden für den Request
12638
13053
  *
12639
- * @param {string} name - Name des Parameters
12640
- * @param {object} value - Wert des Parameters
13054
+ * @param {number} timeoutInSeconds - Timeout in Sekunden
12641
13055
  * @return {SecureHttpRequest} Diese Instanz
12642
13056
  */
12643
- uriParameter(name: string, value: object): SecureHttpRequest;
13057
+ timeoutInSeconds(timeoutInSeconds: number): SecureHttpRequest;
12644
13058
 
12645
13059
  /**
12646
13060
  * Setzt den Content-Type für den Request
@@ -12657,12 +13071,11 @@ export interface SecureHttpRequest {
12657
13071
  export interface SecureHttpResponse {
12658
13072
 
12659
13073
  /**
12660
- * Liefert den Wert eines Header als Liste
13074
+ * HTTP-Statuscode der Response
12661
13075
  *
12662
- * @param {string} name - Name eines Header
12663
- * @return {Array<string>} Werte eines Header als Liste
13076
+ * @return {number} HTTP-Statuscode
12664
13077
  */
12665
- getHeaderValueAsList(name: string): Array<string>;
13078
+ getHttpStatus(): number;
12666
13079
 
12667
13080
  /**
12668
13081
  * Prüft, ob ein Header vorhanden ist
@@ -12688,11 +13101,12 @@ export interface SecureHttpResponse {
12688
13101
  getHeaderValue(name: string): string;
12689
13102
 
12690
13103
  /**
12691
- * HTTP-Statuscode der Response
13104
+ * Liefert den Wert eines Header als Liste
12692
13105
  *
12693
- * @return {number} HTTP-Statuscode
13106
+ * @param {string} name - Name eines Header
13107
+ * @return {Array<string>} Werte eines Header als Liste
12694
13108
  */
12695
- getHttpStatus(): number;
13109
+ getHeaderValueAsList(name: string): Array<string>;
12696
13110
 
12697
13111
  /**
12698
13112
  * Liefert den Body aus der Response
@@ -12879,14 +13293,14 @@ export interface ShelfDocument {
12879
13293
  tags: Array<TagDto>;
12880
13294
 
12881
13295
  /**
12882
- * Share information.
13296
+ * Multilingual labels.
12883
13297
  */
12884
- shares: Array<ShelfShare>;
13298
+ translatableTexts: Array<ShelfTranslatableText>;
12885
13299
 
12886
13300
  /**
12887
- * Multilingual labels.
13301
+ * Share information.
12888
13302
  */
12889
- translatableTexts: Array<ShelfTranslatableText>;
13303
+ shares: Array<ShelfShare>;
12890
13304
 
12891
13305
  /**
12892
13306
  * Automatic deletion from.
@@ -13106,14 +13520,14 @@ export interface ShelfFile {
13106
13520
  version: number;
13107
13521
 
13108
13522
  /**
13109
- * current reference of this file in our storage
13523
+ * meta data
13110
13524
  */
13111
- storageHandle: string;
13525
+ metaDataEntries: Array<ShelfFileMetaData>;
13112
13526
 
13113
13527
  /**
13114
- * meta data
13528
+ * current reference of this file in our storage
13115
13529
  */
13116
- metaDataEntries: Array<ShelfFileMetaData>;
13530
+ storageHandle: string;
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.
@@ -13409,14 +13823,14 @@ export interface StockTransferApi {
13409
13823
  quantity: number;
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
- * Source storage bin.
13831
+ * Ignore expiry date on stock booking
13418
13832
  */
13419
- sourceStorageBinId: number;
13833
+ ignoreExpiryDateOnStockBooking: boolean;
13420
13834
 
13421
13835
  /**
13422
13836
  * Source storage.
@@ -13447,14 +13861,14 @@ export interface StockTransferResult {
13447
13861
  sourceOldStock: number;
13448
13862
 
13449
13863
  /**
13450
- * Source storage.
13864
+ * Transferred serial number.
13451
13865
  */
13452
- sourceStorage: ApiObjectReference;
13866
+ serialNumber: ApiObjectReference;
13453
13867
 
13454
13868
  /**
13455
- * Transferred serial number.
13869
+ * Source storage.
13456
13870
  */
13457
- serialNumber: ApiObjectReference;
13871
+ sourceStorage: ApiObjectReference;
13458
13872
 
13459
13873
  /**
13460
13874
  * Target storage bin.
@@ -14166,14 +14580,14 @@ export interface User {
14166
14580
  version: number;
14167
14581
 
14168
14582
  /**
14169
- * is the email verified
14583
+ * first-name
14170
14584
  */
14171
- emailVerified: boolean;
14585
+ firstName: string;
14172
14586
 
14173
14587
  /**
14174
- * first-name
14588
+ * is the email verified
14175
14589
  */
14176
- firstName: string;
14590
+ emailVerified: boolean;
14177
14591
 
14178
14592
  /**
14179
14593
  * email-address