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.
@@ -294,7 +294,6 @@ module EInvoiceAPI
294
294
  charges: ::Array[EInvoiceAPI::Charge]?,
295
295
  date: nil,
296
296
  description: String?,
297
- price_base_quantity: String?,
298
297
  product_code: String?,
299
298
  quantity: String?,
300
299
  tax: String?,
@@ -314,8 +313,6 @@ module EInvoiceAPI
314
313
 
315
314
  attr_accessor description: String?
316
315
 
317
- attr_accessor price_base_quantity: String?
318
-
319
316
  attr_accessor product_code: String?
320
317
 
321
318
  attr_accessor quantity: String?
@@ -334,7 +331,6 @@ module EInvoiceAPI
334
331
  ?charges: ::Array[EInvoiceAPI::Charge]?,
335
332
  ?date: nil,
336
333
  ?description: String?,
337
- ?price_base_quantity: String?,
338
334
  ?product_code: String?,
339
335
  ?quantity: String?,
340
336
  ?tax: String?,
@@ -349,7 +345,6 @@ module EInvoiceAPI
349
345
  charges: ::Array[EInvoiceAPI::Charge]?,
350
346
  date: nil,
351
347
  description: String?,
352
- price_base_quantity: String?,
353
348
  product_code: String?,
354
349
  quantity: String?,
355
350
  tax: String?,
@@ -282,8 +282,8 @@ module EInvoiceAPI
282
282
  base_amount: String?,
283
283
  multiplier_factor: String?,
284
284
  reason: String?,
285
- reason_code: EInvoiceAPI::Models::DocumentResponse::Allowance::reason_code?,
286
- tax_code: EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code,
285
+ reason_code: String?,
286
+ tax_code: EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code?,
287
287
  tax_rate: String?
288
288
  }
289
289
 
@@ -296,13 +296,9 @@ module EInvoiceAPI
296
296
 
297
297
  attr_accessor reason: String?
298
298
 
299
- attr_accessor reason_code: EInvoiceAPI::Models::DocumentResponse::Allowance::reason_code?
299
+ attr_accessor reason_code: String?
300
300
 
301
- attr_reader tax_code: EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code?
302
-
303
- def tax_code=: (
304
- EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code
305
- ) -> EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code
301
+ attr_accessor tax_code: EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code?
306
302
 
307
303
  attr_accessor tax_rate: String?
308
304
 
@@ -311,8 +307,8 @@ module EInvoiceAPI
311
307
  ?base_amount: String?,
312
308
  ?multiplier_factor: String?,
313
309
  ?reason: String?,
314
- ?reason_code: EInvoiceAPI::Models::DocumentResponse::Allowance::reason_code?,
315
- ?tax_code: EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code,
310
+ ?reason_code: String?,
311
+ ?tax_code: EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code?,
316
312
  ?tax_rate: String?
317
313
  ) -> void
318
314
 
@@ -321,58 +317,11 @@ module EInvoiceAPI
321
317
  base_amount: String?,
322
318
  multiplier_factor: String?,
323
319
  reason: String?,
324
- reason_code: EInvoiceAPI::Models::DocumentResponse::Allowance::reason_code?,
325
- tax_code: EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code,
320
+ reason_code: String?,
321
+ tax_code: EInvoiceAPI::Models::DocumentResponse::Allowance::tax_code?,
326
322
  tax_rate: String?
327
323
  }
328
324
 
329
- type reason_code =
330
- :"41"
331
- | :"42"
332
- | :"60"
333
- | :"62"
334
- | :"63"
335
- | :"64"
336
- | :"65"
337
- | :"66"
338
- | :"67"
339
- | :"68"
340
- | :"70"
341
- | :"71"
342
- | :"88"
343
- | :"95"
344
- | :"100"
345
- | :"102"
346
- | :"103"
347
- | :"104"
348
- | :"105"
349
-
350
- module ReasonCode
351
- extend EInvoiceAPI::Internal::Type::Enum
352
-
353
- REASON_CODE_41: :"41"
354
- REASON_CODE_42: :"42"
355
- REASON_CODE_60: :"60"
356
- REASON_CODE_62: :"62"
357
- REASON_CODE_63: :"63"
358
- REASON_CODE_64: :"64"
359
- REASON_CODE_65: :"65"
360
- REASON_CODE_66: :"66"
361
- REASON_CODE_67: :"67"
362
- REASON_CODE_68: :"68"
363
- REASON_CODE_70: :"70"
364
- REASON_CODE_71: :"71"
365
- REASON_CODE_88: :"88"
366
- REASON_CODE_95: :"95"
367
- REASON_CODE_100: :"100"
368
- REASON_CODE_102: :"102"
369
- REASON_CODE_103: :"103"
370
- REASON_CODE_104: :"104"
371
- REASON_CODE_105: :"105"
372
-
373
- def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentResponse::Allowance::reason_code]
374
- end
375
-
376
325
  type tax_code = :AE | :E | :S | :Z | :G | :O | :K | :L | :M | :B
