e-invoice-api 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/e_invoice_api/models/allowance.rb +14 -42
- data/lib/e_invoice_api/models/charge.rb +4 -193
- data/lib/e_invoice_api/models/document_create.rb +62 -606
- data/lib/e_invoice_api/models/document_create_from_pdf_response.rb +7 -17
- data/lib/e_invoice_api/models/document_response.rb +25 -252
- data/lib/e_invoice_api/version.rb +1 -1
- data/rbi/e_invoice_api/models/allowance.rbi +21 -81
- data/rbi/e_invoice_api/models/charge.rbi +5 -202
- data/rbi/e_invoice_api/models/document_create.rbi +691 -2979
- data/rbi/e_invoice_api/models/document_create_from_pdf_response.rbi +8 -20
- data/rbi/e_invoice_api/models/document_response.rbi +36 -1106
- data/sig/e_invoice_api/models/allowance.rbs +8 -59
- data/sig/e_invoice_api/models/charge.rbs +4 -369
- data/sig/e_invoice_api/models/document_create.rbs +44 -929
- data/sig/e_invoice_api/models/document_create_from_pdf_response.rbs +0 -5
- data/sig/e_invoice_api/models/document_response.rbs +12 -433
- metadata +2 -2
|
@@ -281,9 +281,9 @@ module EInvoiceAPI
|
|
|
281
281
|
base_amount: EInvoiceAPI::Models::DocumentCreate::Allowance::base_amount?,
|
|
282
282
|
multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Allowance::multiplier_factor?,
|
|
283
283
|
reason: String?,
|
|
284
|
-
reason_code:
|
|
285
|
-
tax_code: EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code
|
|
286
|
-
tax_rate:
|
|
284
|
+
reason_code: String?,
|
|
285
|
+
tax_code: EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code?,
|
|
286
|
+
tax_rate: String?
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
class Allowance < EInvoiceAPI::Internal::Type::BaseModel
|
|
@@ -295,24 +295,20 @@ module EInvoiceAPI
|
|
|
295
295
|
|
|
296
296
|
attr_accessor reason: String?
|
|
297
297
|
|
|
298
|
-
attr_accessor reason_code:
|
|
298
|
+
attr_accessor reason_code: String?
|
|
299
299
|
|
|
300
|
-
|
|
300
|
+
attr_accessor tax_code: EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code?
|
|
301
301
|
|
|
302
|
-
|
|
303
|
-
EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code
|
|
304
|
-
) -> EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code
|
|
305
|
-
|
|
306
|
-
attr_accessor tax_rate: EInvoiceAPI::Models::DocumentCreate::Allowance::tax_rate?
|
|
302
|
+
attr_accessor tax_rate: String?
|
|
307
303
|
|
|
308
304
|
def initialize: (
|
|
309
305
|
?amount: EInvoiceAPI::Models::DocumentCreate::Allowance::amount?,
|
|
310
306
|
?base_amount: EInvoiceAPI::Models::DocumentCreate::Allowance::base_amount?,
|
|
311
307
|
?multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Allowance::multiplier_factor?,
|
|
312
308
|
?reason: String?,
|
|
313
|
-
?reason_code:
|
|
314
|
-
?tax_code: EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code
|
|
315
|
-
?tax_rate:
|
|
309
|
+
?reason_code: String?,
|
|
310
|
+
?tax_code: EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code?,
|
|
311
|
+
?tax_rate: String?
|
|
316
312
|
) -> void
|
|
317
313
|
|
|
318
314
|
def to_hash: -> {
|
|
@@ -320,9 +316,9 @@ module EInvoiceAPI
|
|
|
320
316
|
base_amount: EInvoiceAPI::Models::DocumentCreate::Allowance::base_amount?,
|
|
321
317
|
multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Allowance::multiplier_factor?,
|
|
322
318
|
reason: String?,
|
|
323
|
-
reason_code:
|
|
324
|
-
tax_code: EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code
|
|
325
|
-
tax_rate:
|
|
319
|
+
reason_code: String?,
|
|
320
|
+
tax_code: EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code?,
|
|
321
|
+
tax_rate: String?
|
|
326
322
|
}
|
|
327
323
|
|
|
328
324
|
type amount = Float | String
|
|
@@ -349,53 +345,6 @@ module EInvoiceAPI
|
|
|
349
345
|
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Allowance::multiplier_factor]
|
|
350
346
|
end
|
|
351
347
|
|
|
352
|
-
type reason_code =
|
|
353
|
-
:"41"
|
|
354
|
-
| :"42"
|
|
355
|
-
| :"60"
|
|
356
|
-
| :"62"
|
|
357
|
-
| :"63"
|
|
358
|
-
| :"64"
|
|
359
|
-
| :"65"
|
|
360
|
-
| :"66"
|
|
361
|
-
| :"67"
|
|
362
|
-
| :"68"
|
|
363
|
-
| :"70"
|
|
364
|
-
| :"71"
|
|
365
|
-
| :"88"
|
|
366
|
-
| :"95"
|
|
367
|
-
| :"100"
|
|
368
|
-
| :"102"
|
|
369
|
-
| :"103"
|
|
370
|
-
| :"104"
|
|
371
|
-
| :"105"
|
|
372
|
-
|
|
373
|
-
module ReasonCode
|
|
374
|
-
extend EInvoiceAPI::Internal::Type::Enum
|
|
375
|
-
|
|
376
|
-
REASON_CODE_41: :"41"
|
|
377
|
-
REASON_CODE_42: :"42"
|
|
378
|
-
REASON_CODE_60: :"60"
|
|
379
|
-
REASON_CODE_62: :"62"
|
|
380
|
-
REASON_CODE_63: :"63"
|
|
381
|
-
REASON_CODE_64: :"64"
|
|
382
|
-
REASON_CODE_65: :"65"
|
|
383
|
-
REASON_CODE_66: :"66"
|
|
384
|
-
REASON_CODE_67: :"67"
|
|
385
|
-
REASON_CODE_68: :"68"
|
|
386
|
-
REASON_CODE_70: :"70"
|
|
387
|
-
REASON_CODE_71: :"71"
|
|
388
|
-
REASON_CODE_88: :"88"
|
|
389
|
-
REASON_CODE_95: :"95"
|
|
390
|
-
REASON_CODE_100: :"100"
|
|
391
|
-
REASON_CODE_102: :"102"
|
|
392
|
-
REASON_CODE_103: :"103"
|
|
393
|
-
REASON_CODE_104: :"104"
|
|
394
|
-
REASON_CODE_105: :"105"
|
|
395
|
-
|
|
396
|
-
def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Allowance::reason_code]
|
|
397
|
-
end
|
|
398
|
-
|
|
399
348
|
type tax_code = :AE | :E | :S | :Z | :G | :O | :K | :L | :M | :B
|
|
400
349
|
|
|
401
350
|
module TaxCode
|
|
@@ -414,14 +363,6 @@ module EInvoiceAPI
|
|
|
414
363
|
|
|
415
364
|
def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Allowance::tax_code]
|
|
416
365
|
end
|
|
417
|
-
|
|
418
|
-
type tax_rate = Float | String
|
|
419
|
-
|
|
420
|
-
module TaxRate
|
|
421
|
-
extend EInvoiceAPI::Internal::Type::Union
|
|
422
|
-
|
|
423
|
-
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Allowance::tax_rate]
|
|
424
|
-
end
|
|
425
366
|
end
|
|
426
367
|
|
|
427
368
|
type amount_due = Float | String
|
|
@@ -438,9 +379,9 @@ module EInvoiceAPI
|
|
|
438
379
|
base_amount: EInvoiceAPI::Models::DocumentCreate::Charge::base_amount?,
|
|
439
380
|
multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Charge::multiplier_factor?,
|
|
440
381
|
reason: String?,
|
|
441
|
-
reason_code:
|
|
382
|
+
reason_code: String?,
|
|
442
383
|
tax_code: EInvoiceAPI::Models::DocumentCreate::Charge::tax_code?,
|
|
443
|
-
tax_rate:
|
|
384
|
+
tax_rate: String?
|
|
444
385
|
}
|
|
445
386
|
|
|
446
387
|
class Charge < EInvoiceAPI::Internal::Type::BaseModel
|
|
@@ -452,20 +393,20 @@ module EInvoiceAPI
|
|
|
452
393
|
|
|
453
394
|
attr_accessor reason: String?
|
|
454
395
|
|
|
455
|
-
attr_accessor reason_code:
|
|
396
|
+
attr_accessor reason_code: String?
|
|
456
397
|
|
|
457
398
|
attr_accessor tax_code: EInvoiceAPI::Models::DocumentCreate::Charge::tax_code?
|
|
458
399
|
|
|
459
|
-
attr_accessor tax_rate:
|
|
400
|
+
attr_accessor tax_rate: String?
|
|
460
401
|
|
|
461
402
|
def initialize: (
|
|
462
403
|
?amount: EInvoiceAPI::Models::DocumentCreate::Charge::amount?,
|
|
463
404
|
?base_amount: EInvoiceAPI::Models::DocumentCreate::Charge::base_amount?,
|
|
464
405
|
?multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Charge::multiplier_factor?,
|
|
465
406
|
?reason: String?,
|
|
466
|
-
?reason_code:
|
|
407
|
+
?reason_code: String?,
|
|
467
408
|
?tax_code: EInvoiceAPI::Models::DocumentCreate::Charge::tax_code?,
|
|
468
|
-
?tax_rate:
|
|
409
|
+
?tax_rate: String?
|
|
469
410
|
) -> void
|
|
470
411
|
|
|
471
412
|
def to_hash: -> {
|
|
@@ -473,9 +414,9 @@ module EInvoiceAPI
|
|
|
473
414
|
base_amount: EInvoiceAPI::Models::DocumentCreate::Charge::base_amount?,
|
|
474
415
|
multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Charge::multiplier_factor?,
|
|
475
416
|
reason: String?,
|
|
476
|
-
reason_code:
|
|
417
|
+
reason_code: String?,
|
|
477
418
|
tax_code: EInvoiceAPI::Models::DocumentCreate::Charge::tax_code?,
|
|
478
|
-
tax_rate:
|
|
419
|
+
tax_rate: String?
|
|
479
420
|
}
|
|
480
421
|
|
|
481
422
|
type amount = Float | String
|
|
@@ -502,371 +443,6 @@ module EInvoiceAPI
|
|
|
502
443
|
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Charge::multiplier_factor]
|
|
503
444
|
end
|
|
504
445
|
|
|
505
|
-
type reason_code =
|
|
506
|
-
:AA
|
|
507
|
-
| :AAA
|
|
508
|
-
| :AAC
|
|
509
|
-
| :AAD
|
|
510
|
-
| :AAE
|
|
511
|
-
| :AAF
|
|
512
|
-
| :AAH
|
|
513
|
-
| :AAI
|
|
514
|
-
| :AAS
|
|
515
|
-
| :AAT
|
|
516
|
-
| :AAV
|
|
517
|
-
| :AAY
|
|
518
|
-
| :AAZ
|
|
519
|
-
| :ABA
|
|
520
|
-
| :ABB
|
|
521
|
-
| :ABC
|
|
522
|
-
| :ABD
|
|
523
|
-
| :ABF
|
|
524
|
-
| :ABK
|
|
525
|
-
| :ABL
|
|
526
|
-
| :ABN
|
|
527
|
-
| :ABR
|
|
528
|
-
| :ABS
|
|
529
|
-
| :ABT
|
|
530
|
-
| :ABU
|
|
531
|
-
| :ACF
|
|
532
|
-
| :ACG
|
|
533
|
-
| :ACH
|
|
534
|
-
| :ACI
|
|
535
|
-
| :ACJ
|
|
536
|
-
| :ACK
|
|
537
|
-
| :ACL
|
|
538
|
-
| :ACM
|
|
539
|
-
| :ACS
|
|
540
|
-
| :ADC
|
|
541
|
-
| :ADE
|
|
542
|
-
| :ADJ
|
|
543
|
-
| :ADK
|
|
544
|
-
| :ADL
|
|
545
|
-
| :ADM
|
|
546
|
-
| :ADN
|
|
547
|
-
| :ADO
|
|
548
|
-
| :ADP
|
|
549
|
-
| :ADQ
|
|
550
|
-
| :ADR
|
|
551
|
-
| :ADT
|
|
552
|
-
| :ADW
|
|
553
|
-
| :ADY
|
|
554
|
-
| :ADZ
|
|
555
|
-
| :AEA
|
|
556
|
-
| :AEB
|
|
557
|
-
| :AEC
|
|
558
|
-
| :AED
|
|
559
|
-
| :AEF
|
|
560
|
-
| :AEH
|
|
561
|
-
| :AEI
|
|
562
|
-
| :AEJ
|
|
563
|
-
| :AEK
|
|
564
|
-
| :AEL
|
|
565
|
-
| :AEM
|
|
566
|
-
| :AEN
|
|
567
|
-
| :AEO
|
|
568
|
-
| :AEP
|
|
569
|
-
| :AES
|
|
570
|
-
| :AET
|
|
571
|
-
| :AEU
|
|
572
|
-
| :AEV
|
|
573
|
-
| :AEW
|
|
574
|
-
| :AEX
|
|
575
|
-
| :AEY
|
|
576
|
-
| :AEZ
|
|
577
|
-
| :AJ
|
|
578
|
-
| :AU
|
|
579
|
-
| :CA
|
|
580
|
-
| :CAB
|
|
581
|
-
| :CAD
|
|
582
|
-
| :CAE
|
|
583
|
-
| :CAF
|
|
584
|
-
| :CAI
|
|
585
|
-
| :CAJ
|
|
586
|
-
| :CAK
|
|
587
|
-
| :CAL
|
|
588
|
-
| :CAM
|
|
589
|
-
| :CAN
|
|
590
|
-
| :CAO
|
|
591
|
-
| :CAP
|
|
592
|
-
| :CAQ
|
|
593
|
-
| :CAR
|
|
594
|
-
| :CAS
|
|
595
|
-
| :CAT
|
|
596
|
-
| :CAU
|
|
597
|
-
| :CAV
|
|
598
|
-
| :CAW
|
|
599
|
-
| :CAX
|
|
600
|
-
| :CAY
|
|
601
|
-
| :CAZ
|
|
602
|
-
| :CD
|
|
603
|
-
| :CG
|
|
604
|
-
| :CS
|
|
605
|
-
| :CT
|
|
606
|
-
| :DAB
|
|
607
|
-
| :DAC
|
|
608
|
-
| :DAD
|
|
609
|
-
| :DAF
|
|
610
|
-
| :DAG
|
|
611
|
-
| :DAH
|
|
612
|
-
| :DAI
|
|
613
|
-
| :DAJ
|
|
614
|
-
| :DAK
|
|
615
|
-
| :DAL
|
|
616
|
-
| :DAM
|
|
617
|
-
| :DAN
|
|
618
|
-
| :DAO
|
|
619
|
-
| :DAP
|
|
620
|
-
| :DAQ
|
|
621
|
-
| :DL
|
|
622
|
-
| :EG
|
|
623
|
-
| :EP
|
|
624
|
-
| :ER
|
|
625
|
-
| :FAA
|
|
626
|
-
| :FAB
|
|
627
|
-
| :FAC
|
|
628
|
-
| :FC
|
|
629
|
-
| :FH
|
|
630
|
-
| :FI
|
|
631
|
-
| :GAA
|
|
632
|
-
| :HAA
|
|
633
|
-
| :HD
|
|
634
|
-
| :HH
|
|
635
|
-
| :IAA
|
|
636
|
-
| :IAB
|
|
637
|
-
| :ID
|
|
638
|
-
| :IF
|
|
639
|
-
| :IR
|
|
640
|
-
| :IS
|
|
641
|
-
| :KO
|
|
642
|
-
| :L1
|
|
643
|
-
| :LA
|
|
644
|
-
| :LAA
|
|
645
|
-
| :LAB
|
|
646
|
-
| :LF
|
|
647
|
-
| :MAE
|
|
648
|
-
| :MI
|
|
649
|
-
| :ML
|
|
650
|
-
| :NAA
|
|
651
|
-
| :OA
|
|
652
|
-
| :PA
|
|
653
|
-
| :PAA
|
|
654
|
-
| :PC
|
|
655
|
-
| :PL
|
|
656
|
-
| :PRV
|
|
657
|
-
| :RAB
|
|
658
|
-
| :RAC
|
|
659
|
-
| :RAD
|
|
660
|
-
| :RAF
|
|
661
|
-
| :RE
|
|
662
|
-
| :RF
|
|
663
|
-
| :RH
|
|
664
|
-
| :RV
|
|
665
|
-
| :SA
|
|
666
|
-
| :SAA
|
|
667
|
-
| :SAD
|
|
668
|
-
| :SAE
|
|
669
|
-
| :SAI
|
|
670
|
-
| :SG
|
|
671
|
-
| :SH
|
|
672
|
-
| :SM
|
|
673
|
-
| :SU
|
|
674
|
-
| :TAB
|
|
675
|
-
| :TAC
|
|
676
|
-
| :TT
|
|
677
|
-
| :TV
|
|
678
|
-
| :V1
|
|
679
|
-
| :V2
|
|
680
|
-
| :WH
|
|
681
|
-
| :XAA
|
|
682
|
-
| :YY
|
|
683
|
-
| :ZZZ
|
|
684
|
-
|
|
685
|
-
module ReasonCode
|
|
686
|
-
extend EInvoiceAPI::Internal::Type::Enum
|
|
687
|
-
|
|
688
|
-
AA: :AA
|
|
689
|
-
AAA: :AAA
|
|
690
|
-
AAC: :AAC
|
|
691
|
-
AAD: :AAD
|
|
692
|
-
AAE: :AAE
|
|
693
|
-
AAF: :AAF
|
|
694
|
-
AAH: :AAH
|
|
695
|
-
AAI: :AAI
|
|
696
|
-
AAS: :AAS
|
|
697
|
-
AAT: :AAT
|
|
698
|
-
AAV: :AAV
|
|
699
|
-
AAY: :AAY
|
|
700
|
-
AAZ: :AAZ
|
|
701
|
-
ABA: :ABA
|
|
702
|
-
ABB: :ABB
|
|
703
|
-
ABC: :ABC
|
|
704
|
-
ABD: :ABD
|
|
705
|
-
ABF: :ABF
|
|
706
|
-
ABK: :ABK
|
|
707
|
-
ABL: :ABL
|
|
708
|
-
ABN: :ABN
|
|
709
|
-
ABR: :ABR
|
|
710
|
-
ABS: :ABS
|
|
711
|
-
ABT: :ABT
|
|
712
|
-
ABU: :ABU
|
|
713
|
-
ACF: :ACF
|
|
714
|
-
ACG: :ACG
|
|
715
|
-
ACH: :ACH
|
|
716
|
-
ACI: :ACI
|
|
717
|
-
ACJ: :ACJ
|
|
718
|
-
ACK: :ACK
|
|
719
|
-
ACL: :ACL
|
|
720
|
-
ACM: :ACM
|
|
721
|
-
ACS: :ACS
|
|
722
|
-
ADC: :ADC
|
|
723
|
-
ADE: :ADE
|
|
724
|
-
ADJ: :ADJ
|
|
725
|
-
ADK: :ADK
|
|
726
|
-
ADL: :ADL
|
|
727
|
-
ADM: :ADM
|
|
728
|
-
ADN: :ADN
|
|
729
|
-
ADO: :ADO
|
|
730
|
-
ADP: :ADP
|
|
731
|
-
ADQ: :ADQ
|
|
732
|
-
ADR: :ADR
|
|
733
|
-
ADT: :ADT
|
|
734
|
-
ADW: :ADW
|
|
735
|
-
ADY: :ADY
|
|
736
|
-
ADZ: :ADZ
|
|
737
|
-
AEA: :AEA
|
|
738
|
-
AEB: :AEB
|
|
739
|
-
AEC: :AEC
|
|
740
|
-
AED: :AED
|
|
741
|
-
AEF: :AEF
|
|
742
|
-
AEH: :AEH
|
|
743
|
-
AEI: :AEI
|
|
744
|
-
AEJ: :AEJ
|
|
745
|
-
AEK: :AEK
|
|
746
|
-
AEL: :AEL
|
|
747
|
-
AEM: :AEM
|
|
748
|
-
AEN: :AEN
|
|
749
|
-
AEO: :AEO
|
|
750
|
-
AEP: :AEP
|
|
751
|
-
AES: :AES
|
|
752
|
-
AET: :AET
|
|
753
|
-
AEU: :AEU
|
|
754
|
-
AEV: :AEV
|
|
755
|
-
AEW: :AEW
|
|
756
|
-
AEX: :AEX
|
|
757
|
-
AEY: :AEY
|
|
758
|
-
AEZ: :AEZ
|
|
759
|
-
AJ: :AJ
|
|
760
|
-
AU: :AU
|
|
761
|
-
CA: :CA
|
|
762
|
-
CAB: :CAB
|
|
763
|
-
CAD: :CAD
|
|
764
|
-
CAE: :CAE
|
|
765
|
-
CAF: :CAF
|
|
766
|
-
CAI: :CAI
|
|
767
|
-
CAJ: :CAJ
|
|
768
|
-
CAK: :CAK
|
|
769
|
-
CAL: :CAL
|
|
770
|
-
CAM: :CAM
|
|
771
|
-
CAN: :CAN
|
|
772
|
-
CAO: :CAO
|
|
773
|
-
CAP: :CAP
|
|
774
|
-
CAQ: :CAQ
|
|
775
|
-
CAR: :CAR
|
|
776
|
-
CAS: :CAS
|
|
777
|
-
CAT: :CAT
|
|
778
|
-
CAU: :CAU
|
|
779
|
-
CAV: :CAV
|
|
780
|
-
CAW: :CAW
|
|
781
|
-
CAX: :CAX
|
|
782
|
-
CAY: :CAY
|
|
783
|
-
CAZ: :CAZ
|
|
784
|
-
CD: :CD
|
|
785
|
-
CG: :CG
|
|
786
|
-
CS: :CS
|
|
787
|
-
CT: :CT
|
|
788
|
-
DAB: :DAB
|
|
789
|
-
DAC: :DAC
|
|
790
|
-
DAD: :DAD
|
|
791
|
-
DAF: :DAF
|
|
792
|
-
DAG: :DAG
|
|
793
|
-
DAH: :DAH
|
|
794
|
-
DAI: :DAI
|
|
795
|
-
DAJ: :DAJ
|
|
796
|
-
DAK: :DAK
|
|
797
|
-
DAL: :DAL
|
|
798
|
-
DAM: :DAM
|
|
799
|
-
DAN: :DAN
|
|
800
|
-
DAO: :DAO
|
|
801
|
-
DAP: :DAP
|
|
802
|
-
DAQ: :DAQ
|
|
803
|
-
DL: :DL
|
|
804
|
-
EG: :EG
|
|
805
|
-
EP: :EP
|
|
806
|
-
ER: :ER
|
|
807
|
-
FAA: :FAA
|
|
808
|
-
FAB: :FAB
|
|
809
|
-
FAC: :FAC
|
|
810
|
-
FC: :FC
|
|
811
|
-
FH: :FH
|
|
812
|
-
FI: :FI
|
|
813
|
-
GAA: :GAA
|
|
814
|
-
HAA: :HAA
|
|
815
|
-
HD: :HD
|
|
816
|
-
HH: :HH
|
|
817
|
-
IAA: :IAA
|
|
818
|
-
IAB: :IAB
|
|
819
|
-
ID: :ID
|
|
820
|
-
IF: :IF
|
|
821
|
-
IR: :IR
|
|
822
|
-
IS: :IS
|
|
823
|
-
KO: :KO
|
|
824
|
-
L1: :L1
|
|
825
|
-
LA: :LA
|
|
826
|
-
LAA: :LAA
|
|
827
|
-
LAB: :LAB
|
|
828
|
-
LF: :LF
|
|
829
|
-
MAE: :MAE
|
|
830
|
-
MI: :MI
|
|
831
|
-
ML: :ML
|
|
832
|
-
NAA: :NAA
|
|
833
|
-
OA: :OA
|
|
834
|
-
PA: :PA
|
|
835
|
-
PAA: :PAA
|
|
836
|
-
PC: :PC
|
|
837
|
-
PL: :PL
|
|
838
|
-
PRV: :PRV
|
|
839
|
-
RAB: :RAB
|
|
840
|
-
RAC: :RAC
|
|
841
|
-
RAD: :RAD
|
|
842
|
-
RAF: :RAF
|
|
843
|
-
RE: :RE
|
|
844
|
-
RF: :RF
|
|
845
|
-
RH: :RH
|
|
846
|
-
RV: :RV
|
|
847
|
-
SA: :SA
|
|
848
|
-
SAA: :SAA
|
|
849
|
-
SAD: :SAD
|
|
850
|
-
SAE: :SAE
|
|
851
|
-
SAI: :SAI
|
|
852
|
-
SG: :SG
|
|
853
|
-
SH: :SH
|
|
854
|
-
SM: :SM
|
|
855
|
-
SU: :SU
|
|
856
|
-
TAB: :TAB
|
|
857
|
-
TAC: :TAC
|
|
858
|
-
TT: :TT
|
|
859
|
-
TV: :TV
|
|
860
|
-
V1: :V1
|
|
861
|
-
V2: :V2
|
|
862
|
-
WH: :WH
|
|
863
|
-
XAA: :XAA
|
|
864
|
-
YY: :YY
|
|
865
|
-
ZZZ: :ZZZ
|
|
866
|
-
|
|
867
|
-
def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Charge::reason_code]
|
|
868
|
-
end
|
|
869
|
-
|
|
870
446
|
type tax_code = :AE | :E | :S | :Z | :G | :O | :K | :L | :M | :B
|
|
871
447
|
|
|
872
448
|
module TaxCode
|
|
@@ -885,14 +461,6 @@ module EInvoiceAPI
|
|
|
885
461
|
|
|
886
462
|
def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Charge::tax_code]
|
|
887
463
|
end
|
|
888
|
-
|
|
889
|
-
type tax_rate = Float | String
|
|
890
|
-
|
|
891
|
-
module TaxRate
|
|
892
|
-
extend EInvoiceAPI::Internal::Type::Union
|
|
893
|
-
|
|
894
|
-
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Charge::tax_rate]
|
|
895
|
-
end
|
|
896
464
|
end
|
|
897
465
|
|
|
898
466
|
type invoice_total = Float | String
|
|
@@ -910,11 +478,10 @@ module EInvoiceAPI
|
|
|
910
478
|
charges: ::Array[EInvoiceAPI::DocumentCreate::Item::Charge]?,
|
|
911
479
|
date: nil,
|
|
912
480
|
description: String?,
|
|
913
|
-
price_base_quantity: EInvoiceAPI::Models::DocumentCreate::Item::price_base_quantity?,
|
|
914
481
|
product_code: String?,
|
|
915
482
|
quantity: EInvoiceAPI::Models::DocumentCreate::Item::quantity?,
|
|
916
483
|
tax: EInvoiceAPI::Models::DocumentCreate::Item::tax?,
|
|
917
|
-
tax_rate:
|
|
484
|
+
tax_rate: String?,
|
|
918
485
|
unit: EInvoiceAPI::Models::unit_of_measure_code?,
|
|
919
486
|
unit_price: EInvoiceAPI::Models::DocumentCreate::Item::unit_price?
|
|
920
487
|
}
|
|
@@ -930,15 +497,13 @@ module EInvoiceAPI
|
|
|
930
497
|
|
|
931
498
|
attr_accessor description: String?
|
|
932
499
|
|
|
933
|
-
attr_accessor price_base_quantity: EInvoiceAPI::Models::DocumentCreate::Item::price_base_quantity?
|
|
934
|
-
|
|
935
500
|
attr_accessor product_code: String?
|
|
936
501
|
|
|
937
502
|
attr_accessor quantity: EInvoiceAPI::Models::DocumentCreate::Item::quantity?
|
|
938
503
|
|
|
939
504
|
attr_accessor tax: EInvoiceAPI::Models::DocumentCreate::Item::tax?
|
|
940
505
|
|
|
941
|
-
attr_accessor tax_rate:
|
|
506
|
+
attr_accessor tax_rate: String?
|
|
942
507
|
|
|
943
508
|
attr_accessor unit: EInvoiceAPI::Models::unit_of_measure_code?
|
|
944
509
|
|
|
@@ -950,11 +515,10 @@ module EInvoiceAPI
|
|
|
950
515
|
?charges: ::Array[EInvoiceAPI::DocumentCreate::Item::Charge]?,
|
|
951
516
|
?date: nil,
|
|
952
517
|
?description: String?,
|
|
953
|
-
?price_base_quantity: EInvoiceAPI::Models::DocumentCreate::Item::price_base_quantity?,
|
|
954
518
|
?product_code: String?,
|
|
955
519
|
?quantity: EInvoiceAPI::Models::DocumentCreate::Item::quantity?,
|
|
956
520
|
?tax: EInvoiceAPI::Models::DocumentCreate::Item::tax?,
|
|
957
|
-
?tax_rate:
|
|
521
|
+
?tax_rate: String?,
|
|
958
522
|
?unit: EInvoiceAPI::Models::unit_of_measure_code?,
|
|
959
523
|
?unit_price: EInvoiceAPI::Models::DocumentCreate::Item::unit_price?
|
|
960
524
|
) -> void
|
|
@@ -965,11 +529,10 @@ module EInvoiceAPI
|
|
|
965
529
|
charges: ::Array[EInvoiceAPI::DocumentCreate::Item::Charge]?,
|
|
966
530
|
date: nil,
|
|
967
531
|
description: String?,
|
|
968
|
-
price_base_quantity: EInvoiceAPI::Models::DocumentCreate::Item::price_base_quantity?,
|
|
969
532
|
product_code: String?,
|
|
970
533
|
quantity: EInvoiceAPI::Models::DocumentCreate::Item::quantity?,
|
|
971
534
|
tax: EInvoiceAPI::Models::DocumentCreate::Item::tax?,
|
|
972
|
-
tax_rate:
|
|
535
|
+
tax_rate: String?,
|
|
973
536
|
unit: EInvoiceAPI::Models::unit_of_measure_code?,
|
|
974
537
|
unit_price: EInvoiceAPI::Models::DocumentCreate::Item::unit_price?
|
|
975
538
|
}
|
|
@@ -980,9 +543,9 @@ module EInvoiceAPI
|
|
|
980
543
|
base_amount: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::base_amount?,
|
|
981
544
|
multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::multiplier_factor?,
|
|
982
545
|
reason: String?,
|
|
983
|
-
reason_code:
|
|
984
|
-
tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code
|
|
985
|
-
tax_rate:
|
|
546
|
+
reason_code: String?,
|
|
547
|
+
tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code?,
|
|
548
|
+
tax_rate: String?
|
|
986
549
|
}
|
|
987
550
|
|
|
988
551
|
class Allowance < EInvoiceAPI::Internal::Type::BaseModel
|
|
@@ -994,24 +557,20 @@ module EInvoiceAPI
|
|
|
994
557
|
|
|
995
558
|
attr_accessor reason: String?
|
|
996
559
|
|
|
997
|
-
attr_accessor reason_code:
|
|
998
|
-
|
|
999
|
-
attr_reader tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code?
|
|
560
|
+
attr_accessor reason_code: String?
|
|
1000
561
|
|
|
1001
|
-
|
|
1002
|
-
EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code
|
|
1003
|
-
) -> EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code
|
|
562
|
+
attr_accessor tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code?
|
|
1004
563
|
|
|
1005
|
-
attr_accessor tax_rate:
|
|
564
|
+
attr_accessor tax_rate: String?
|
|
1006
565
|
|
|
1007
566
|
def initialize: (
|
|
1008
567
|
?amount: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::amount?,
|
|
1009
568
|
?base_amount: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::base_amount?,
|
|
1010
569
|
?multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::multiplier_factor?,
|
|
1011
570
|
?reason: String?,
|
|
1012
|
-
?reason_code:
|
|
1013
|
-
?tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code
|
|
1014
|
-
?tax_rate:
|
|
571
|
+
?reason_code: String?,
|
|
572
|
+
?tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code?,
|
|
573
|
+
?tax_rate: String?
|
|
1015
574
|
) -> void
|
|
1016
575
|
|
|
1017
576
|
def to_hash: -> {
|
|
@@ -1019,9 +578,9 @@ module EInvoiceAPI
|
|
|
1019
578
|
base_amount: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::base_amount?,
|
|
1020
579
|
multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::multiplier_factor?,
|
|
1021
580
|
reason: String?,
|
|
1022
|
-
reason_code:
|
|
1023
|
-
tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code
|
|
1024
|
-
tax_rate:
|
|
581
|
+
reason_code: String?,
|
|
582
|
+
tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code?,
|
|
583
|
+
tax_rate: String?
|
|
1025
584
|
}
|
|
1026
585
|
|
|
1027
586
|
type amount = Float | String
|
|
@@ -1048,53 +607,6 @@ module EInvoiceAPI
|
|
|
1048
607
|
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::Allowance::multiplier_factor]
|
|
1049
608
|
end
|
|
1050
609
|
|
|
1051
|
-
type reason_code =
|
|
1052
|
-
:"41"
|
|
1053
|
-
| :"42"
|
|
1054
|
-
| :"60"
|
|
1055
|
-
| :"62"
|
|
1056
|
-
| :"63"
|
|
1057
|
-
| :"64"
|
|
1058
|
-
| :"65"
|
|
1059
|
-
| :"66"
|
|
1060
|
-
| :"67"
|
|
1061
|
-
| :"68"
|
|
1062
|
-
| :"70"
|
|
1063
|
-
| :"71"
|
|
1064
|
-
| :"88"
|
|
1065
|
-
| :"95"
|
|
1066
|
-
| :"100"
|
|
1067
|
-
| :"102"
|
|
1068
|
-
| :"103"
|
|
1069
|
-
| :"104"
|
|
1070
|
-
| :"105"
|
|
1071
|
-
|
|
1072
|
-
module ReasonCode
|
|
1073
|
-
extend EInvoiceAPI::Internal::Type::Enum
|
|
1074
|
-
|
|
1075
|
-
REASON_CODE_41: :"41"
|
|
1076
|
-
REASON_CODE_42: :"42"
|
|
1077
|
-
REASON_CODE_60: :"60"
|
|
1078
|
-
REASON_CODE_62: :"62"
|
|
1079
|
-
REASON_CODE_63: :"63"
|
|
1080
|
-
REASON_CODE_64: :"64"
|
|
1081
|
-
REASON_CODE_65: :"65"
|
|
1082
|
-
REASON_CODE_66: :"66"
|
|
1083
|
-
REASON_CODE_67: :"67"
|
|
1084
|
-
REASON_CODE_68: :"68"
|
|
1085
|
-
REASON_CODE_70: :"70"
|
|
1086
|
-
REASON_CODE_71: :"71"
|
|
1087
|
-
REASON_CODE_88: :"88"
|
|
1088
|
-
REASON_CODE_95: :"95"
|
|
1089
|
-
REASON_CODE_100: :"100"
|
|
1090
|
-
REASON_CODE_102: :"102"
|
|
1091
|
-
REASON_CODE_103: :"103"
|
|
1092
|
-
REASON_CODE_104: :"104"
|
|
1093
|
-
REASON_CODE_105: :"105"
|
|
1094
|
-
|
|
1095
|
-
def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::Allowance::reason_code]
|
|
1096
|
-
end
|
|
1097
|
-
|
|
1098
610
|
type tax_code = :AE | :E | :S | :Z | :G | :O | :K | :L | :M | :B
|
|
1099
611
|
|
|
1100
612
|
module TaxCode
|
|
@@ -1113,14 +625,6 @@ module EInvoiceAPI
|
|
|
1113
625
|
|
|
1114
626
|
def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_code]
|
|
1115
627
|
end
|
|
1116
|
-
|
|
1117
|
-
type tax_rate = Float | String
|
|
1118
|
-
|
|
1119
|
-
module TaxRate
|
|
1120
|
-
extend EInvoiceAPI::Internal::Type::Union
|
|
1121
|
-
|
|
1122
|
-
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::Allowance::tax_rate]
|
|
1123
|
-
end
|
|
1124
628
|
end
|
|
1125
629
|
|
|
1126
630
|
type amount = Float | String
|
|
@@ -1137,9 +641,9 @@ module EInvoiceAPI
|
|
|
1137
641
|
base_amount: EInvoiceAPI::Models::DocumentCreate::Item::Charge::base_amount?,
|
|
1138
642
|
multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Item::Charge::multiplier_factor?,
|
|
1139
643
|
reason: String?,
|
|
1140
|
-
reason_code:
|
|
644
|
+
reason_code: String?,
|
|
1141
645
|
tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Charge::tax_code?,
|
|
1142
|
-
tax_rate:
|
|
646
|
+
tax_rate: String?
|
|
1143
647
|
}
|
|
1144
648
|
|
|
1145
649
|
class Charge < EInvoiceAPI::Internal::Type::BaseModel
|
|
@@ -1151,20 +655,20 @@ module EInvoiceAPI
|
|
|
1151
655
|
|
|
1152
656
|
attr_accessor reason: String?
|
|
1153
657
|
|
|
1154
|
-
attr_accessor reason_code:
|
|
658
|
+
attr_accessor reason_code: String?
|
|
1155
659
|
|
|
1156
660
|
attr_accessor tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Charge::tax_code?
|
|
1157
661
|
|
|
1158
|
-
attr_accessor tax_rate:
|
|
662
|
+
attr_accessor tax_rate: String?
|
|
1159
663
|
|
|
1160
664
|
def initialize: (
|
|
1161
665
|
?amount: EInvoiceAPI::Models::DocumentCreate::Item::Charge::amount?,
|
|
1162
666
|
?base_amount: EInvoiceAPI::Models::DocumentCreate::Item::Charge::base_amount?,
|
|
1163
667
|
?multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Item::Charge::multiplier_factor?,
|
|
1164
668
|
?reason: String?,
|
|
1165
|
-
?reason_code:
|
|
669
|
+
?reason_code: String?,
|
|
1166
670
|
?tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Charge::tax_code?,
|
|
1167
|
-
?tax_rate:
|
|
671
|
+
?tax_rate: String?
|
|
1168
672
|
) -> void
|
|
1169
673
|
|
|
1170
674
|
def to_hash: -> {
|
|
@@ -1172,9 +676,9 @@ module EInvoiceAPI
|
|
|
1172
676
|
base_amount: EInvoiceAPI::Models::DocumentCreate::Item::Charge::base_amount?,
|
|
1173
677
|
multiplier_factor: EInvoiceAPI::Models::DocumentCreate::Item::Charge::multiplier_factor?,
|
|
1174
678
|
reason: String?,
|
|
1175
|
-
reason_code:
|
|
679
|
+
reason_code: String?,
|
|
1176
680
|
tax_code: EInvoiceAPI::Models::DocumentCreate::Item::Charge::tax_code?,
|
|
1177
|
-
tax_rate:
|
|
681
|
+
tax_rate: String?
|
|
1178
682
|
}
|
|
1179
683
|
|
|
1180
684
|
type amount = Float | String
|
|
@@ -1201,371 +705,6 @@ module EInvoiceAPI
|
|
|
1201
705
|
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::Charge::multiplier_factor]
|
|
1202
706
|
end
|
|
1203
707
|
|
|
1204
|
-
type reason_code =
|
|
1205
|
-
:AA
|
|
1206
|
-
| :AAA
|
|
1207
|
-
| :AAC
|
|
1208
|
-
| :AAD
|
|
1209
|
-
| :AAE
|
|
1210
|
-
| :AAF
|
|
1211
|
-
| :AAH
|
|
1212
|
-
| :AAI
|
|
1213
|
-
| :AAS
|
|
1214
|
-
| :AAT
|
|
1215
|
-
| :AAV
|
|
1216
|
-
| :AAY
|
|
1217
|
-
| :AAZ
|
|
1218
|
-
| :ABA
|
|
1219
|
-
| :ABB
|
|
1220
|
-
| :ABC
|
|
1221
|
-
| :ABD
|
|
1222
|
-
| :ABF
|
|
1223
|
-
| :ABK
|
|
1224
|
-
| :ABL
|
|
1225
|
-
| :ABN
|
|
1226
|
-
| :ABR
|
|
1227
|
-
| :ABS
|
|
1228
|
-
| :ABT
|
|
1229
|
-
| :ABU
|
|
1230
|
-
| :ACF
|
|
1231
|
-
| :ACG
|
|
1232
|
-
| :ACH
|
|
1233
|
-
| :ACI
|
|
1234
|
-
| :ACJ
|
|
1235
|
-
| :ACK
|
|
1236
|
-
| :ACL
|
|
1237
|
-
| :ACM
|
|
1238
|
-
| :ACS
|
|
1239
|
-
| :ADC
|
|
1240
|
-
| :ADE
|
|
1241
|
-
| :ADJ
|
|
1242
|
-
| :ADK
|
|
1243
|
-
| :ADL
|
|
1244
|
-
| :ADM
|
|
1245
|
-
| :ADN
|
|
1246
|
-
| :ADO
|
|
1247
|
-
| :ADP
|
|
1248
|
-
| :ADQ
|
|
1249
|
-
| :ADR
|
|
1250
|
-
| :ADT
|
|
1251
|
-
| :ADW
|
|
1252
|
-
| :ADY
|
|
1253
|
-
| :ADZ
|
|
1254
|
-
| :AEA
|
|
1255
|
-
| :AEB
|
|
1256
|
-
| :AEC
|
|
1257
|
-
| :AED
|
|
1258
|
-
| :AEF
|
|
1259
|
-
| :AEH
|
|
1260
|
-
| :AEI
|
|
1261
|
-
| :AEJ
|
|
1262
|
-
| :AEK
|
|
1263
|
-
| :AEL
|
|
1264
|
-
| :AEM
|
|
1265
|
-
| :AEN
|
|
1266
|
-
| :AEO
|
|
1267
|
-
| :AEP
|
|
1268
|
-
| :AES
|
|
1269
|
-
| :AET
|
|
1270
|
-
| :AEU
|
|
1271
|
-
| :AEV
|
|
1272
|
-
| :AEW
|
|
1273
|
-
| :AEX
|
|
1274
|
-
| :AEY
|
|
1275
|
-
| :AEZ
|
|
1276
|
-
| :AJ
|
|
1277
|
-
| :AU
|
|
1278
|
-
| :CA
|
|
1279
|
-
| :CAB
|
|
1280
|
-
| :CAD
|
|
1281
|
-
| :CAE
|
|
1282
|
-
| :CAF
|
|
1283
|
-
| :CAI
|
|
1284
|
-
| :CAJ
|
|
1285
|
-
| :CAK
|
|
1286
|
-
| :CAL
|
|
1287
|
-
| :CAM
|
|
1288
|
-
| :CAN
|
|
1289
|
-
| :CAO
|
|
1290
|
-
| :CAP
|
|
1291
|
-
| :CAQ
|
|
1292
|
-
| :CAR
|
|
1293
|
-
| :CAS
|
|
1294
|
-
| :CAT
|
|
1295
|
-
| :CAU
|
|
1296
|
-
| :CAV
|
|
1297
|
-
| :CAW
|
|
1298
|
-
| :CAX
|
|
1299
|
-
| :CAY
|
|
1300
|
-
| :CAZ
|
|
1301
|
-
| :CD
|
|
1302
|
-
| :CG
|
|
1303
|
-
| :CS
|
|
1304
|
-
| :CT
|
|
1305
|
-
| :DAB
|
|
1306
|
-
| :DAC
|
|
1307
|
-
| :DAD
|
|
1308
|
-
| :DAF
|
|
1309
|
-
| :DAG
|
|
1310
|
-
| :DAH
|
|
1311
|
-
| :DAI
|
|
1312
|
-
| :DAJ
|
|
1313
|
-
| :DAK
|
|
1314
|
-
| :DAL
|
|
1315
|
-
| :DAM
|
|
1316
|
-
| :DAN
|
|
1317
|
-
| :DAO
|
|
1318
|
-
| :DAP
|
|
1319
|
-
| :DAQ
|
|
1320
|
-
| :DL
|
|
1321
|
-
| :EG
|
|
1322
|
-
| :EP
|
|
1323
|
-
| :ER
|
|
1324
|
-
| :FAA
|
|
1325
|
-
| :FAB
|
|
1326
|
-
| :FAC
|
|
1327
|
-
| :FC
|
|
1328
|
-
| :FH
|
|
1329
|
-
| :FI
|
|
1330
|
-
| :GAA
|
|
1331
|
-
| :HAA
|
|
1332
|
-
| :HD
|
|
1333
|
-
| :HH
|
|
1334
|
-
| :IAA
|
|
1335
|
-
| :IAB
|
|
1336
|
-
| :ID
|
|
1337
|
-
| :IF
|
|
1338
|
-
| :IR
|
|
1339
|
-
| :IS
|
|
1340
|
-
| :KO
|
|
1341
|
-
| :L1
|
|
1342
|
-
| :LA
|
|
1343
|
-
| :LAA
|
|
1344
|
-
| :LAB
|
|
1345
|
-
| :LF
|
|
1346
|
-
| :MAE
|
|
1347
|
-
| :MI
|
|
1348
|
-
| :ML
|
|
1349
|
-
| :NAA
|
|
1350
|
-
| :OA
|
|
1351
|
-
| :PA
|
|
1352
|
-
| :PAA
|
|
1353
|
-
| :PC
|
|
1354
|
-
| :PL
|
|
1355
|
-
| :PRV
|
|
1356
|
-
| :RAB
|
|
1357
|
-
| :RAC
|
|
1358
|
-
| :RAD
|
|
1359
|
-
| :RAF
|
|
1360
|
-
| :RE
|
|
1361
|
-
| :RF
|
|
1362
|
-
| :RH
|
|
1363
|
-
| :RV
|
|
1364
|
-
| :SA
|
|
1365
|
-
| :SAA
|
|
1366
|
-
| :SAD
|
|
1367
|
-
| :SAE
|
|
1368
|
-
| :SAI
|
|
1369
|
-
| :SG
|
|
1370
|
-
| :SH
|
|
1371
|
-
| :SM
|
|
1372
|
-
| :SU
|
|
1373
|
-
| :TAB
|
|
1374
|
-
| :TAC
|
|
1375
|
-
| :TT
|
|
1376
|
-
| :TV
|
|
1377
|
-
| :V1
|
|
1378
|
-
| :V2
|
|
1379
|
-
| :WH
|
|
1380
|
-
| :XAA
|
|
1381
|
-
| :YY
|
|
1382
|
-
| :ZZZ
|
|
1383
|
-
|
|
1384
|
-
module ReasonCode
|
|
1385
|
-
extend EInvoiceAPI::Internal::Type::Enum
|
|
1386
|
-
|
|
1387
|
-
AA: :AA
|
|
1388
|
-
AAA: :AAA
|
|
1389
|
-
AAC: :AAC
|
|
1390
|
-
AAD: :AAD
|
|
1391
|
-
AAE: :AAE
|
|
1392
|
-
AAF: :AAF
|
|
1393
|
-
AAH: :AAH
|
|
1394
|
-
AAI: :AAI
|
|
1395
|
-
AAS: :AAS
|
|
1396
|
-
AAT: :AAT
|
|
1397
|
-
AAV: :AAV
|
|
1398
|
-
AAY: :AAY
|
|
1399
|
-
AAZ: :AAZ
|
|
1400
|
-
ABA: :ABA
|
|
1401
|
-
ABB: :ABB
|
|
1402
|
-
ABC: :ABC
|
|
1403
|
-
ABD: :ABD
|
|
1404
|
-
ABF: :ABF
|
|
1405
|
-
ABK: :ABK
|
|
1406
|
-
ABL: :ABL
|
|
1407
|
-
ABN: :ABN
|
|
1408
|
-
ABR: :ABR
|
|
1409
|
-
ABS: :ABS
|
|
1410
|
-
ABT: :ABT
|
|
1411
|
-
ABU: :ABU
|
|
1412
|
-
ACF: :ACF
|
|
1413
|
-
ACG: :ACG
|
|
1414
|
-
ACH: :ACH
|
|
1415
|
-
ACI: :ACI
|
|
1416
|
-
ACJ: :ACJ
|
|
1417
|
-
ACK: :ACK
|
|
1418
|
-
ACL: :ACL
|
|
1419
|
-
ACM: :ACM
|
|
1420
|
-
ACS: :ACS
|
|
1421
|
-
ADC: :ADC
|
|
1422
|
-
ADE: :ADE
|
|
1423
|
-
ADJ: :ADJ
|
|
1424
|
-
ADK: :ADK
|
|
1425
|
-
ADL: :ADL
|
|
1426
|
-
ADM: :ADM
|
|
1427
|
-
ADN: :ADN
|
|
1428
|
-
ADO: :ADO
|
|
1429
|
-
ADP: :ADP
|
|
1430
|
-
ADQ: :ADQ
|
|
1431
|
-
ADR: :ADR
|
|
1432
|
-
ADT: :ADT
|
|
1433
|
-
ADW: :ADW
|
|
1434
|
-
ADY: :ADY
|
|
1435
|
-
ADZ: :ADZ
|
|
1436
|
-
AEA: :AEA
|
|
1437
|
-
AEB: :AEB
|
|
1438
|
-
AEC: :AEC
|
|
1439
|
-
AED: :AED
|
|
1440
|
-
AEF: :AEF
|
|
1441
|
-
AEH: :AEH
|
|
1442
|
-
AEI: :AEI
|
|
1443
|
-
AEJ: :AEJ
|
|
1444
|
-
AEK: :AEK
|
|
1445
|
-
AEL: :AEL
|
|
1446
|
-
AEM: :AEM
|
|
1447
|
-
AEN: :AEN
|
|
1448
|
-
AEO: :AEO
|
|
1449
|
-
AEP: :AEP
|
|
1450
|
-
AES: :AES
|
|
1451
|
-
AET: :AET
|
|
1452
|
-
AEU: :AEU
|
|
1453
|
-
AEV: :AEV
|
|
1454
|
-
AEW: :AEW
|
|
1455
|
-
AEX: :AEX
|
|
1456
|
-
AEY: :AEY
|
|
1457
|
-
AEZ: :AEZ
|
|
1458
|
-
AJ: :AJ
|
|
1459
|
-
AU: :AU
|
|
1460
|
-
CA: :CA
|
|
1461
|
-
CAB: :CAB
|
|
1462
|
-
CAD: :CAD
|
|
1463
|
-
CAE: :CAE
|
|
1464
|
-
CAF: :CAF
|
|
1465
|
-
CAI: :CAI
|
|
1466
|
-
CAJ: :CAJ
|
|
1467
|
-
CAK: :CAK
|
|
1468
|
-
CAL: :CAL
|
|
1469
|
-
CAM: :CAM
|
|
1470
|
-
CAN: :CAN
|
|
1471
|
-
CAO: :CAO
|
|
1472
|
-
CAP: :CAP
|
|
1473
|
-
CAQ: :CAQ
|
|
1474
|
-
CAR: :CAR
|
|
1475
|
-
CAS: :CAS
|
|
1476
|
-
CAT: :CAT
|
|
1477
|
-
CAU: :CAU
|
|
1478
|
-
CAV: :CAV
|
|
1479
|
-
CAW: :CAW
|
|
1480
|
-
CAX: :CAX
|
|
1481
|
-
CAY: :CAY
|
|
1482
|
-
CAZ: :CAZ
|
|
1483
|
-
CD: :CD
|
|
1484
|
-
CG: :CG
|
|
1485
|
-
CS: :CS
|
|
1486
|
-
CT: :CT
|
|
1487
|
-
DAB: :DAB
|
|
1488
|
-
DAC: :DAC
|
|
1489
|
-
DAD: :DAD
|
|
1490
|
-
DAF: :DAF
|
|
1491
|
-
DAG: :DAG
|
|
1492
|
-
DAH: :DAH
|
|
1493
|
-
DAI: :DAI
|
|
1494
|
-
DAJ: :DAJ
|
|
1495
|
-
DAK: :DAK
|
|
1496
|
-
DAL: :DAL
|
|
1497
|
-
DAM: :DAM
|
|
1498
|
-
DAN: :DAN
|
|
1499
|
-
DAO: :DAO
|
|
1500
|
-
DAP: :DAP
|
|
1501
|
-
DAQ: :DAQ
|
|
1502
|
-
DL: :DL
|
|
1503
|
-
EG: :EG
|
|
1504
|
-
EP: :EP
|
|
1505
|
-
ER: :ER
|
|
1506
|
-
FAA: :FAA
|
|
1507
|
-
FAB: :FAB
|
|
1508
|
-
FAC: :FAC
|
|
1509
|
-
FC: :FC
|
|
1510
|
-
FH: :FH
|
|
1511
|
-
FI: :FI
|
|
1512
|
-
GAA: :GAA
|
|
1513
|
-
HAA: :HAA
|
|
1514
|
-
HD: :HD
|
|
1515
|
-
HH: :HH
|
|
1516
|
-
IAA: :IAA
|
|
1517
|
-
IAB: :IAB
|
|
1518
|
-
ID: :ID
|
|
1519
|
-
IF: :IF
|
|
1520
|
-
IR: :IR
|
|
1521
|
-
IS: :IS
|
|
1522
|
-
KO: :KO
|
|
1523
|
-
L1: :L1
|
|
1524
|
-
LA: :LA
|
|
1525
|
-
LAA: :LAA
|
|
1526
|
-
LAB: :LAB
|
|
1527
|
-
LF: :LF
|
|
1528
|
-
MAE: :MAE
|
|
1529
|
-
MI: :MI
|
|
1530
|
-
ML: :ML
|
|
1531
|
-
NAA: :NAA
|
|
1532
|
-
OA: :OA
|
|
1533
|
-
PA: :PA
|
|
1534
|
-
PAA: :PAA
|
|
1535
|
-
PC: :PC
|
|
1536
|
-
PL: :PL
|
|
1537
|
-
PRV: :PRV
|
|
1538
|
-
RAB: :RAB
|
|
1539
|
-
RAC: :RAC
|
|
1540
|
-
RAD: :RAD
|
|
1541
|
-
RAF: :RAF
|
|
1542
|
-
RE: :RE
|
|
1543
|
-
RF: :RF
|
|
1544
|
-
RH: :RH
|
|
1545
|
-
RV: :RV
|
|
1546
|
-
SA: :SA
|
|
1547
|
-
SAA: :SAA
|
|
1548
|
-
SAD: :SAD
|
|
1549
|
-
SAE: :SAE
|
|
1550
|
-
SAI: :SAI
|
|
1551
|
-
SG: :SG
|
|
1552
|
-
SH: :SH
|
|
1553
|
-
SM: :SM
|
|
1554
|
-
SU: :SU
|
|
1555
|
-
TAB: :TAB
|
|
1556
|
-
TAC: :TAC
|
|
1557
|
-
TT: :TT
|
|
1558
|
-
TV: :TV
|
|
1559
|
-
V1: :V1
|
|
1560
|
-
V2: :V2
|
|
1561
|
-
WH: :WH
|
|
1562
|
-
XAA: :XAA
|
|
1563
|
-
YY: :YY
|
|
1564
|
-
ZZZ: :ZZZ
|
|
1565
|
-
|
|
1566
|
-
def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::Charge::reason_code]
|
|
1567
|
-
end
|
|
1568
|
-
|
|
1569
708
|
type tax_code = :AE | :E | :S | :Z | :G | :O | :K | :L | :M | :B
|
|
1570
709
|
|
|
1571
710
|
module TaxCode
|
|
@@ -1584,22 +723,6 @@ module EInvoiceAPI
|
|
|
1584
723
|
|
|
1585
724
|
def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::Charge::tax_code]
|
|
1586
725
|
end
|
|
1587
|
-
|
|
1588
|
-
type tax_rate = Float | String
|
|
1589
|
-
|
|
1590
|
-
module TaxRate
|
|
1591
|
-
extend EInvoiceAPI::Internal::Type::Union
|
|
1592
|
-
|
|
1593
|
-
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::Charge::tax_rate]
|
|
1594
|
-
end
|
|
1595
|
-
end
|
|
1596
|
-
|
|
1597
|
-
type price_base_quantity = Float | String
|
|
1598
|
-
|
|
1599
|
-
module PriceBaseQuantity
|
|
1600
|
-
extend EInvoiceAPI::Internal::Type::Union
|
|
1601
|
-
|
|
1602
|
-
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::price_base_quantity]
|
|
1603
726
|
end
|
|
1604
727
|
|
|
1605
728
|
type quantity = Float | String
|
|
@@ -1618,14 +741,6 @@ module EInvoiceAPI
|
|
|
1618
741
|
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::tax]
|
|
1619
742
|
end
|
|
1620
743
|
|
|
1621
|
-
type tax_rate = Float | String
|
|
1622
|
-
|
|
1623
|
-
module TaxRate
|
|
1624
|
-
extend EInvoiceAPI::Internal::Type::Union
|
|
1625
|
-
|
|
1626
|
-
def self?.variants: -> ::Array[EInvoiceAPI::Models::DocumentCreate::Item::tax_rate]
|
|
1627
|
-
end
|
|
1628
|
-
|
|
1629
744
|
type unit_price = Float | String
|
|
1630
745
|
|
|
1631
746
|
module UnitPrice
|