@ayasofyazilim/saas 0.0.139 → 0.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FinanceService/schemas.gen.ts +498 -35
- package/FinanceService/sdk.gen.ts +47 -1
- package/FinanceService/types.gen.ts +190 -1489
- package/package.json +1 -1
|
@@ -60,7 +60,7 @@ export const $PagedResultDto_VATStatementHeaderForListDto = {
|
|
|
60
60
|
items: {
|
|
61
61
|
type: 'array',
|
|
62
62
|
items: {
|
|
63
|
-
required: ['dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'status', 'tagCount', 'total', 'unpaid', 'vatStatementDate'],
|
|
63
|
+
required: ['dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'status', 'tagCount', 'total', 'unpaid', 'vatStatementDate'],
|
|
64
64
|
type: 'object',
|
|
65
65
|
properties: {
|
|
66
66
|
id: {
|
|
@@ -106,6 +106,15 @@ export const $PagedResultDto_VATStatementHeaderForListDto = {
|
|
|
106
106
|
paymentStatus: {
|
|
107
107
|
enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
|
|
108
108
|
type: 'string'
|
|
109
|
+
},
|
|
110
|
+
referenceDateBegin: {
|
|
111
|
+
type: 'string',
|
|
112
|
+
format: 'date-time'
|
|
113
|
+
},
|
|
114
|
+
rebateStatementHeaderId: {
|
|
115
|
+
type: 'string',
|
|
116
|
+
format: 'uuid',
|
|
117
|
+
nullable: true
|
|
109
118
|
}
|
|
110
119
|
},
|
|
111
120
|
additionalProperties: false
|
|
@@ -150,6 +159,103 @@ export const $UniRefund_FinanceService_Enums_VATStatementStatus = {
|
|
|
150
159
|
type: 'string'
|
|
151
160
|
} as const;
|
|
152
161
|
|
|
162
|
+
export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderBulkPreviewDto = {
|
|
163
|
+
type: 'object',
|
|
164
|
+
properties: {
|
|
165
|
+
merchantId: {
|
|
166
|
+
type: 'string',
|
|
167
|
+
format: 'uuid'
|
|
168
|
+
},
|
|
169
|
+
drafts: {
|
|
170
|
+
type: 'array',
|
|
171
|
+
items: {
|
|
172
|
+
required: ['contractHeaderId', 'customerNumber', 'merchantId', 'merchantName', 'period', 'status', 'total'],
|
|
173
|
+
type: 'object',
|
|
174
|
+
properties: {
|
|
175
|
+
merchantId: {
|
|
176
|
+
type: 'string',
|
|
177
|
+
format: 'uuid'
|
|
178
|
+
},
|
|
179
|
+
merchantName: {
|
|
180
|
+
minLength: 1,
|
|
181
|
+
type: 'string'
|
|
182
|
+
},
|
|
183
|
+
total: {
|
|
184
|
+
type: 'number',
|
|
185
|
+
format: 'double'
|
|
186
|
+
},
|
|
187
|
+
status: {
|
|
188
|
+
enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
|
|
189
|
+
type: 'string'
|
|
190
|
+
},
|
|
191
|
+
period: {
|
|
192
|
+
enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
|
|
193
|
+
type: 'string'
|
|
194
|
+
},
|
|
195
|
+
customerNumber: {
|
|
196
|
+
minLength: 1,
|
|
197
|
+
type: 'string'
|
|
198
|
+
},
|
|
199
|
+
contractHeaderId: {
|
|
200
|
+
type: 'string',
|
|
201
|
+
format: 'uuid'
|
|
202
|
+
},
|
|
203
|
+
rebateStatementStoreDetails: {
|
|
204
|
+
type: 'array',
|
|
205
|
+
items: {
|
|
206
|
+
required: ['grandTotalAmount', 'invoiceNumber', 'merchantId', 'merchantName', 'rebateAmount', 'referenceDateBegin', 'tagCount', 'vatAmount', 'vatStatementHeaderId'],
|
|
207
|
+
type: 'object',
|
|
208
|
+
properties: {
|
|
209
|
+
merchantId: {
|
|
210
|
+
type: 'string',
|
|
211
|
+
format: 'uuid'
|
|
212
|
+
},
|
|
213
|
+
merchantName: {
|
|
214
|
+
minLength: 1,
|
|
215
|
+
type: 'string'
|
|
216
|
+
},
|
|
217
|
+
tagCount: {
|
|
218
|
+
type: 'integer',
|
|
219
|
+
format: 'int32'
|
|
220
|
+
},
|
|
221
|
+
grandTotalAmount: {
|
|
222
|
+
type: 'number',
|
|
223
|
+
format: 'double'
|
|
224
|
+
},
|
|
225
|
+
vatAmount: {
|
|
226
|
+
type: 'number',
|
|
227
|
+
format: 'double'
|
|
228
|
+
},
|
|
229
|
+
rebateAmount: {
|
|
230
|
+
type: 'number',
|
|
231
|
+
format: 'double'
|
|
232
|
+
},
|
|
233
|
+
referenceDateBegin: {
|
|
234
|
+
type: 'string',
|
|
235
|
+
format: 'date-time'
|
|
236
|
+
},
|
|
237
|
+
vatStatementHeaderId: {
|
|
238
|
+
type: 'string',
|
|
239
|
+
format: 'uuid'
|
|
240
|
+
},
|
|
241
|
+
invoiceNumber: {
|
|
242
|
+
minLength: 1,
|
|
243
|
+
type: 'string'
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
additionalProperties: false
|
|
247
|
+
},
|
|
248
|
+
nullable: true
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
additionalProperties: false
|
|
252
|
+
},
|
|
253
|
+
nullable: true
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
additionalProperties: false
|
|
257
|
+
} as const;
|
|
258
|
+
|
|
153
259
|
export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderCreateDto = {
|
|
154
260
|
required: ['merchantId', 'rebateStatementDate', 'yearMonthPairs'],
|
|
155
261
|
type: 'object',
|
|
@@ -297,9 +403,92 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
297
403
|
minLength: 1,
|
|
298
404
|
type: 'string'
|
|
299
405
|
},
|
|
406
|
+
total: {
|
|
407
|
+
type: 'number',
|
|
408
|
+
format: 'double'
|
|
409
|
+
},
|
|
410
|
+
status: {
|
|
411
|
+
enum: ['Unfinished', 'Approved', 'Processing', 'Error', 'Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
|
|
412
|
+
type: 'string'
|
|
413
|
+
},
|
|
414
|
+
period: {
|
|
415
|
+
enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
|
|
416
|
+
type: 'string'
|
|
417
|
+
},
|
|
418
|
+
customerNumber: {
|
|
419
|
+
minLength: 1,
|
|
420
|
+
type: 'string'
|
|
421
|
+
},
|
|
422
|
+
contractHeaderId: {
|
|
423
|
+
type: 'string',
|
|
424
|
+
format: 'uuid'
|
|
425
|
+
},
|
|
426
|
+
rebateStatementStoreDetails: {
|
|
427
|
+
type: 'array',
|
|
428
|
+
items: {
|
|
429
|
+
required: ['grandTotalAmount', 'invoiceNumber', 'merchantId', 'merchantName', 'rebateAmount', 'referenceDateBegin', 'tagCount', 'vatAmount', 'vatStatementHeaderId'],
|
|
430
|
+
type: 'object',
|
|
431
|
+
properties: {
|
|
432
|
+
merchantId: {
|
|
433
|
+
type: 'string',
|
|
434
|
+
format: 'uuid'
|
|
435
|
+
},
|
|
436
|
+
merchantName: {
|
|
437
|
+
minLength: 1,
|
|
438
|
+
type: 'string'
|
|
439
|
+
},
|
|
440
|
+
tagCount: {
|
|
441
|
+
type: 'integer',
|
|
442
|
+
format: 'int32'
|
|
443
|
+
},
|
|
444
|
+
grandTotalAmount: {
|
|
445
|
+
type: 'number',
|
|
446
|
+
format: 'double'
|
|
447
|
+
},
|
|
448
|
+
vatAmount: {
|
|
449
|
+
type: 'number',
|
|
450
|
+
format: 'double'
|
|
451
|
+
},
|
|
452
|
+
rebateAmount: {
|
|
453
|
+
type: 'number',
|
|
454
|
+
format: 'double'
|
|
455
|
+
},
|
|
456
|
+
referenceDateBegin: {
|
|
457
|
+
type: 'string',
|
|
458
|
+
format: 'date-time'
|
|
459
|
+
},
|
|
460
|
+
vatStatementHeaderId: {
|
|
461
|
+
type: 'string',
|
|
462
|
+
format: 'uuid'
|
|
463
|
+
},
|
|
464
|
+
invoiceNumber: {
|
|
465
|
+
minLength: 1,
|
|
466
|
+
type: 'string'
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
additionalProperties: false
|
|
470
|
+
},
|
|
471
|
+
nullable: true
|
|
472
|
+
},
|
|
300
473
|
rebateStatementDate: {
|
|
301
474
|
type: 'string',
|
|
302
475
|
format: 'date-time'
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
additionalProperties: false
|
|
479
|
+
} as const;
|
|
480
|
+
|
|
481
|
+
export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderDraftSummaryDto = {
|
|
482
|
+
required: ['contractHeaderId', 'customerNumber', 'merchantId', 'merchantName', 'period', 'status', 'total'],
|
|
483
|
+
type: 'object',
|
|
484
|
+
properties: {
|
|
485
|
+
merchantId: {
|
|
486
|
+
type: 'string',
|
|
487
|
+
format: 'uuid'
|
|
488
|
+
},
|
|
489
|
+
merchantName: {
|
|
490
|
+
minLength: 1,
|
|
491
|
+
type: 'string'
|
|
303
492
|
},
|
|
304
493
|
total: {
|
|
305
494
|
type: 'number',
|
|
@@ -384,10 +573,6 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
384
573
|
minLength: 1,
|
|
385
574
|
type: 'string'
|
|
386
575
|
},
|
|
387
|
-
rebateStatementDate: {
|
|
388
|
-
type: 'string',
|
|
389
|
-
format: 'date-time'
|
|
390
|
-
},
|
|
391
576
|
total: {
|
|
392
577
|
type: 'number',
|
|
393
578
|
format: 'double'
|
|
@@ -455,6 +640,10 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
455
640
|
},
|
|
456
641
|
nullable: true
|
|
457
642
|
},
|
|
643
|
+
rebateStatementDate: {
|
|
644
|
+
type: 'string',
|
|
645
|
+
format: 'date-time'
|
|
646
|
+
},
|
|
458
647
|
id: {
|
|
459
648
|
type: 'string',
|
|
460
649
|
format: 'uuid'
|
|
@@ -507,6 +696,66 @@ export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHea
|
|
|
507
696
|
additionalProperties: false
|
|
508
697
|
} as const;
|
|
509
698
|
|
|
699
|
+
export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderFormBulkPreviewDto = {
|
|
700
|
+
required: ['yearMonthPairs'],
|
|
701
|
+
type: 'object',
|
|
702
|
+
properties: {
|
|
703
|
+
yearMonthPairs: {
|
|
704
|
+
type: 'array',
|
|
705
|
+
items: {
|
|
706
|
+
required: ['month', 'year'],
|
|
707
|
+
type: 'object',
|
|
708
|
+
properties: {
|
|
709
|
+
year: {
|
|
710
|
+
type: 'integer',
|
|
711
|
+
format: 'int32'
|
|
712
|
+
},
|
|
713
|
+
month: {
|
|
714
|
+
type: 'integer',
|
|
715
|
+
format: 'int32'
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
additionalProperties: false
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
additionalProperties: false
|
|
723
|
+
} as const;
|
|
724
|
+
|
|
725
|
+
export const $UniRefund_FinanceService_RebateStatementHeaders_RebateStatementHeaderFormDraftDto = {
|
|
726
|
+
required: ['merchantId', 'rebateStatementDate', 'yearMonthPairs'],
|
|
727
|
+
type: 'object',
|
|
728
|
+
properties: {
|
|
729
|
+
merchantId: {
|
|
730
|
+
type: 'string',
|
|
731
|
+
format: 'uuid'
|
|
732
|
+
},
|
|
733
|
+
rebateStatementDate: {
|
|
734
|
+
type: 'string',
|
|
735
|
+
format: 'date-time'
|
|
736
|
+
},
|
|
737
|
+
yearMonthPairs: {
|
|
738
|
+
type: 'array',
|
|
739
|
+
items: {
|
|
740
|
+
required: ['month', 'year'],
|
|
741
|
+
type: 'object',
|
|
742
|
+
properties: {
|
|
743
|
+
year: {
|
|
744
|
+
type: 'integer',
|
|
745
|
+
format: 'int32'
|
|
746
|
+
},
|
|
747
|
+
month: {
|
|
748
|
+
type: 'integer',
|
|
749
|
+
format: 'int32'
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
additionalProperties: false
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
additionalProperties: false
|
|
757
|
+
} as const;
|
|
758
|
+
|
|
510
759
|
export const $UniRefund_FinanceService_RebateStatementHeaders_YearMonthPairDto = {
|
|
511
760
|
required: ['month', 'year'],
|
|
512
761
|
type: 'object',
|
|
@@ -639,6 +888,95 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderBas
|
|
|
639
888
|
additionalProperties: false
|
|
640
889
|
} as const;
|
|
641
890
|
|
|
891
|
+
export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderBulkPreviewDto = {
|
|
892
|
+
type: 'object',
|
|
893
|
+
properties: {
|
|
894
|
+
merchantId: {
|
|
895
|
+
type: 'string',
|
|
896
|
+
format: 'uuid'
|
|
897
|
+
},
|
|
898
|
+
drafts: {
|
|
899
|
+
type: 'array',
|
|
900
|
+
items: {
|
|
901
|
+
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid'],
|
|
902
|
+
type: 'object',
|
|
903
|
+
properties: {
|
|
904
|
+
merchantId: {
|
|
905
|
+
type: 'string',
|
|
906
|
+
format: 'uuid'
|
|
907
|
+
},
|
|
908
|
+
tagCount: {
|
|
909
|
+
type: 'integer',
|
|
910
|
+
format: 'int32'
|
|
911
|
+
},
|
|
912
|
+
merchantName: {
|
|
913
|
+
minLength: 1,
|
|
914
|
+
type: 'string'
|
|
915
|
+
},
|
|
916
|
+
total: {
|
|
917
|
+
type: 'number',
|
|
918
|
+
format: 'double'
|
|
919
|
+
},
|
|
920
|
+
unpaid: {
|
|
921
|
+
type: 'number',
|
|
922
|
+
format: 'double'
|
|
923
|
+
},
|
|
924
|
+
status: {
|
|
925
|
+
enum: ['Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
|
|
926
|
+
type: 'string'
|
|
927
|
+
},
|
|
928
|
+
billingPeriod: {
|
|
929
|
+
enum: ['OneTimePerMonth', 'TwoTimesPerMonth'],
|
|
930
|
+
type: 'string'
|
|
931
|
+
},
|
|
932
|
+
termOfPayment: {
|
|
933
|
+
type: 'integer',
|
|
934
|
+
format: 'int32'
|
|
935
|
+
},
|
|
936
|
+
paymentStatus: {
|
|
937
|
+
enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
|
|
938
|
+
type: 'string'
|
|
939
|
+
},
|
|
940
|
+
isFactoring: {
|
|
941
|
+
type: 'boolean'
|
|
942
|
+
},
|
|
943
|
+
referenceDateBegin: {
|
|
944
|
+
type: 'string',
|
|
945
|
+
format: 'date-time'
|
|
946
|
+
},
|
|
947
|
+
referenceDateEnd: {
|
|
948
|
+
type: 'string',
|
|
949
|
+
format: 'date-time'
|
|
950
|
+
},
|
|
951
|
+
deliveryMethod: {
|
|
952
|
+
enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
|
|
953
|
+
type: 'string'
|
|
954
|
+
},
|
|
955
|
+
customerNumber: {
|
|
956
|
+
type: 'string',
|
|
957
|
+
nullable: true
|
|
958
|
+
},
|
|
959
|
+
referenceNumber: {
|
|
960
|
+
type: 'string',
|
|
961
|
+
nullable: true
|
|
962
|
+
},
|
|
963
|
+
yourReference: {
|
|
964
|
+
type: 'string',
|
|
965
|
+
nullable: true
|
|
966
|
+
},
|
|
967
|
+
contractHeaderId: {
|
|
968
|
+
type: 'string',
|
|
969
|
+
format: 'uuid'
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
additionalProperties: false
|
|
973
|
+
},
|
|
974
|
+
nullable: true
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
additionalProperties: false
|
|
978
|
+
} as const;
|
|
979
|
+
|
|
642
980
|
export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderCreateDto = {
|
|
643
981
|
required: ['merchantId', 'month', 'vatStatementDate', 'year'],
|
|
644
982
|
type: 'object',
|
|
@@ -685,14 +1023,6 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDet
|
|
|
685
1023
|
minLength: 1,
|
|
686
1024
|
type: 'string'
|
|
687
1025
|
},
|
|
688
|
-
vatStatementDate: {
|
|
689
|
-
type: 'string',
|
|
690
|
-
format: 'date-time'
|
|
691
|
-
},
|
|
692
|
-
dueDate: {
|
|
693
|
-
type: 'string',
|
|
694
|
-
format: 'date-time'
|
|
695
|
-
},
|
|
696
1026
|
total: {
|
|
697
1027
|
type: 'number',
|
|
698
1028
|
format: 'double'
|
|
@@ -748,10 +1078,13 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDet
|
|
|
748
1078
|
type: 'string',
|
|
749
1079
|
format: 'uuid'
|
|
750
1080
|
},
|
|
751
|
-
|
|
1081
|
+
vatStatementDate: {
|
|
752
1082
|
type: 'string',
|
|
753
|
-
format: '
|
|
754
|
-
|
|
1083
|
+
format: 'date-time'
|
|
1084
|
+
},
|
|
1085
|
+
dueDate: {
|
|
1086
|
+
type: 'string',
|
|
1087
|
+
format: 'date-time'
|
|
755
1088
|
},
|
|
756
1089
|
vatStatementTagDetails: {
|
|
757
1090
|
type: 'array',
|
|
@@ -816,6 +1149,11 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDet
|
|
|
816
1149
|
invoiceNumber: {
|
|
817
1150
|
minLength: 1,
|
|
818
1151
|
type: 'string'
|
|
1152
|
+
},
|
|
1153
|
+
rebateStatementHeaderId: {
|
|
1154
|
+
type: 'string',
|
|
1155
|
+
format: 'uuid',
|
|
1156
|
+
nullable: true
|
|
819
1157
|
}
|
|
820
1158
|
},
|
|
821
1159
|
additionalProperties: false
|
|
@@ -837,14 +1175,6 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDra
|
|
|
837
1175
|
minLength: 1,
|
|
838
1176
|
type: 'string'
|
|
839
1177
|
},
|
|
840
|
-
vatStatementDate: {
|
|
841
|
-
type: 'string',
|
|
842
|
-
format: 'date-time'
|
|
843
|
-
},
|
|
844
|
-
dueDate: {
|
|
845
|
-
type: 'string',
|
|
846
|
-
format: 'date-time'
|
|
847
|
-
},
|
|
848
1178
|
total: {
|
|
849
1179
|
type: 'number',
|
|
850
1180
|
format: 'double'
|
|
@@ -900,10 +1230,13 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDra
|
|
|
900
1230
|
type: 'string',
|
|
901
1231
|
format: 'uuid'
|
|
902
1232
|
},
|
|
903
|
-
|
|
1233
|
+
vatStatementDate: {
|
|
904
1234
|
type: 'string',
|
|
905
|
-
format: '
|
|
906
|
-
|
|
1235
|
+
format: 'date-time'
|
|
1236
|
+
},
|
|
1237
|
+
dueDate: {
|
|
1238
|
+
type: 'string',
|
|
1239
|
+
format: 'date-time'
|
|
907
1240
|
},
|
|
908
1241
|
vatStatementTagDetails: {
|
|
909
1242
|
type: 'array',
|
|
@@ -961,8 +1294,8 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDra
|
|
|
961
1294
|
additionalProperties: false
|
|
962
1295
|
} as const;
|
|
963
1296
|
|
|
964
|
-
export const $
|
|
965
|
-
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', '
|
|
1297
|
+
export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDraftSummaryDto = {
|
|
1298
|
+
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid'],
|
|
966
1299
|
type: 'object',
|
|
967
1300
|
properties: {
|
|
968
1301
|
merchantId: {
|
|
@@ -977,14 +1310,81 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto
|
|
|
977
1310
|
minLength: 1,
|
|
978
1311
|
type: 'string'
|
|
979
1312
|
},
|
|
980
|
-
|
|
1313
|
+
total: {
|
|
1314
|
+
type: 'number',
|
|
1315
|
+
format: 'double'
|
|
1316
|
+
},
|
|
1317
|
+
unpaid: {
|
|
1318
|
+
type: 'number',
|
|
1319
|
+
format: 'double'
|
|
1320
|
+
},
|
|
1321
|
+
status: {
|
|
1322
|
+
enum: ['Sent', 'PaymentReminder1', 'PaymentReminder2', 'PaymentReminder3', 'DebtCollection', 'Cancelled', 'CreditNote', 'Paid'],
|
|
1323
|
+
type: 'string'
|
|
1324
|
+
},
|
|
1325
|
+
billingPeriod: {
|
|
1326
|
+
enum: ['OneTimePerMonth', 'TwoTimesPerMonth'],
|
|
1327
|
+
type: 'string'
|
|
1328
|
+
},
|
|
1329
|
+
termOfPayment: {
|
|
1330
|
+
type: 'integer',
|
|
1331
|
+
format: 'int32'
|
|
1332
|
+
},
|
|
1333
|
+
paymentStatus: {
|
|
1334
|
+
enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
|
|
1335
|
+
type: 'string'
|
|
1336
|
+
},
|
|
1337
|
+
isFactoring: {
|
|
1338
|
+
type: 'boolean'
|
|
1339
|
+
},
|
|
1340
|
+
referenceDateBegin: {
|
|
981
1341
|
type: 'string',
|
|
982
1342
|
format: 'date-time'
|
|
983
1343
|
},
|
|
984
|
-
|
|
1344
|
+
referenceDateEnd: {
|
|
985
1345
|
type: 'string',
|
|
986
1346
|
format: 'date-time'
|
|
987
1347
|
},
|
|
1348
|
+
deliveryMethod: {
|
|
1349
|
+
enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
|
|
1350
|
+
type: 'string'
|
|
1351
|
+
},
|
|
1352
|
+
customerNumber: {
|
|
1353
|
+
type: 'string',
|
|
1354
|
+
nullable: true
|
|
1355
|
+
},
|
|
1356
|
+
referenceNumber: {
|
|
1357
|
+
type: 'string',
|
|
1358
|
+
nullable: true
|
|
1359
|
+
},
|
|
1360
|
+
yourReference: {
|
|
1361
|
+
type: 'string',
|
|
1362
|
+
nullable: true
|
|
1363
|
+
},
|
|
1364
|
+
contractHeaderId: {
|
|
1365
|
+
type: 'string',
|
|
1366
|
+
format: 'uuid'
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
additionalProperties: false
|
|
1370
|
+
} as const;
|
|
1371
|
+
|
|
1372
|
+
export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto = {
|
|
1373
|
+
required: ['billingPeriod', 'contractHeaderId', 'deliveryMethod', 'dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'referenceDateEnd', 'status', 'tagCount', 'termOfPayment', 'total', 'unpaid', 'vatStatementDate'],
|
|
1374
|
+
type: 'object',
|
|
1375
|
+
properties: {
|
|
1376
|
+
merchantId: {
|
|
1377
|
+
type: 'string',
|
|
1378
|
+
format: 'uuid'
|
|
1379
|
+
},
|
|
1380
|
+
tagCount: {
|
|
1381
|
+
type: 'integer',
|
|
1382
|
+
format: 'int32'
|
|
1383
|
+
},
|
|
1384
|
+
merchantName: {
|
|
1385
|
+
minLength: 1,
|
|
1386
|
+
type: 'string'
|
|
1387
|
+
},
|
|
988
1388
|
total: {
|
|
989
1389
|
type: 'number',
|
|
990
1390
|
format: 'double'
|
|
@@ -1040,10 +1440,13 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto
|
|
|
1040
1440
|
type: 'string',
|
|
1041
1441
|
format: 'uuid'
|
|
1042
1442
|
},
|
|
1043
|
-
|
|
1443
|
+
vatStatementDate: {
|
|
1044
1444
|
type: 'string',
|
|
1045
|
-
format: '
|
|
1046
|
-
|
|
1445
|
+
format: 'date-time'
|
|
1446
|
+
},
|
|
1447
|
+
dueDate: {
|
|
1448
|
+
type: 'string',
|
|
1449
|
+
format: 'date-time'
|
|
1047
1450
|
},
|
|
1048
1451
|
vatStatementTagDetails: {
|
|
1049
1452
|
type: 'array',
|
|
@@ -1108,13 +1511,18 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderDto
|
|
|
1108
1511
|
invoiceNumber: {
|
|
1109
1512
|
minLength: 1,
|
|
1110
1513
|
type: 'string'
|
|
1514
|
+
},
|
|
1515
|
+
rebateStatementHeaderId: {
|
|
1516
|
+
type: 'string',
|
|
1517
|
+
format: 'uuid',
|
|
1518
|
+
nullable: true
|
|
1111
1519
|
}
|
|
1112
1520
|
},
|
|
1113
1521
|
additionalProperties: false
|
|
1114
1522
|
} as const;
|
|
1115
1523
|
|
|
1116
1524
|
export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderForListDto = {
|
|
1117
|
-
required: ['dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'status', 'tagCount', 'total', 'unpaid', 'vatStatementDate'],
|
|
1525
|
+
required: ['dueDate', 'id', 'invoiceNumber', 'merchantId', 'merchantName', 'paymentStatus', 'referenceDateBegin', 'status', 'tagCount', 'total', 'unpaid', 'vatStatementDate'],
|
|
1118
1526
|
type: 'object',
|
|
1119
1527
|
properties: {
|
|
1120
1528
|
id: {
|
|
@@ -1160,6 +1568,61 @@ export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderFor
|
|
|
1160
1568
|
paymentStatus: {
|
|
1161
1569
|
enum: ['NotPaid', 'PartlyPaid', 'Paid', 'OverPaid'],
|
|
1162
1570
|
type: 'string'
|
|
1571
|
+
},
|
|
1572
|
+
referenceDateBegin: {
|
|
1573
|
+
type: 'string',
|
|
1574
|
+
format: 'date-time'
|
|
1575
|
+
},
|
|
1576
|
+
rebateStatementHeaderId: {
|
|
1577
|
+
type: 'string',
|
|
1578
|
+
format: 'uuid',
|
|
1579
|
+
nullable: true
|
|
1580
|
+
}
|
|
1581
|
+
},
|
|
1582
|
+
additionalProperties: false
|
|
1583
|
+
} as const;
|
|
1584
|
+
|
|
1585
|
+
export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderFormBulkPreviewDto = {
|
|
1586
|
+
required: ['month', 'year'],
|
|
1587
|
+
type: 'object',
|
|
1588
|
+
properties: {
|
|
1589
|
+
year: {
|
|
1590
|
+
type: 'integer',
|
|
1591
|
+
format: 'int32'
|
|
1592
|
+
},
|
|
1593
|
+
month: {
|
|
1594
|
+
type: 'integer',
|
|
1595
|
+
format: 'int32'
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
additionalProperties: false
|
|
1599
|
+
} as const;
|
|
1600
|
+
|
|
1601
|
+
export const $UniRefund_FinanceService_VATStatementHeaders_VATStatementHeaderFormDraftDto = {
|
|
1602
|
+
required: ['merchantId', 'month', 'vatStatementDate', 'year'],
|
|
1603
|
+
type: 'object',
|
|
1604
|
+
properties: {
|
|
1605
|
+
extraProperties: {
|
|
1606
|
+
type: 'object',
|
|
1607
|
+
additionalProperties: {},
|
|
1608
|
+
nullable: true,
|
|
1609
|
+
readOnly: true
|
|
1610
|
+
},
|
|
1611
|
+
merchantId: {
|
|
1612
|
+
type: 'string',
|
|
1613
|
+
format: 'uuid'
|
|
1614
|
+
},
|
|
1615
|
+
year: {
|
|
1616
|
+
type: 'integer',
|
|
1617
|
+
format: 'int32'
|
|
1618
|
+
},
|
|
1619
|
+
month: {
|
|
1620
|
+
type: 'integer',
|
|
1621
|
+
format: 'int32'
|
|
1622
|
+
},
|
|
1623
|
+
vatStatementDate: {
|
|
1624
|
+
type: 'string',
|
|
1625
|
+
format: 'date-time'
|
|
1163
1626
|
}
|
|
1164
1627
|
},
|
|
1165
1628
|
additionalProperties: false
|