377
326
 
378
327
  module TaxCode
@@ -399,7 +348,7 @@ module EInvoiceAPI
399
348
  base_amount: String?,
400
349
  multiplier_factor: String?,
401
350
  reason: String?,
402
- reason_code: EInvoiceAPI::Models::DocumentResponse::Charge::reason_code?,
351
+ reason_code: String?,
403
352
  tax_code: EInvoiceAPI::Models::DocumentResponse::Charge::tax_code?,
404
353
  tax_rate: String?
405
354
  }
@@ -413,7 +362,7 @@ module EInvoiceAPI
413
362
 
414
363
  attr_accessor reason: String?
415
364
 
416
- attr_accessor reason_code: EInvoiceAPI::Models::DocumentResponse::Charge::reason_code?
365
+ attr_accessor reason_code: String?
417
366
 
418
367
  attr_accessor tax_code: EInvoiceAPI::Models::DocumentResponse::Charge::tax_code?
419
368
 
@@ -424,7 +373,7 @@ module EInvoiceAPI
424
373
  ?base_amount: String?,
425
374
  ?multiplier_factor: String?,
426
375
  ?reason: String?,
427
- ?reason_code: EInvoiceAPI::Models::DocumentResponse::Charge::reason_code?,
376
+ ?reason_code: String?,
428
377
  ?tax_code: EInvoiceAPI::Models::DocumentResponse::Charge::tax_code?,
429
378
  ?tax_rate: String?
430
379
  ) -> void
@@ -434,376 +383,11 @@ module EInvoiceAPI
434
383
  base_amount: String?,
435
384
  multiplier_factor: String?,
436
385
  reason: String?,
437
- reason_code: EInvoiceAPI::Models::DocumentResponse::Charge::reason_code?,
386
+ reason_code: String?,
438
387
  tax_code: EInvoiceAPI::Models::DocumentResponse::Charge::tax_code?,
439
388
  tax_rate: String?
440
389
  }
441
390
 
