-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodels.gen.go
1935 lines (1712 loc) · 81.2 KB
/
models.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Package billingo provides primitives to interact with the openapi HTTP API.
//
// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
package billingo
import (
"encoding/json"
"github.com/oapi-codegen/runtime"
openapi_types "github.com/oapi-codegen/runtime/types"
)
const (
Api_keyScopes = "api_key.Scopes"
)
// Defines values for Category.
const (
CategoryAdvertisement Category = "advertisement"
CategoryDevelopment Category = "development"
CategoryOther Category = "other"
CategoryOverheads Category = "overheads"
CategoryService Category = "service"
CategoryStock Category = "stock"
CategoryTangibleAssets Category = "tangible_assets"
)
// Defines values for CheckTaxNumberMessage.
const (
CheckTaxNumberMessageExternalNavServiceUnreachable CheckTaxNumberMessage = "external_nav_service_unreachable"
CheckTaxNumberMessageInvalidTaxNumber CheckTaxNumberMessage = "invalid_tax_number"
CheckTaxNumberMessageNoOnlineSzamlaSettings CheckTaxNumberMessage = "no_online_szamla_settings"
CheckTaxNumberMessageNonExistTaxNumber CheckTaxNumberMessage = "non_exist_tax_number"
CheckTaxNumberMessageValidationOk CheckTaxNumberMessage = "validation_ok"
)
// Defines values for CorrectionType.
const (
CorrectionTypeAdvance CorrectionType = "advance"
CorrectionTypeCanceled CorrectionType = "canceled"
CorrectionTypeCancellation CorrectionType = "cancellation"
CorrectionTypeCertOfCompletion CorrectionType = "cert_of_completion"
CorrectionTypeDCertOfCompletion CorrectionType = "d_cert_of_completion"
CorrectionTypeDossier CorrectionType = "dossier"
CorrectionTypeDraft CorrectionType = "draft"
CorrectionTypeDraftOffer CorrectionType = "draft_offer"
CorrectionTypeDraftOrderForm CorrectionType = "draft_order_form"
CorrectionTypeDraftWaybill CorrectionType = "draft_waybill"
CorrectionTypeInvoice CorrectionType = "invoice"
CorrectionTypeModification CorrectionType = "modification"
CorrectionTypeModified CorrectionType = "modified"
CorrectionTypeOffer CorrectionType = "offer"
CorrectionTypeOrderForm CorrectionType = "order_form"
CorrectionTypeProforma CorrectionType = "proforma"
CorrectionTypeReceipt CorrectionType = "receipt"
CorrectionTypeReceiptCancellation CorrectionType = "receipt_cancellation"
CorrectionTypeWaybill CorrectionType = "waybill"
)
// Defines values for Country.
const (
CountryAC Country = "AC"
CountryAD Country = "AD"
CountryAE Country = "AE"
CountryAF Country = "AF"
CountryAG Country = "AG"
CountryAI Country = "AI"
CountryAL Country = "AL"
CountryAM Country = "AM"
CountryAO Country = "AO"
CountryAQ Country = "AQ"
CountryAR Country = "AR"
CountryAS Country = "AS"
CountryAT Country = "AT"
CountryAU Country = "AU"
CountryAW Country = "AW"
CountryAX Country = "AX"
CountryAZ Country = "AZ"
CountryBA Country = "BA"
CountryBB Country = "BB"
CountryBD Country = "BD"
CountryBE Country = "BE"
CountryBF Country = "BF"
CountryBG Country = "BG"
CountryBH Country = "BH"
CountryBI Country = "BI"
CountryBJ Country = "BJ"
CountryBL Country = "BL"
CountryBM Country = "BM"
CountryBN Country = "BN"
CountryBO Country = "BO"
CountryBQ Country = "BQ"
CountryBR Country = "BR"
CountryBS Country = "BS"
CountryBT Country = "BT"
CountryBW Country = "BW"
CountryBY Country = "BY"
CountryBZ Country = "BZ"
CountryCA Country = "CA"
CountryCC Country = "CC"
CountryCD Country = "CD"
CountryCF Country = "CF"
CountryCG Country = "CG"
CountryCH Country = "CH"
CountryCI Country = "CI"
CountryCK Country = "CK"
CountryCL Country = "CL"
CountryCM Country = "CM"
CountryCN Country = "CN"
CountryCO Country = "CO"
CountryCR Country = "CR"
CountryCU Country = "CU"
CountryCV Country = "CV"
CountryCW Country = "CW"
CountryCX Country = "CX"
CountryCY Country = "CY"
CountryCZ Country = "CZ"
CountryDE Country = "DE"
CountryDG Country = "DG"
CountryDJ Country = "DJ"
CountryDK Country = "DK"
CountryDM Country = "DM"
CountryDO Country = "DO"
CountryDZ Country = "DZ"
CountryEA Country = "EA"
CountryEC Country = "EC"
CountryEE Country = "EE"
CountryEG Country = "EG"
CountryEH Country = "EH"
CountryER Country = "ER"
CountryES Country = "ES"
CountryET Country = "ET"
CountryEmpty Country = ""
CountryFI Country = "FI"
CountryFJ Country = "FJ"
CountryFK Country = "FK"
CountryFM Country = "FM"
CountryFO Country = "FO"
CountryFR Country = "FR"
CountryGA Country = "GA"
CountryGB Country = "GB"
CountryGD Country = "GD"
CountryGE Country = "GE"
CountryGF Country = "GF"
CountryGG Country = "GG"
CountryGH Country = "GH"
CountryGI Country = "GI"
CountryGL Country = "GL"
CountryGM Country = "GM"
CountryGN Country = "GN"
CountryGP Country = "GP"
CountryGQ Country = "GQ"
CountryGR Country = "GR"
CountryGS Country = "GS"
CountryGT Country = "GT"
CountryGU Country = "GU"
CountryGW Country = "GW"
CountryGY Country = "GY"
CountryHK Country = "HK"
CountryHN Country = "HN"
CountryHR Country = "HR"
CountryHT Country = "HT"
CountryHU Country = "HU"
CountryIC Country = "IC"
CountryID Country = "ID"
CountryIE Country = "IE"
CountryIL Country = "IL"
CountryIM Country = "IM"
CountryIN Country = "IN"
CountryIO Country = "IO"
CountryIQ Country = "IQ"
CountryIR Country = "IR"
CountryIS Country = "IS"
CountryIT Country = "IT"
CountryJE Country = "JE"
CountryJM Country = "JM"
CountryJO Country = "JO"
CountryJP Country = "JP"
CountryKE Country = "KE"
CountryKG Country = "KG"
CountryKH Country = "KH"
CountryKI Country = "KI"
CountryKM Country = "KM"
CountryKN Country = "KN"
CountryKP Country = "KP"
CountryKR Country = "KR"
CountryKW Country = "KW"
CountryKY Country = "KY"
CountryKZ Country = "KZ"
CountryLA Country = "LA"
CountryLB Country = "LB"
CountryLC Country = "LC"
CountryLI Country = "LI"
CountryLK Country = "LK"
CountryLR Country = "LR"
CountryLS Country = "LS"
CountryLT Country = "LT"
CountryLU Country = "LU"
CountryLV Country = "LV"
CountryLY Country = "LY"
CountryMA Country = "MA"
CountryMC Country = "MC"
CountryMD Country = "MD"
CountryME Country = "ME"
CountryMF Country = "MF"
CountryMG Country = "MG"
CountryMH Country = "MH"
CountryMK Country = "MK"
CountryML Country = "ML"
CountryMM Country = "MM"
CountryMN Country = "MN"
CountryMO Country = "MO"
CountryMP Country = "MP"
CountryMQ Country = "MQ"
CountryMR Country = "MR"
CountryMS Country = "MS"
CountryMT Country = "MT"
CountryMU Country = "MU"
CountryMV Country = "MV"
CountryMW Country = "MW"
CountryMX Country = "MX"
CountryMY Country = "MY"
CountryMZ Country = "MZ"
CountryNA Country = "NA"
CountryNC Country = "NC"
CountryNE Country = "NE"
CountryNF Country = "NF"
CountryNG Country = "NG"
CountryNI Country = "NI"
CountryNL Country = "NL"
CountryNO Country = "NO"
CountryNP Country = "NP"
CountryNR Country = "NR"
CountryNU Country = "NU"
CountryNZ Country = "NZ"
CountryOM Country = "OM"
CountryPA Country = "PA"
CountryPE Country = "PE"
CountryPF Country = "PF"
CountryPG Country = "PG"
CountryPH Country = "PH"
CountryPK Country = "PK"
CountryPL Country = "PL"
CountryPM Country = "PM"
CountryPN Country = "PN"
CountryPR Country = "PR"
CountryPS Country = "PS"
CountryPT Country = "PT"
CountryPW Country = "PW"
CountryPY Country = "PY"
CountryQA Country = "QA"
CountryRE Country = "RE"
CountryRO Country = "RO"
CountryRS Country = "RS"
CountryRU Country = "RU"
CountryRW Country = "RW"
CountrySA Country = "SA"
CountrySB Country = "SB"
CountrySC Country = "SC"
CountrySD Country = "SD"
CountrySE Country = "SE"
CountrySG Country = "SG"
CountrySH Country = "SH"
CountrySI Country = "SI"
CountrySJ Country = "SJ"
CountrySK Country = "SK"
CountrySL Country = "SL"
CountrySM Country = "SM"
CountrySN Country = "SN"
CountrySO Country = "SO"
CountrySR Country = "SR"
CountrySS Country = "SS"
CountryST Country = "ST"
CountrySV Country = "SV"
CountrySX Country = "SX"
CountrySY Country = "SY"
CountrySZ Country = "SZ"
CountryTA Country = "TA"
CountryTC Country = "TC"
CountryTD Country = "TD"
CountryTF Country = "TF"
CountryTG Country = "TG"
CountryTH Country = "TH"
CountryTJ Country = "TJ"
CountryTK Country = "TK"
CountryTL Country = "TL"
CountryTM Country = "TM"
CountryTN Country = "TN"
CountryTO Country = "TO"
CountryTR Country = "TR"
CountryTT Country = "TT"
CountryTV Country = "TV"
CountryTW Country = "TW"
CountryTZ Country = "TZ"
CountryUA Country = "UA"
CountryUG Country = "UG"
CountryUM Country = "UM"
CountryUS Country = "US"
CountryUY Country = "UY"
CountryUZ Country = "UZ"
CountryVA Country = "VA"
CountryVC Country = "VC"
CountryVE Country = "VE"
CountryVG Country = "VG"
CountryVI Country = "VI"
CountryVN Country = "VN"
CountryVU Country = "VU"
CountryWF Country = "WF"
CountryWS Country = "WS"
CountryXA Country = "XA"
CountryXB Country = "XB"
CountryXK Country = "XK"
CountryYE Country = "YE"
CountryYT Country = "YT"
CountryZA Country = "ZA"
CountryZM Country = "ZM"
CountryZW Country = "ZW"
)
// Defines values for Currency.
const (
AED Currency = "AED"
AUD Currency = "AUD"
BGN Currency = "BGN"
BRL Currency = "BRL"
CAD Currency = "CAD"
CHF Currency = "CHF"
CNY Currency = "CNY"
CZK Currency = "CZK"
DKK Currency = "DKK"
EUR Currency = "EUR"
GBP Currency = "GBP"
HKD Currency = "HKD"
HRK Currency = "HRK"
HUF Currency = "HUF"
IDR Currency = "IDR"
ILS Currency = "ILS"
INR Currency = "INR"
ISK Currency = "ISK"
JPY Currency = "JPY"
KRW Currency = "KRW"
MXN Currency = "MXN"
MYR Currency = "MYR"
NOK Currency = "NOK"
NZD Currency = "NZD"
PHP Currency = "PHP"
PLN Currency = "PLN"
RON Currency = "RON"
RSD Currency = "RSD"
RUB Currency = "RUB"
SEK Currency = "SEK"
SGD Currency = "SGD"
THB Currency = "THB"
TRY Currency = "TRY"
UAH Currency = "UAH"
USD Currency = "USD"
ZAR Currency = "ZAR"
)
// Defines values for DateType.
const (
DateTypeDueDate DateType = "due_date"
DateTypeFulfillmentDate DateType = "fulfillment_date"
DateTypeInvoiceDate DateType = "invoice_date"
)
// Defines values for DiscountType.
const (
Percent DiscountType = "percent"
)
// Defines values for DocumentBlockType.
const (
DocumentBlockTypeCertificateOfCompletion DocumentBlockType = "certificate_of_completion"
DocumentBlockTypeDossier DocumentBlockType = "dossier"
DocumentBlockTypeInvoice DocumentBlockType = "invoice"
DocumentBlockTypeOffer DocumentBlockType = "offer"
DocumentBlockTypeOrderForm DocumentBlockType = "order_form"
DocumentBlockTypeReceipt DocumentBlockType = "receipt"
DocumentBlockTypeWaybill DocumentBlockType = "waybill"
)
// Defines values for DocumentExportOtherOptions.
const (
DocumentExportOtherOptionsAll DocumentExportOtherOptions = "all"
DocumentExportOtherOptionsExpired DocumentExportOtherOptions = "expired"
DocumentExportOtherOptionsOutstanding DocumentExportOtherOptions = "outstanding"
)
// Defines values for DocumentExportQueryType.
const (
DocumentExportQueryTypeFulfillmentDate DocumentExportQueryType = "fulfillment_date"
DocumentExportQueryTypeInvoiceDate DocumentExportQueryType = "invoice_date"
)
// Defines values for DocumentExportSortBy.
const (
FulfillmentDate DocumentExportSortBy = "fulfillment_date"
InvoiceDate DocumentExportSortBy = "invoice_date"
InvoiceRawNumber DocumentExportSortBy = "invoice_raw_number"
)
// Defines values for DocumentExportStatusState.
const (
Fail DocumentExportStatusState = "fail"
Pending DocumentExportStatusState = "pending"
Processing DocumentExportStatusState = "processing"
Success DocumentExportStatusState = "success"
Warning DocumentExportStatusState = "warning"
)
// Defines values for DocumentExportType.
const (
Armada DocumentExportType = "armada"
AwsBatch DocumentExportType = "aws_batch"
ExPanda DocumentExportType = "ex_panda"
Forintsoft DocumentExportType = "forintsoft"
Hessyn DocumentExportType = "hessyn"
Ima DocumentExportType = "ima"
Infoteka DocumentExportType = "infoteka"
KulcsKonyv DocumentExportType = "kulcs_konyv"
Maxitax DocumentExportType = "maxitax"
NagyMachinator DocumentExportType = "nagy_machinator"
NavPtgszlah DocumentExportType = "nav_ptgszlah"
NavStatus DocumentExportType = "nav_status"
NavXml DocumentExportType = "nav_xml"
NavXmlAlias DocumentExportType = "nav_xml_alias"
Novitax DocumentExportType = "novitax"
ProformaOutstanding DocumentExportType = "proforma_outstanding"
Relax DocumentExportType = "relax"
Rlb DocumentExportType = "rlb"
Rlb60 DocumentExportType = "rlb60"
RlbDoubleEntry DocumentExportType = "rlb_double_entry"
SimpleCsv DocumentExportType = "simple_csv"
SimpleExcel DocumentExportType = "simple_excel"
SimpleExcelItems DocumentExportType = "simple_excel_items"
Tensoft DocumentExportType = "tensoft"
Tensoft29Dot65 DocumentExportType = "tensoft_29_dot_65"
)
// Defines values for DocumentForm.
const (
Electronic DocumentForm = "electronic"
Paper DocumentForm = "paper"
)
// Defines values for DocumentFormat.
const (
DocumentFormatElectronic DocumentFormat = "electronic"
DocumentFormatEmpty DocumentFormat = ""
DocumentFormatTraditional DocumentFormat = "traditional"
)
// Defines values for DocumentInsertType.
const (
DocumentInsertTypeAdvance DocumentInsertType = "advance"
DocumentInsertTypeDraft DocumentInsertType = "draft"
DocumentInsertTypeInvoice DocumentInsertType = "invoice"
DocumentInsertTypeProforma DocumentInsertType = "proforma"
)
// Defines values for DocumentLanguage.
const (
De DocumentLanguage = "de"
En DocumentLanguage = "en"
Fr DocumentLanguage = "fr"
Hr DocumentLanguage = "hr"
Hu DocumentLanguage = "hu"
It DocumentLanguage = "it"
Ro DocumentLanguage = "ro"
Sk DocumentLanguage = "sk"
Us DocumentLanguage = "us"
)
// Defines values for DocumentNotificationStatus.
const (
DocumentNotificationStatusClosed DocumentNotificationStatus = "closed"
DocumentNotificationStatusDownloaded DocumentNotificationStatus = "downloaded"
DocumentNotificationStatusFailed DocumentNotificationStatus = "failed"
DocumentNotificationStatusNone DocumentNotificationStatus = "none"
DocumentNotificationStatusOpened DocumentNotificationStatus = "opened"
DocumentNotificationStatusReaded DocumentNotificationStatus = "readed"
)
// Defines values for DocumentType.
const (
DocumentTypeAdvance DocumentType = "advance"
DocumentTypeCancellation DocumentType = "cancellation"
DocumentTypeCertOfCompletion DocumentType = "cert_of_completion"
DocumentTypeDCertOfCompletion DocumentType = "d_cert_of_completion"
DocumentTypeDossier DocumentType = "dossier"
DocumentTypeDraft DocumentType = "draft"
DocumentTypeDraftOffer DocumentType = "draft_offer"
DocumentTypeDraftOrderForm DocumentType = "draft_order_form"
DocumentTypeDraftWaybill DocumentType = "draft_waybill"
DocumentTypeInvoice DocumentType = "invoice"
DocumentTypeModification DocumentType = "modification"
DocumentTypeOffer DocumentType = "offer"
DocumentTypeOrderForm DocumentType = "order_form"
DocumentTypeProforma DocumentType = "proforma"
DocumentTypeReceipt DocumentType = "receipt"
DocumentTypeReceiptCancellation DocumentType = "receipt_cancellation"
DocumentTypeWaybill DocumentType = "waybill"
)
// Defines values for Entitlement.
const (
EntitlementAAM Entitlement = "AAM"
EntitlementANTIQUES Entitlement = "ANTIQUES"
EntitlementARTWORK Entitlement = "ARTWORK"
EntitlementATK Entitlement = "ATK"
EntitlementEAM Entitlement = "EAM"
EntitlementEUE Entitlement = "EUE"
EntitlementEUFAD37 Entitlement = "EUFAD37"
EntitlementEUFADE Entitlement = "EUFADE"
EntitlementHO Entitlement = "HO"
EntitlementKBAET Entitlement = "KBAET"
EntitlementNAM1 Entitlement = "NAM_1"
EntitlementNAM2 Entitlement = "NAM_2"
EntitlementSECONDHAND Entitlement = "SECOND_HAND"
EntitlementTAM Entitlement = "TAM"
EntitlementTRAVELAGENCY Entitlement = "TRAVEL_AGENCY"
)
// Defines values for Feature.
const (
ApiLimitBasic Feature = "api_limit_basic"
ApiLimitPro Feature = "api_limit_pro"
ApiLimitStandard Feature = "api_limit_standard"
BanksyncPlus Feature = "banksync_plus"
CampaignManagerBasic Feature = "campaign_manager_basic"
CampaignManagerStandard Feature = "campaign_manager_standard"
CeginfoEnterprise Feature = "ceginfo_enterprise"
CeginfoPro Feature = "ceginfo_pro"
CeginfoStandard Feature = "ceginfo_standard"
Innovator Feature = "innovator"
LimitIncrease Feature = "limit_increase"
Master Feature = "master"
PartnermonitorBasic Feature = "partnermonitor_basic"
PartnermonitorPro Feature = "partnermonitor_pro"
PartnermonitorStandard Feature = "partnermonitor_standard"
Softpos Feature = "softpos"
SubscriptionBasic Feature = "subscription_basic"
SubscriptionPro Feature = "subscription_pro"
SubscriptionStandard Feature = "subscription_standard"
TendermonitorStandard Feature = "tendermonitor_standard"
TendermonitorVip Feature = "tendermonitor_vip"
Whitelabel Feature = "whitelabel"
)
// Defines values for OnlinePayment.
const (
OnlinePaymentBarion OnlinePayment = "Barion"
OnlinePaymentEmpty OnlinePayment = ""
OnlinePaymentNo OnlinePayment = "no"
OnlinePaymentSimplePay OnlinePayment = "SimplePay"
)
// Defines values for OnlineSzamlaStatusEnum.
const (
OnlineSzamlaStatusEnumAborted OnlineSzamlaStatusEnum = "aborted"
OnlineSzamlaStatusEnumDone OnlineSzamlaStatusEnum = "done"
OnlineSzamlaStatusEnumEmptyOrganizationCountryCode OnlineSzamlaStatusEnum = "empty_organization_country_code"
OnlineSzamlaStatusEnumEmptyPartnerCountryCode OnlineSzamlaStatusEnum = "empty_partner_country_code"
OnlineSzamlaStatusEnumEmptyTax OnlineSzamlaStatusEnum = "empty_tax"
OnlineSzamlaStatusEnumForbidden OnlineSzamlaStatusEnum = "forbidden"
OnlineSzamlaStatusEnumInvalidAddress OnlineSzamlaStatusEnum = "invalid_address"
OnlineSzamlaStatusEnumInvalidClient OnlineSzamlaStatusEnum = "invalid_client"
OnlineSzamlaStatusEnumInvalidConversionRate OnlineSzamlaStatusEnum = "invalid_conversion_rate"
OnlineSzamlaStatusEnumInvalidCustomer OnlineSzamlaStatusEnum = "invalid_customer"
OnlineSzamlaStatusEnumInvalidInvoiceReference OnlineSzamlaStatusEnum = "invalid_invoice_reference"
OnlineSzamlaStatusEnumInvalidPostalcode OnlineSzamlaStatusEnum = "invalid_postalcode"
OnlineSzamlaStatusEnumInvalidSecurityUser OnlineSzamlaStatusEnum = "invalid_security_user"
OnlineSzamlaStatusEnumInvalidTax OnlineSzamlaStatusEnum = "invalid_tax"
OnlineSzamlaStatusEnumInvalidTaxNumber OnlineSzamlaStatusEnum = "invalid_tax_number"
OnlineSzamlaStatusEnumInvalidUserRelation OnlineSzamlaStatusEnum = "invalid_user_relation"
OnlineSzamlaStatusEnumInvalidVatData OnlineSzamlaStatusEnum = "invalid_vat_data"
OnlineSzamlaStatusEnumInvoiceNumberNotUnique OnlineSzamlaStatusEnum = "invoice_number_not_unique"
OnlineSzamlaStatusEnumKobakProcessing OnlineSzamlaStatusEnum = "kobak_processing"
OnlineSzamlaStatusEnumMissingDocumentItemName OnlineSzamlaStatusEnum = "missing_document_item_name"
OnlineSzamlaStatusEnumNavWarn OnlineSzamlaStatusEnum = "nav_warn"
OnlineSzamlaStatusEnumNoOnlineSzamlaSettings OnlineSzamlaStatusEnum = "no_online_szamla_settings"
OnlineSzamlaStatusEnumNoSendByUser OnlineSzamlaStatusEnum = "no_send_by_user"
OnlineSzamlaStatusEnumNonExistTaxNumber OnlineSzamlaStatusEnum = "non_exist_tax_number"
OnlineSzamlaStatusEnumNotChecked OnlineSzamlaStatusEnum = "not_checked"
OnlineSzamlaStatusEnumNotRegisteredCustomer OnlineSzamlaStatusEnum = "not_registered_customer"
OnlineSzamlaStatusEnumNotUnique OnlineSzamlaStatusEnum = "not unique"
OnlineSzamlaStatusEnumProcessing OnlineSzamlaStatusEnum = "processing"
OnlineSzamlaStatusEnumReceived OnlineSzamlaStatusEnum = "received"
OnlineSzamlaStatusEnumSaved OnlineSzamlaStatusEnum = "saved"
OnlineSzamlaStatusEnumSendFailed OnlineSzamlaStatusEnum = "send_failed"
OnlineSzamlaStatusEnumSent OnlineSzamlaStatusEnum = "sent"
OnlineSzamlaStatusEnumStarted OnlineSzamlaStatusEnum = "started"
OnlineSzamlaStatusEnumTechnicalError OnlineSzamlaStatusEnum = "technical_error"
OnlineSzamlaStatusEnumUnderTaxLimit OnlineSzamlaStatusEnum = "under_tax_limit"
OnlineSzamlaStatusEnumUserHasInvalidKobak OnlineSzamlaStatusEnum = "user_has_invalid_kobak"
OnlineSzamlaStatusEnumUserHasnotKobak OnlineSzamlaStatusEnum = "user_hasnot_kobak"
OnlineSzamlaStatusEnumValidationOk OnlineSzamlaStatusEnum = "validation_ok"
)
// Defines values for PartnerTaxType.
const (
PartnerTaxTypeEmpty PartnerTaxType = ""
PartnerTaxTypeFOREIGN PartnerTaxType = "FOREIGN"
PartnerTaxTypeHASTAXNUMBER PartnerTaxType = "HAS_TAX_NUMBER"
PartnerTaxTypeNOTAXNUMBER PartnerTaxType = "NO_TAX_NUMBER"
)
// Defines values for PaymentMethod.
const (
PaymentMethodAruhitel PaymentMethod = "aruhitel"
PaymentMethodBankcard PaymentMethod = "bankcard"
PaymentMethodBarion PaymentMethod = "barion"
PaymentMethodBarter PaymentMethod = "barter"
PaymentMethodCash PaymentMethod = "cash"
PaymentMethodCashOnDelivery PaymentMethod = "cash_on_delivery"
PaymentMethodCoupon PaymentMethod = "coupon"
PaymentMethodEloreUtalas PaymentMethod = "elore_utalas"
PaymentMethodEpKartya PaymentMethod = "ep_kartya"
PaymentMethodKompenzacio PaymentMethod = "kompenzacio"
PaymentMethodLevonas PaymentMethod = "levonas"
PaymentMethodOnlineBankcard PaymentMethod = "online_bankcard"
PaymentMethodOther PaymentMethod = "other"
PaymentMethodPaylike PaymentMethod = "paylike"
PaymentMethodPayoneer PaymentMethod = "payoneer"
PaymentMethodPaypal PaymentMethod = "paypal"
PaymentMethodPaypalUtolag PaymentMethod = "paypal_utolag"
PaymentMethodPayu PaymentMethod = "payu"
PaymentMethodPickPackPont PaymentMethod = "pick_pack_pont"
PaymentMethodPostaiCsekk PaymentMethod = "postai_csekk"
PaymentMethodPostautalvany PaymentMethod = "postautalvany"
PaymentMethodSkrill PaymentMethod = "skrill"
PaymentMethodSzepCard PaymentMethod = "szep_card"
PaymentMethodTransferwise PaymentMethod = "transferwise"
PaymentMethodUpwork PaymentMethod = "upwork"
PaymentMethodUtalvany PaymentMethod = "utalvany"
PaymentMethodValto PaymentMethod = "valto"
PaymentMethodWireTransfer PaymentMethod = "wire_transfer"
)
// Defines values for PaymentStatus.
const (
PaymentStatusExpired PaymentStatus = "expired"
PaymentStatusNone PaymentStatus = "none"
PaymentStatusOutstanding PaymentStatus = "outstanding"
PaymentStatusPaid PaymentStatus = "paid"
PaymentStatusPartiallyPaid PaymentStatus = "partially_paid"
)
// Defines values for PaymentStatusSpending.
const (
PaymentStatusSpendingAll PaymentStatusSpending = "all"
PaymentStatusSpendingPaid PaymentStatusSpending = "paid"
PaymentStatusSpendingUnpaid PaymentStatusSpending = "unpaid"
)
// Defines values for Round.
const (
RoundFive Round = "five"
RoundNone Round = "none"
RoundOne Round = "one"
RoundTen Round = "ten"
)
// Defines values for Source.
const (
SourceAll Source = "all"
SourceManual Source = "manual"
SourceNav Source = "nav"
)
// Defines values for SpendingPaymentMethod.
const (
Aruhitel SpendingPaymentMethod = "aruhitel"
Bankcard SpendingPaymentMethod = "bankcard"
Barion SpendingPaymentMethod = "barion"
Barter SpendingPaymentMethod = "barter"
Cash SpendingPaymentMethod = "cash"
CashOnDelivery SpendingPaymentMethod = "cash_on_delivery"
Coupon SpendingPaymentMethod = "coupon"
EloreUtalas SpendingPaymentMethod = "elore_utalas"
EpKartya SpendingPaymentMethod = "ep_kartya"
Kompenzacio SpendingPaymentMethod = "kompenzacio"
Levonas SpendingPaymentMethod = "levonas"
OnlineBankcard SpendingPaymentMethod = "online_bankcard"
Other SpendingPaymentMethod = "other"
Paylike SpendingPaymentMethod = "paylike"
Payoneer SpendingPaymentMethod = "payoneer"
Paypal SpendingPaymentMethod = "paypal"
PaypalUtolag SpendingPaymentMethod = "paypal_utolag"
Payu SpendingPaymentMethod = "payu"
PickPackPont SpendingPaymentMethod = "pick_pack_pont"
PostaiCsekk SpendingPaymentMethod = "postai_csekk"
Postautalvany SpendingPaymentMethod = "postautalvany"
Skrill SpendingPaymentMethod = "skrill"
SzepCard SpendingPaymentMethod = "szep_card"
Transferwise SpendingPaymentMethod = "transferwise"
Upwork SpendingPaymentMethod = "upwork"
Utalvany SpendingPaymentMethod = "utalvany"
Valto SpendingPaymentMethod = "valto"
WireTransfer SpendingPaymentMethod = "wire_transfer"
)
// Defines values for UnitPriceType.
const (
Gross UnitPriceType = "gross"
Net UnitPriceType = "net"
)
// Defines values for Vat.
const (
VatAAM Vat = "AAM"
VatAM Vat = "AM"
VatEU Vat = "EU"
VatEUK Vat = "EUK"
VatFAD Vat = "FAD"
VatFAFA Vat = "F.AFA"
VatKAFA Vat = "K.AFA"
VatMAA Vat = "MAA"
VatN0 Vat = "0%"
VatN1 Vat = "1%"
VatN10 Vat = "10%"
VatN11 Vat = "11%"
VatN12 Vat = "12%"
VatN13 Vat = "13%"
VatN14 Vat = "14%"
VatN15 Vat = "15%"
VatN16 Vat = "16%"
VatN17 Vat = "17%"
VatN18 Vat = "18%"
VatN19 Vat = "19%"
VatN2 Vat = "2%"
VatN20 Vat = "20%"
VatN21 Vat = "21%"
VatN22 Vat = "22%"
VatN23 Vat = "23%"
VatN24 Vat = "24%"
VatN25 Vat = "25%"
VatN26 Vat = "26%"
VatN27 Vat = "27%"
VatN3 Vat = "3%"
VatN4 Vat = "4%"
VatN5 Vat = "5%"
VatN55 Vat = "5,5%"
VatN6 Vat = "6%"
VatN7 Vat = "7%"
VatN77 Vat = "7,7%"
VatN8 Vat = "8%"
VatN9 Vat = "9%"
VatN95 Vat = "9,5%"
VatTAM Vat = "TAM"
VatÁKK Vat = "ÁKK"
VatÁTHK Vat = "ÁTHK"
)
// Defines values for PosPrintParamsSize.
const (
N58 PosPrintParamsSize = 58
N80 PosPrintParamsSize = 80
)
// Address defines model for Address.
type Address struct {
Address string `json:"address"`
City string `json:"city"`
CountryCode Country `json:"country_code"`
PostCode string `json:"post_code"`
}
// BankAccount defines model for BankAccount.
type BankAccount struct {
AccountNumber string `json:"account_number"`
AccountNumberIban *string `json:"account_number_iban,omitempty"`
Currency Currency `json:"currency"`
Id *int `json:"id,omitempty"`
Name string `json:"name"`
// Deprecated:
NeedQr *bool `json:"need_qr,omitempty"`
Swift *string `json:"swift,omitempty"`
}
// BankAccountList A object with a data property that contains an array of up to limit bank accounts. Each entry in the array is a separate bank account object. If no more bank accounts are available, the resulting array will be empty.
type BankAccountList struct {
CurrentPage *int `json:"current_page,omitempty"`
Data *[]BankAccount `json:"data,omitempty"`
LastPage *int `json:"last_page,omitempty"`
NextPageUrl *string `json:"next_page_url,omitempty"`
PerPage *int `json:"per_page,omitempty"`
PrevPageUrl *string `json:"prev_page_url,omitempty"`
Total *int `json:"total,omitempty"`
}
// Category defines model for Category.
type Category string
// CheckTaxNumberMessage defines model for CheckTaxNumberMessage.
type CheckTaxNumberMessage string
// ClientError defines model for ClientError.
type ClientError struct {
Message *string `json:"message,omitempty"`
}
// ClientErrorResponse defines model for ClientErrorResponse.
type ClientErrorResponse struct {
Error *ClientError `json:"error,omitempty"`
}
// ConversationRate defines model for ConversationRate.
type ConversationRate struct {
ConversationRate *float32 `json:"conversation_rate,omitempty"`
Date *openapi_types.Date `json:"date,omitempty"`
FromCurrency *Currency `json:"from_currency,omitempty"`
ToCurrency *Currency `json:"to_currency,omitempty"`
}
// CorrectionType defines model for CorrectionType.
type CorrectionType string
// Country defines model for Country.
type Country string
// CreateDocumentExport defines model for CreateDocumentExport.
type CreateDocumentExport struct {
DocumentBlockId *int `json:"document_block_id,omitempty"`
EndDate openapi_types.Date `json:"end_date"`
ExportType DocumentExportType `json:"export_type"`
FilterExtra *DocumentExportFilterExtra `json:"filter_extra,omitempty"`
NumberEndSequence *int `json:"number_end_sequence,omitempty"`
NumberEndYear *int `json:"number_end_year,omitempty"`
NumberStartSequence *int `json:"number_start_sequence,omitempty"`
NumberStartYear *int `json:"number_start_year,omitempty"`
OtherOptions *DocumentExportOtherOptions `json:"other_options,omitempty"`
PaymentMethod *PaymentMethod `json:"payment_method,omitempty"`
QueryType DocumentExportQueryType `json:"query_type"`
SortBy *DocumentExportSortBy `json:"sort_by,omitempty"`
StartDate openapi_types.Date `json:"start_date"`
}
// Currency defines model for Currency.
type Currency string
// DateType defines model for DateType.
type DateType string
// Discount defines model for Discount.
type Discount struct {
Type *DiscountType `json:"type,omitempty"`
Value *int `json:"value,omitempty"`
}
// DiscountType defines model for DiscountType.
type DiscountType string
// Document Document object representing your invoice. NOTE: partner property is deprecated. Please use document_partner instead.
type Document struct {
// BlockId DocumentBlock's identifier.
BlockId *int `json:"block_id,omitempty"`
Cancelled *bool `json:"cancelled,omitempty"`
Comment *string `json:"comment,omitempty"`
ConversionRate *float32 `json:"conversion_rate,omitempty"`
CorrectionType *CorrectionType `json:"correction_type,omitempty"`
Currency *Currency `json:"currency,omitempty"`
Discount *Discount `json:"discount,omitempty"`
DocumentPartner *DocumentPartner `json:"document_partner,omitempty"`
DueDate *openapi_types.Date `json:"due_date,omitempty"`
Electronic *bool `json:"electronic,omitempty"`
FulfillmentDate *openapi_types.Date `json:"fulfillment_date,omitempty"`
// GrossTotal The document's gross total price.
GrossTotal *float32 `json:"gross_total,omitempty"`
// Id The document's unique identifier.
Id *int `json:"id,omitempty"`
InvoiceDate *openapi_types.Date `json:"invoice_date,omitempty"`
// InvoiceNumber The document's invoice number.
InvoiceNumber *string `json:"invoice_number,omitempty"`
Items *[]DocumentItem `json:"items,omitempty"`
Language *DocumentLanguage `json:"language,omitempty"`
NotificationStatus *DocumentNotificationStatus `json:"notification_status,omitempty"`
OnlineSzamlaStatus *OnlineSzamlaStatusEnum `json:"online_szamla_status,omitempty"`
Organization *DocumentOrganization `json:"organization,omitempty"`
PaidDate *openapi_types.Date `json:"paid_date,omitempty"`
Partner *Partner `json:"partner,omitempty"`
PaymentMethod *PaymentMethod `json:"payment_method,omitempty"`
PaymentStatus *PaymentStatus `json:"payment_status,omitempty"`
RelatedDocuments *[]DocumentAncestor `json:"related_documents,omitempty"`
Settings *DocumentSettings `json:"settings,omitempty"`
Summary *DocumentSummary `json:"summary,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Type *DocumentType `json:"type,omitempty"`
}
// DocumentAncestor An object representing related documents to another document.
type DocumentAncestor struct {
// Id Unique identifier of the related document.
Id *int `json:"id,omitempty"`
// InvoiceNumber Invoice number of the related document.
InvoiceNumber *string `json:"invoice_number,omitempty"`
}
// DocumentBankAccount defines model for DocumentBankAccount.
type DocumentBankAccount struct {
AccountNumber string `json:"account_number"`
AccountNumberIban *string `json:"account_number_iban,omitempty"`
Id *int `json:"id"`
Name string `json:"name"`
Swift *string `json:"swift,omitempty"`
}
// DocumentBlock defines model for DocumentBlock.
type DocumentBlock struct {
CustomField1 *string `json:"custom_field1,omitempty"`
CustomField2 *string `json:"custom_field2,omitempty"`
Id *int `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Prefix *string `json:"prefix,omitempty"`
Type *DocumentBlockType `json:"type,omitempty"`
}
// DocumentBlockList A object with a data property that contains an array of up to limit document blocks. Each entry in the array is a separate document block object. If no more document block are available, the resulting array will be empty.
type DocumentBlockList struct {
CurrentPage *int `json:"current_page,omitempty"`
Data *[]DocumentBlock `json:"data,omitempty"`
LastPage *int `json:"last_page,omitempty"`
NextPageUrl *string `json:"next_page_url,omitempty"`
PerPage *int `json:"per_page,omitempty"`
PrevPageUrl *string `json:"prev_page_url,omitempty"`
Total *int `json:"total,omitempty"`
}
// DocumentBlockType defines model for DocumentBlockType.
type DocumentBlockType string
// DocumentCancellation defines model for DocumentCancellation.
type DocumentCancellation struct {
CancellationReason *string `json:"cancellation_reason,omitempty"`
CancellationRecipients *string `json:"cancellation_recipients,omitempty"`
}
// DocumentExportFilterExtra defines model for DocumentExportFilterExtra.
type DocumentExportFilterExtra struct {
ForintsoftKonyvelesiNaploSzam *string `json:"forintsoft_konyvelesi_naplo_szam,omitempty"`
LedgerNumber *LedgerNumberInformation `json:"ledger_number,omitempty"`
NegativeLedgerNumber *string `json:"negative_ledger_number,omitempty"`
NovitaxNaplokod *string `json:"novitax_naplokod,omitempty"`
PositiveLedgerNumber *string `json:"positive_ledger_number,omitempty"`
RlbKata *bool `json:"rlb_kata,omitempty"`
RlbNote *string `json:"rlb_note,omitempty"`
TensoftVkod *string `json:"tensoft_vkod,omitempty"`
UseGrossValues *bool `json:"use_gross_values,omitempty"`
}
// DocumentExportId defines model for DocumentExportId.
type DocumentExportId struct {
Id *string `json:"id,omitempty"`
}
// DocumentExportOtherOptions defines model for DocumentExportOtherOptions.
type DocumentExportOtherOptions string
// DocumentExportQueryType defines model for DocumentExportQueryType.
type DocumentExportQueryType string
// DocumentExportSortBy defines model for DocumentExportSortBy.
type DocumentExportSortBy string
// DocumentExportStatus defines model for DocumentExportStatus.
type DocumentExportStatus struct {
Id *string `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
State *DocumentExportStatusState `json:"state,omitempty"`
}
// DocumentExportStatusState defines model for DocumentExportStatusState.
type DocumentExportStatusState string
// DocumentExportType defines model for DocumentExportType.
type DocumentExportType string
// DocumentForm defines model for DocumentForm.
type DocumentForm string
// DocumentFormat defines model for DocumentFormat.
type DocumentFormat string
// DocumentInsert defines model for DocumentInsert.
type DocumentInsert struct {
AdvanceInvoice *[]int `json:"advance_invoice,omitempty"`
BankAccountId *int `json:"bank_account_id,omitempty"`
BlockId int `json:"block_id"`
Comment *string `json:"comment,omitempty"`
ConversionRate *float32 `json:"conversion_rate,omitempty"`
Currency Currency `json:"currency"`
Discount *Discount `json:"discount,omitempty"`
DueDate openapi_types.Date `json:"due_date"`
Electronic *bool `json:"electronic,omitempty"`
FulfillmentDate openapi_types.Date `json:"fulfillment_date"`