442
- type reason_code =
443
- :AA
444
- | :AAA
445
- | :AAC
446
- | :AAD
447
- | :AAE
448
- | :AAF
449
- | :AAH
450
- | :AAI
451
- | :AAS
452
- | :AAT
453
- | :AAV
454
- | :AAY
455
- | :AAZ
456
- | :ABA
457
- | :ABB
458
- | :ABC
459
- | :ABD
460
- | :ABF
461
- | :ABK
462
- | :ABL
463
- | :ABN
464
- | :ABR
465
- | :ABS
466
- | :ABT
467
- | :ABU
468
- | :ACF
469
- | :ACG
470
- | :ACH
471
- | :ACI
472
- | :ACJ
473
- | :ACK
474
- | :ACL
475
- | :ACM
476
- | :ACS
477
- | :ADC
478
- | :ADE
479
- | :ADJ
480
- | :ADK
481
- | :ADL
482
- | :ADM
483
- | :ADN
484
- | :ADO
485
- | :ADP
486
- | :ADQ
487
- | :ADR
488
- | :ADT
489
- | :ADW
490
- | :ADY
491
- | :ADZ
492
- | :AEA
493
- | :AEB
494
- | :AEC
495
- | :AED
496
- | :AEF
497
- | :AEH
498
- | :AEI
499
- | :AEJ
500
- | :AEK
501
- | :AEL
502
- | :AEM
503
- | :AEN
504
- | :AEO
505
- | :AEP
506
- | :AES
507
- | :AET
508
- | :AEU
509
- | :AEV
510
- | :AEW
511
- | :AEX
512
- | :AEY
513
- | :AEZ
514
- | :AJ
515
- | :AU
516
- | :CA
517
- | :CAB
518
- | :CAD
519
- | :CAE
520
- | :CAF
521
- | :CAI
522
- | :CAJ
523
- | :CAK
524
- | :CAL
525
- | :CAM
526
- | :CAN
527
- | :CAO
528
- | :CAP
529
- | :CAQ
530
- | :CAR
531
- | :CAS
532
- | :CAT
533
- | :CAU
534
- | :CAV
535
- | :CAW
536
- | :CAX
537
- | :CAY
538
- | :CAZ
539
- | :CD
540
- | :CG
541
- | :CS
542
- | :CT
543
- | :DAB
544
- | :DAC
545
- | :DAD
546
- | :DAF
547
- | :DAG
548
- | :DAH
549
- | :DAI
550
- | :DAJ
551
- | :DAK
552
- | :DAL
553
- | :DAM
554
- | :DAN
555
- | :DAO
556
- | :DAP
557
- | :DAQ
558
- | :DL
559
- | :EG
560
- | :EP
561
- | :ER
562
- | :FAA
563
- | :FAB
564
- | :FAC
565
- | :FC
566
- | :FH
567
- | :FI
568
- | :GAA
569
- | :HAA
570
- | :HD
571
- | :HH
572
- | :IAA
573
- | :IAB
574
- | :ID
575
- | :IF
576
- | :IR
577
- | :IS
578
- | :KO
579
- | :L1
580
- | :LA
581
- | :LAA
582
- | :LAB
583
- | :LF
584
- | :MAE
585
- | :MI
586
- | :ML
587
- | :NAA
588
- | :OA
589
- | :PA
590
- | :PAA
591
- | :PC
592
- | :PL
593
- | :PRV
594
- | :RAB
595
- | :RAC
596
- | :RAD
597
- | :RAF
598
- | :RE
599
- | :RF
600
- | :RH
601
- | :RV
602
- | :SA
603
- | :SAA
604
- | :SAD
605
- | :SAE
606
- | :SAI
607
- | :SG
608
- | :SH
609
- | :SM
610
- | :SU
611
- | :TAB
612
- | :TAC
613
- | :TT
614
- | :TV
615
- | :V1
616
- | :V2
617
- | :WH
618
- | :XAA
619
- | :YY
620
- | :ZZZ
621
-
622
- module ReasonCode
623
- extend EInvoiceAPI::Internal::Type::Enum
624
-
625
- AA: :AA
626
- AAA: :AAA
627
- AAC: :AAC
628
- AAD: :AAD
629
- AAE: :AAE
630
- AAF: :AAF
631
- AAH: :AAH
632
- AAI: :AAI
633
- AAS: :AAS
634
- AAT: :AAT
635
- AAV: :AAV
636
- AAY: :AAY
637
- AAZ: :AAZ
638
- ABA: :ABA
639
- ABB: :ABB
640
- ABC: :ABC
641
- ABD: :ABD
642
- ABF: :ABF
643
- ABK: :ABK
644
- ABL: :ABL
645
- ABN: :ABN
646
- ABR: :ABR
647
- ABS: :ABS
648
- ABT: :ABT
649
- ABU: :ABU
650
- ACF: :ACF
651
- ACG: :ACG
652
- ACH: :ACH
653
- ACI: :ACI
654
- ACJ: :ACJ
655
- ACK: :ACK
656
- ACL: :ACL
657
- ACM: :ACM
658
- ACS: :ACS
659
- ADC: :ADC
660
- ADE: :ADE
661
- ADJ: :ADJ
662
- ADK: :ADK
663
- ADL: :ADL
664
- ADM: :ADM
665
- ADN: :ADN
666
- ADO: :ADO
667
- ADP: :ADP
668
- ADQ: :ADQ
669
- ADR: :ADR
670
- ADT: :ADT
671
- ADW: :ADW
672
- ADY: :ADY
673
- ADZ: :ADZ
674
- AEA: :AEA
675
- AEB: :AEB
676
- AEC: :AEC
677
- AED: :AED
678
- AEF: :AEF
679
- AEH: :AEH
680
- AEI: :AEI
681
- AEJ: :AEJ
682
- AEK: :AEK
683
- AEL: :AEL
684
- AEM: :AEM
685
- AEN: :AEN
686
- AEO: :AEO
687
- AEP: :AEP
688
- AES: :AES
689
- AET: :AET
690
- AEU: :AEU
691
- AEV: :AEV
692
- AEW: :AEW
693
- AEX: :AEX
694
- AEY: :AEY
695
- AEZ: :AEZ
696
- AJ: :AJ
697
- AU: :AU
698
- CA: :CA
699
- CAB: :CAB
700
- CAD: :CAD
701
- CAE: :CAE
702
- CAF: :CAF
703
- CAI: :CAI
704
- CAJ: :CAJ
705
- CAK: :CAK
706
- CAL: :CAL
707
- CAM: :CAM
708
- CAN: :CAN
709
- CAO: :CAO
710
- CAP: :CAP
711
- CAQ: :CAQ
712
- CAR: :CAR
713
- CAS: :CAS
714
- CAT: :CAT
715
- CAU: :CAU
716
- CAV: :CAV
717
- CAW: :CAW
718
- CAX: :CAX
719
- CAY: :CAY
720
- CAZ: :CAZ
721
- CD: :CD
722
- CG: :CG
723
- CS: :CS
724
- CT: :CT
725
- DAB: :DAB
726
- DAC: :DAC
727
- DAD: :DAD
728
- DAF: :DAF
729
- DAG: :DAG
730
- DAH: :DAH
731
- DAI: :DAI
732
- DAJ: :DAJ
733
- DAK: :DAK
734
- DAL: :DAL
735
- DAM: :DAM
736
- DAN: :DAN
737
- DAO: :DAO
738
- DAP: :DAP
739
- DAQ: :DAQ
740
- DL: :DL
741
- EG: :EG
742
- EP: :EP
743
- ER: :ER
744
- FAA: :FAA
745
- FAB: :FAB
746
- FAC: :FAC
747
- FC: :FC
748
- FH: :FH
749
- FI: :FI
750
- GAA: :GAA
751
- HAA: :HAA
752
- HD: :HD
753
- HH: :HH
754
- IAA: :IAA
755
- IAB: :IAB
756
- ID: :ID
757
- IF: :IF
758
- IR: :IR
759
- IS: :IS
760
- KO: :KO
761
- L1: :L1
762
- LA: :LA
763
- LAA: :LAA
764
- LAB: :LAB
765
- LF: :LF
766
- MAE: :MAE
767
- MI: :MI
768
- ML: :ML
769
- NAA: :NAA
770
- OA: :OA
771
- PA: :PA
772
- PAA: :PAA
773
- PC: :PC
774
- PL: :PL
775
- PRV: :PRV
776
- RAB: :RAB
777
- RAC: :RAC
778
- RAD: :RAD
779
- RAF: :RAF
780
- RE: :RE
781
- RF: :RF
782
- RH: :RH
783
- RV: :RV
784
- SA: :SA
785
- SAA: :SAA
786
- SAD: :SAD
787
- SAE: :SAE
788
- SAI: :SAI
789
- SG: :SG
790
- SH: :SH
791
- SM: :SM
792
- SU: :SU
793
- TAB: :TAB
794
- TAC: :TAC
795
- TT: :TT
796
- TV: :TV
797
- V1: :V1
798
- V2: :V2
799
- WH: :WH
800
- XAA: :XAA
801
- YY: :YY
802
- ZZZ: :ZZZ
803
-
804
- def self?.values: -> ::Array[EInvoiceAPI::Models::DocumentResponse::Charge::reason_code]
805
- end
806
-
807
391
  type tax_code = :AE | :E | :S | :Z | :G | :O | :K | :L | :M | :B
808
392
 
809
393
  module TaxCode
@@ -831,7 +415,6 @@ module EInvoiceAPI
831
415
  charges: ::Array[EInvoiceAPI::Charge]?,
832
416
  date: nil,
833
417
  description: String?,
834
- price_base_quantity: String?,
835
418
  product_code: String?,
836
419
  quantity: String?,
837
420
  tax: String?,
@@ -851,8 +434,6 @@ module EInvoiceAPI
851
434
 
852
435
  attr_accessor description: String?
853
436
 
854
- attr_accessor price_base_quantity: String?
855
-
856
437
  attr_accessor product_code: String?
857
438
 
858
439
  attr_accessor quantity: String?
@@ -871,7 +452,6 @@ module EInvoiceAPI
871
452
  ?charges: ::Array[EInvoiceAPI::Charge]?,
872
453
  ?date: nil,
873
454
  ?description: String?,
874
- ?price_base_quantity: String?,
875
455
  ?product_code: String?,
876
456
  ?quantity: String?,
877
457
  ?tax: String?,
@@ -886,7 +466,6 @@ module EInvoiceAPI
886
466
  charges: ::Array[EInvoiceAPI::Charge]?,
887
467
  date: nil,
888
468
  description: String?,
889
- price_base_quantity: String?,
890
469
  product_code: String?,
891
470
  quantity: String?,
892
471
  tax: String?,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: e-invoice-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - e-invoice
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-14 00:00:00.000000000 Z
11
+ date: 2025-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool