e-invoice-api 0.13.0 → 0.14.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.
@@ -124,11 +124,6 @@ module EInvoiceAPI
124
124
  sig { returns(T.nilable(String)) }
125
125
  attr_accessor :payment_term
126
126
 
127
- # The previous unpaid balance from prior invoices, if any. Must be positive and
128
- # rounded to maximum 2 decimals
129
- sig { returns(T.nilable(String)) }
130
- attr_accessor :previous_unpaid_balance
131
-
132
127
  # The purchase order reference number
133
128
  sig { returns(T.nilable(String)) }
134
129
  attr_accessor :purchase_order
@@ -282,7 +277,6 @@ module EInvoiceAPI
282
277
  T::Array[EInvoiceAPI::DocumentResponse::PaymentDetail::OrHash]
283
278
  ),
284
279
  payment_term: T.nilable(String),
285
- previous_unpaid_balance: T.nilable(String),
286
280
  purchase_order: T.nilable(String),
287
281
  remittance_address: T.nilable(String),
288
282
  remittance_address_recipient: T.nilable(String),
@@ -359,9 +353,6 @@ module EInvoiceAPI
359
353
  payment_details: nil,
360
354
  # The payment terms (e.g., 'Net 30', 'Due on receipt', '2/10 Net 30')
361
355
  payment_term: nil,
362
- # The previous unpaid balance from prior invoices, if any. Must be positive and
363
- # rounded to maximum 2 decimals
364
- previous_unpaid_balance: nil,
365
356
  # The purchase order reference number
366
357
  purchase_order: nil,
367
358
  # The address where payment should be sent or remitted to
@@ -451,7 +442,6 @@ module EInvoiceAPI
451
442
  payment_details:
452
443
  T.nilable(T::Array[EInvoiceAPI::DocumentResponse::PaymentDetail]),
453
444
  payment_term: T.nilable(String),
454
- previous_unpaid_balance: T.nilable(String),
455
445
  purchase_order: T.nilable(String),
456
446
  remittance_address: T.nilable(String),
457
447
  remittance_address_recipient: T.nilable(String),
@@ -502,7 +492,8 @@ module EInvoiceAPI
502
492
  attr_accessor :base_amount
503
493
 
504
494
  # The percentage that may be used, in conjunction with the allowance base amount,
505
- # to calculate the allowance amount. To state 20%, use value 20
495
+ # to calculate the allowance amount. To state 20%, use value 20. Must be rounded
496
+ # to maximum 2 decimals
506
497
  sig { returns(T.nilable(String)) }
507
498
  attr_accessor :multiplier_factor
508
499
 
@@ -510,13 +501,17 @@ module EInvoiceAPI
510
501
  sig { returns(T.nilable(String)) }
511
502
  attr_accessor :reason
512
503
 
513
- # The code for the allowance reason
514
- sig { returns(T.nilable(String)) }
504
+ # Allowance reason codes for invoice discounts and charges
505
+ sig do
506
+ returns(
507
+ T.nilable(
508
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
509
+ )
510
+ )
511
+ end
515
512
  attr_accessor :reason_code
516
513
 
517
- # Duty or tax or fee category codes (Subset of UNCL5305)
518
- #
519
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
514
+ # The VAT category code that applies to the allowance
520
515
  sig do
521
516
  returns(
522
517
  T.nilable(
@@ -524,9 +519,18 @@ module EInvoiceAPI
524
519
  )
525
520
  )
526
521
  end
527
- attr_accessor :tax_code
522
+ attr_reader :tax_code
523
+
524
+ sig do
525
+ params(
526
+ tax_code:
527
+ EInvoiceAPI::DocumentResponse::Allowance::TaxCode::OrSymbol
528
+ ).void
529
+ end
530
+ attr_writer :tax_code
528
531
 
529
- # The VAT rate, represented as percentage that applies to the allowance
532
+ # The VAT rate, represented as percentage that applies to the allowance. Must be
533
+ # rounded to maximum 2 decimals
530
534
  sig { returns(T.nilable(String)) }
531
535
  attr_accessor :tax_rate
532
536
 
@@ -536,11 +540,12 @@ module EInvoiceAPI
536
540
  base_amount: T.nilable(String),
537
541
  multiplier_factor: T.nilable(String),
538
542
  reason: T.nilable(String),
539
- reason_code: T.nilable(String),
540
- tax_code:
543
+ reason_code:
541
544
  T.nilable(
542
- EInvoiceAPI::DocumentResponse::Allowance::TaxCode::OrSymbol
545
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::OrSymbol
543
546
  ),
547
+ tax_code:
548
+ EInvoiceAPI::DocumentResponse::Allowance::TaxCode::OrSymbol,
544
549
  tax_rate: T.nilable(String)
545
550
  ).returns(T.attached_class)
546
551
  end
@@ -551,17 +556,17 @@ module EInvoiceAPI
551
556
  # to calculate the allowance amount. Must be rounded to maximum 2 decimals
552
557
  base_amount: nil,
553
558
  # The percentage that may be used, in conjunction with the allowance base amount,
554
- # to calculate the allowance amount. To state 20%, use value 20
559
+ # to calculate the allowance amount. To state 20%, use value 20. Must be rounded
560
+ # to maximum 2 decimals
555
561
  multiplier_factor: nil,
556
562
  # The reason for the allowance
557
563
  reason: nil,
558
- # The code for the allowance reason
564
+ # Allowance reason codes for invoice discounts and charges
559
565
  reason_code: nil,
560
- # Duty or tax or fee category codes (Subset of UNCL5305)
561
- #
562
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
566
+ # The VAT category code that applies to the allowance
563
567
  tax_code: nil,
564
- # The VAT rate, represented as percentage that applies to the allowance
568
+ # The VAT rate, represented as percentage that applies to the allowance. Must be
569
+ # rounded to maximum 2 decimals
565
570
  tax_rate: nil
566
571
  )
567
572
  end
@@ -573,11 +578,12 @@ module EInvoiceAPI
573
578
  base_amount: T.nilable(String),
574
579
  multiplier_factor: T.nilable(String),
575
580
  reason: T.nilable(String),
576
- reason_code: T.nilable(String),
577
- tax_code:
581
+ reason_code:
578
582
  T.nilable(
579
- EInvoiceAPI::DocumentResponse::Allowance::TaxCode::TaggedSymbol
583
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
580
584
  ),
585
+ tax_code:
586
+ EInvoiceAPI::DocumentResponse::Allowance::TaxCode::TaggedSymbol,
581
587
  tax_rate: T.nilable(String)
582
588
  }
583
589
  )
@@ -585,9 +591,127 @@ module EInvoiceAPI
585
591
  def to_hash
586
592
  end
587
593
 
588
- # Duty or tax or fee category codes (Subset of UNCL5305)
589
- #
590
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
594
+ # Allowance reason codes for invoice discounts and charges
595
+ module ReasonCode
596
+ extend EInvoiceAPI::Internal::Type::Enum
597
+
598
+ TaggedSymbol =
599
+ T.type_alias do
600
+ T.all(
601
+ Symbol,
602
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode
603
+ )
604
+ end
605
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
606
+
607
+ REASON_CODE_41 =
608
+ T.let(
609
+ :"41",
610
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
611
+ )
612
+ REASON_CODE_42 =
613
+ T.let(
614
+ :"42",
615
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
616
+ )
617
+ REASON_CODE_60 =
618
+ T.let(
619
+ :"60",
620
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
621
+ )
622
+ REASON_CODE_62 =
623
+ T.let(
624
+ :"62",
625
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
626
+ )
627
+ REASON_CODE_63 =
628
+ T.let(
629
+ :"63",
630
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
631
+ )
632
+ REASON_CODE_64 =
633
+ T.let(
634
+ :"64",
635
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
636
+ )
637
+ REASON_CODE_65 =
638
+ T.let(
639
+ :"65",
640
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
641
+ )
642
+ REASON_CODE_66 =
643
+ T.let(
644
+ :"66",
645
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
646
+ )
647
+ REASON_CODE_67 =
648
+ T.let(
649
+ :"67",
650
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
651
+ )
652
+ REASON_CODE_68 =
653
+ T.let(
654
+ :"68",
655
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
656
+ )
657
+ REASON_CODE_70 =
658
+ T.let(
659
+ :"70",
660
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
661
+ )
662
+ REASON_CODE_71 =
663
+ T.let(
664
+ :"71",
665
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
666
+ )
667
+ REASON_CODE_88 =
668
+ T.let(
669
+ :"88",
670
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
671
+ )
672
+ REASON_CODE_95 =
673
+ T.let(
674
+ :"95",
675
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
676
+ )
677
+ REASON_CODE_100 =
678
+ T.let(
679
+ :"100",
680
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
681
+ )
682
+ REASON_CODE_102 =
683
+ T.let(
684
+ :"102",
685
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
686
+ )
687
+ REASON_CODE_103 =
688
+ T.let(
689
+ :"103",
690
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
691
+ )
692
+ REASON_CODE_104 =
693
+ T.let(
694
+ :"104",
695
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
696
+ )
697
+ REASON_CODE_105 =
698
+ T.let(
699
+ :"105",
700
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
701
+ )
702
+
703
+ sig do
704
+ override.returns(
705
+ T::Array[
706
+ EInvoiceAPI::DocumentResponse::Allowance::ReasonCode::TaggedSymbol
707
+ ]
708
+ )
709
+ end
710
+ def self.values
711
+ end
712
+ end
713
+
714
+ # The VAT category code that applies to the allowance
591
715
  module TaxCode
592
716
  extend EInvoiceAPI::Internal::Type::Enum
593
717
 
@@ -687,8 +811,14 @@ module EInvoiceAPI
687
811
  sig { returns(T.nilable(String)) }
688
812
  attr_accessor :reason
689
813
 
690
- # The code for the charge reason
691
- sig { returns(T.nilable(String)) }
814
+ # Charge reason codes for invoice charges and fees
815
+ sig do
816
+ returns(
817
+ T.nilable(
818
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
819
+ )
820
+ )
821
+ end
692
822
  attr_accessor :reason_code
693
823
 
694
824
  # Duty or tax or fee category codes (Subset of UNCL5305)
@@ -713,7 +843,10 @@ module EInvoiceAPI
713
843
  base_amount: T.nilable(String),
714
844
  multiplier_factor: T.nilable(String),
715
845
  reason: T.nilable(String),
716
- reason_code: T.nilable(String),
846
+ reason_code:
847
+ T.nilable(
848
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::OrSymbol
849
+ ),
717
850
  tax_code:
718
851
  T.nilable(
719
852
  EInvoiceAPI::DocumentResponse::Charge::TaxCode::OrSymbol
@@ -732,7 +865,7 @@ module EInvoiceAPI
732
865
  multiplier_factor: nil,
733
866
  # The reason for the charge
734
867
  reason: nil,
735
- # The code for the charge reason
868
+ # Charge reason codes for invoice charges and fees
736
869
  reason_code: nil,
737
870
  # Duty or tax or fee category codes (Subset of UNCL5305)
738
871
  #
@@ -750,7 +883,10 @@ module EInvoiceAPI
750
883
  base_amount: T.nilable(String),
751
884
  multiplier_factor: T.nilable(String),
752
885
  reason: T.nilable(String),
753
- reason_code: T.nilable(String),
886
+ reason_code:
887
+ T.nilable(
888
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
889
+ ),
754
890
  tax_code:
755
891
  T.nilable(
756
892
  EInvoiceAPI::DocumentResponse::Charge::TaxCode::TaggedSymbol
@@ -762,6 +898,918 @@ module EInvoiceAPI
762
898
  def to_hash
763
899
  end
764
900
 
901
+ # Charge reason codes for invoice charges and fees
902
+ module ReasonCode
903
+ extend EInvoiceAPI::Internal::Type::Enum
904
+
905
+ TaggedSymbol =
906
+ T.type_alias do
907
+ T.all(Symbol, EInvoiceAPI::DocumentResponse::Charge::ReasonCode)
908
+ end
909
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
910
+
911
+ AA =
912
+ T.let(
913
+ :AA,
914
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
915
+ )
916
+ AAA =
917
+ T.let(
918
+ :AAA,
919
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
920
+ )
921
+ AAC =
922
+ T.let(
923
+ :AAC,
924
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
925
+ )
926
+ AAD =
927
+ T.let(
928
+ :AAD,
929
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
930
+ )
931
+ AAE =
932
+ T.let(
933
+ :AAE,
934
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
935
+ )
936
+ AAF =
937
+ T.let(
938
+ :AAF,
939
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
940
+ )
941
+ AAH =
942
+ T.let(
943
+ :AAH,
944
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
945
+ )
946
+ AAI =
947
+ T.let(
948
+ :AAI,
949
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
950
+ )
951
+ AAS =
952
+ T.let(
953
+ :AAS,
954
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
955
+ )
956
+ AAT =
957
+ T.let(
958
+ :AAT,
959
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
960
+ )
961
+ AAV =
962
+ T.let(
963
+ :AAV,
964
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
965
+ )
966
+ AAY =
967
+ T.let(
968
+ :AAY,
969
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
970
+ )
971
+ AAZ =
972
+ T.let(
973
+ :AAZ,
974
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
975
+ )
976
+ ABA =
977
+ T.let(
978
+ :ABA,
979
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
980
+ )
981
+ ABB =
982
+ T.let(
983
+ :ABB,
984
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
985
+ )
986
+ ABC =
987
+ T.let(
988
+ :ABC,
989
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
990
+ )
991
+ ABD =
992
+ T.let(
993
+ :ABD,
994
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
995
+ )
996
+ ABF =
997
+ T.let(
998
+ :ABF,
999
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1000
+ )
1001
+ ABK =
1002
+ T.let(
1003
+ :ABK,
1004
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1005
+ )
1006
+ ABL =
1007
+ T.let(
1008
+ :ABL,
1009
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1010
+ )
1011
+ ABN =
1012
+ T.let(
1013
+ :ABN,
1014
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1015
+ )
1016
+ ABR =
1017
+ T.let(
1018
+ :ABR,
1019
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1020
+ )
1021
+ ABS =
1022
+ T.let(
1023
+ :ABS,
1024
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1025
+ )
1026
+ ABT =
1027
+ T.let(
1028
+ :ABT,
1029
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1030
+ )
1031
+ ABU =
1032
+ T.let(
1033
+ :ABU,
1034
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1035
+ )
1036
+ ACF =
1037
+ T.let(
1038
+ :ACF,
1039
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1040
+ )
1041
+ ACG =
1042
+ T.let(
1043
+ :ACG,
1044
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1045
+ )
1046
+ ACH =
1047
+ T.let(
1048
+ :ACH,
1049
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1050
+ )
1051
+ ACI =
1052
+ T.let(
1053
+ :ACI,
1054
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1055
+ )
1056
+ ACJ =
1057
+ T.let(
1058
+ :ACJ,
1059
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1060
+ )
1061
+ ACK =
1062
+ T.let(
1063
+ :ACK,
1064
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1065
+ )
1066
+ ACL =
1067
+ T.let(
1068
+ :ACL,
1069
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1070
+ )
1071
+ ACM =
1072
+ T.let(
1073
+ :ACM,
1074
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1075
+ )
1076
+ ACS =
1077
+ T.let(
1078
+ :ACS,
1079
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1080
+ )
1081
+ ADC =
1082
+ T.let(
1083
+ :ADC,
1084
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1085
+ )
1086
+ ADE =
1087
+ T.let(
1088
+ :ADE,
1089
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1090
+ )
1091
+ ADJ =
1092
+ T.let(
1093
+ :ADJ,
1094
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1095
+ )
1096
+ ADK =
1097
+ T.let(
1098
+ :ADK,
1099
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1100
+ )
1101
+ ADL =
1102
+ T.let(
1103
+ :ADL,
1104
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1105
+ )
1106
+ ADM =
1107
+ T.let(
1108
+ :ADM,
1109
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1110
+ )
1111
+ ADN =
1112
+ T.let(
1113
+ :ADN,
1114
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1115
+ )
1116
+ ADO =
1117
+ T.let(
1118
+ :ADO,
1119
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1120
+ )
1121
+ ADP =
1122
+ T.let(
1123
+ :ADP,
1124
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1125
+ )
1126
+ ADQ =
1127
+ T.let(
1128
+ :ADQ,
1129
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1130
+ )
1131
+ ADR =
1132
+ T.let(
1133
+ :ADR,
1134
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1135
+ )
1136
+ ADT =
1137
+ T.let(
1138
+ :ADT,
1139
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1140
+ )
1141
+ ADW =
1142
+ T.let(
1143
+ :ADW,
1144
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1145
+ )
1146
+ ADY =
1147
+ T.let(
1148
+ :ADY,
1149
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1150
+ )
1151
+ ADZ =
1152
+ T.let(
1153
+ :ADZ,
1154
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1155
+ )
1156
+ AEA =
1157
+ T.let(
1158
+ :AEA,
1159
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1160
+ )
1161
+ AEB =
1162
+ T.let(
1163
+ :AEB,
1164
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1165
+ )
1166
+ AEC =
1167
+ T.let(
1168
+ :AEC,
1169
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1170
+ )
1171
+ AED =
1172
+ T.let(
1173
+ :AED,
1174
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1175
+ )
1176
+ AEF =
1177
+ T.let(
1178
+ :AEF,
1179
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1180
+ )
1181
+ AEH =
1182
+ T.let(
1183
+ :AEH,
1184
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1185
+ )
1186
+ AEI =
1187
+ T.let(
1188
+ :AEI,
1189
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1190
+ )
1191
+ AEJ =
1192
+ T.let(
1193
+ :AEJ,
1194
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1195
+ )
1196
+ AEK =
1197
+ T.let(
1198
+ :AEK,
1199
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1200
+ )
1201
+ AEL =
1202
+ T.let(
1203
+ :AEL,
1204
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1205
+ )
1206
+ AEM =
1207
+ T.let(
1208
+ :AEM,
1209
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1210
+ )
1211
+ AEN =
1212
+ T.let(
1213
+ :AEN,
1214
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1215
+ )
1216
+ AEO =
1217
+ T.let(
1218
+ :AEO,
1219
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1220
+ )
1221
+ AEP =
1222
+ T.let(
1223
+ :AEP,
1224
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1225
+ )
1226
+ AES =
1227
+ T.let(
1228
+ :AES,
1229
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1230
+ )
1231
+ AET =
1232
+ T.let(
1233
+ :AET,
1234
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1235
+ )
1236
+ AEU =
1237
+ T.let(
1238
+ :AEU,
1239
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1240
+ )
1241
+ AEV =
1242
+ T.let(
1243
+ :AEV,
1244
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1245
+ )
1246
+ AEW =
1247
+ T.let(
1248
+ :AEW,
1249
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1250
+ )
1251
+ AEX =
1252
+ T.let(
1253
+ :AEX,
1254
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1255
+ )
1256
+ AEY =
1257
+ T.let(
1258
+ :AEY,
1259
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1260
+ )
1261
+ AEZ =
1262
+ T.let(
1263
+ :AEZ,
1264
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1265
+ )
1266
+ AJ =
1267
+ T.let(
1268
+ :AJ,
1269
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1270
+ )
1271
+ AU =
1272
+ T.let(
1273
+ :AU,
1274
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1275
+ )
1276
+ CA =
1277
+ T.let(
1278
+ :CA,
1279
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1280
+ )
1281
+ CAB =
1282
+ T.let(
1283
+ :CAB,
1284
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1285
+ )
1286
+ CAD =
1287
+ T.let(
1288
+ :CAD,
1289
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1290
+ )
1291
+ CAE =
1292
+ T.let(
1293
+ :CAE,
1294
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1295
+ )
1296
+ CAF =
1297
+ T.let(
1298
+ :CAF,
1299
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1300
+ )
1301
+ CAI =
1302
+ T.let(
1303
+ :CAI,
1304
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1305
+ )
1306
+ CAJ =
1307
+ T.let(
1308
+ :CAJ,
1309
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1310
+ )
1311
+ CAK =
1312
+ T.let(
1313
+ :CAK,
1314
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1315
+ )
1316
+ CAL =
1317
+ T.let(
1318
+ :CAL,
1319
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1320
+ )
1321
+ CAM =
1322
+ T.let(
1323
+ :CAM,
1324
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1325
+ )
1326
+ CAN =
1327
+ T.let(
1328
+ :CAN,
1329
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1330
+ )
1331
+ CAO =
1332
+ T.let(
1333
+ :CAO,
1334
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1335
+ )
1336
+ CAP =
1337
+ T.let(
1338
+ :CAP,
1339
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1340
+ )
1341
+ CAQ =
1342
+ T.let(
1343
+ :CAQ,
1344
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1345
+ )
1346
+ CAR =
1347
+ T.let(
1348
+ :CAR,
1349
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1350
+ )
1351
+ CAS =
1352
+ T.let(
1353
+ :CAS,
1354
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1355
+ )
1356
+ CAT =
1357
+ T.let(
1358
+ :CAT,
1359
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1360
+ )
1361
+ CAU =
1362
+ T.let(
1363
+ :CAU,
1364
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1365
+ )
1366
+ CAV =
1367
+ T.let(
1368
+ :CAV,
1369
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1370
+ )
1371
+ CAW =
1372
+ T.let(
1373
+ :CAW,
1374
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1375
+ )
1376
+ CAX =
1377
+ T.let(
1378
+ :CAX,
1379
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1380
+ )
1381
+ CAY =
1382
+ T.let(
1383
+ :CAY,
1384
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1385
+ )
1386
+ CAZ =
1387
+ T.let(
1388
+ :CAZ,
1389
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1390
+ )
1391
+ CD =
1392
+ T.let(
1393
+ :CD,
1394
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1395
+ )
1396
+ CG =
1397
+ T.let(
1398
+ :CG,
1399
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1400
+ )
1401
+ CS =
1402
+ T.let(
1403
+ :CS,
1404
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1405
+ )
1406
+ CT =
1407
+ T.let(
1408
+ :CT,
1409
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1410
+ )
1411
+ DAB =
1412
+ T.let(
1413
+ :DAB,
1414
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1415
+ )
1416
+ DAC =
1417
+ T.let(
1418
+ :DAC,
1419
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1420
+ )
1421
+ DAD =
1422
+ T.let(
1423
+ :DAD,
1424
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1425
+ )
1426
+ DAF =
1427
+ T.let(
1428
+ :DAF,
1429
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1430
+ )
1431
+ DAG =
1432
+ T.let(
1433
+ :DAG,
1434
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1435
+ )
1436
+ DAH =
1437
+ T.let(
1438
+ :DAH,
1439
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1440
+ )
1441
+ DAI =
1442
+ T.let(
1443
+ :DAI,
1444
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1445
+ )
1446
+ DAJ =
1447
+ T.let(
1448
+ :DAJ,
1449
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1450
+ )
1451
+ DAK =
1452
+ T.let(
1453
+ :DAK,
1454
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1455
+ )
1456
+ DAL =
1457
+ T.let(
1458
+ :DAL,
1459
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1460
+ )
1461
+ DAM =
1462
+ T.let(
1463
+ :DAM,
1464
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1465
+ )
1466
+ DAN =
1467
+ T.let(
1468
+ :DAN,
1469
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1470
+ )
1471
+ DAO =
1472
+ T.let(
1473
+ :DAO,
1474
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1475
+ )
1476
+ DAP =
1477
+ T.let(
1478
+ :DAP,
1479
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1480
+ )
1481
+ DAQ =
1482
+ T.let(
1483
+ :DAQ,
1484
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1485
+ )
1486
+ DL =
1487
+ T.let(
1488
+ :DL,
1489
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1490
+ )
1491
+ EG =
1492
+ T.let(
1493
+ :EG,
1494
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1495
+ )
1496
+ EP =
1497
+ T.let(
1498
+ :EP,
1499
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1500
+ )
1501
+ ER =
1502
+ T.let(
1503
+ :ER,
1504
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1505
+ )
1506
+ FAA =
1507
+ T.let(
1508
+ :FAA,
1509
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1510
+ )
1511
+ FAB =
1512
+ T.let(
1513
+ :FAB,
1514
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1515
+ )
1516
+ FAC =
1517
+ T.let(
1518
+ :FAC,
1519
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1520
+ )
1521
+ FC =
1522
+ T.let(
1523
+ :FC,
1524
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1525
+ )
1526
+ FH =
1527
+ T.let(
1528
+ :FH,
1529
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1530
+ )
1531
+ FI =
1532
+ T.let(
1533
+ :FI,
1534
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1535
+ )
1536
+ GAA =
1537
+ T.let(
1538
+ :GAA,
1539
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1540
+ )
1541
+ HAA =
1542
+ T.let(
1543
+ :HAA,
1544
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1545
+ )
1546
+ HD =
1547
+ T.let(
1548
+ :HD,
1549
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1550
+ )
1551
+ HH =
1552
+ T.let(
1553
+ :HH,
1554
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1555
+ )
1556
+ IAA =
1557
+ T.let(
1558
+ :IAA,
1559
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1560
+ )
1561
+ IAB =
1562
+ T.let(
1563
+ :IAB,
1564
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1565
+ )
1566
+ ID =
1567
+ T.let(
1568
+ :ID,
1569
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1570
+ )
1571
+ IF =
1572
+ T.let(
1573
+ :IF,
1574
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1575
+ )
1576
+ IR =
1577
+ T.let(
1578
+ :IR,
1579
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1580
+ )
1581
+ IS =
1582
+ T.let(
1583
+ :IS,
1584
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1585
+ )
1586
+ KO =
1587
+ T.let(
1588
+ :KO,
1589
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1590
+ )
1591
+ L1 =
1592
+ T.let(
1593
+ :L1,
1594
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1595
+ )
1596
+ LA =
1597
+ T.let(
1598
+ :LA,
1599
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1600
+ )
1601
+ LAA =
1602
+ T.let(
1603
+ :LAA,
1604
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1605
+ )
1606
+ LAB =
1607
+ T.let(
1608
+ :LAB,
1609
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1610
+ )
1611
+ LF =
1612
+ T.let(
1613
+ :LF,
1614
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1615
+ )
1616
+ MAE =
1617
+ T.let(
1618
+ :MAE,
1619
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1620
+ )
1621
+ MI =
1622
+ T.let(
1623
+ :MI,
1624
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1625
+ )
1626
+ ML =
1627
+ T.let(
1628
+ :ML,
1629
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1630
+ )
1631
+ NAA =
1632
+ T.let(
1633
+ :NAA,
1634
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1635
+ )
1636
+ OA =
1637
+ T.let(
1638
+ :OA,
1639
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1640
+ )
1641
+ PA =
1642
+ T.let(
1643
+ :PA,
1644
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1645
+ )
1646
+ PAA =
1647
+ T.let(
1648
+ :PAA,
1649
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1650
+ )
1651
+ PC =
1652
+ T.let(
1653
+ :PC,
1654
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1655
+ )
1656
+ PL =
1657
+ T.let(
1658
+ :PL,
1659
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1660
+ )
1661
+ PRV =
1662
+ T.let(
1663
+ :PRV,
1664
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1665
+ )
1666
+ RAB =
1667
+ T.let(
1668
+ :RAB,
1669
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1670
+ )
1671
+ RAC =
1672
+ T.let(
1673
+ :RAC,
1674
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1675
+ )
1676
+ RAD =
1677
+ T.let(
1678
+ :RAD,
1679
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1680
+ )
1681
+ RAF =
1682
+ T.let(
1683
+ :RAF,
1684
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1685
+ )
1686
+ RE =
1687
+ T.let(
1688
+ :RE,
1689
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1690
+ )
1691
+ RF =
1692
+ T.let(
1693
+ :RF,
1694
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1695
+ )
1696
+ RH =
1697
+ T.let(
1698
+ :RH,
1699
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1700
+ )
1701
+ RV =
1702
+ T.let(
1703
+ :RV,
1704
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1705
+ )
1706
+ SA =
1707
+ T.let(
1708
+ :SA,
1709
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1710
+ )
1711
+ SAA =
1712
+ T.let(
1713
+ :SAA,
1714
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1715
+ )
1716
+ SAD =
1717
+ T.let(
1718
+ :SAD,
1719
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1720
+ )
1721
+ SAE =
1722
+ T.let(
1723
+ :SAE,
1724
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1725
+ )
1726
+ SAI =
1727
+ T.let(
1728
+ :SAI,
1729
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1730
+ )
1731
+ SG =
1732
+ T.let(
1733
+ :SG,
1734
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1735
+ )
1736
+ SH =
1737
+ T.let(
1738
+ :SH,
1739
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1740
+ )
1741
+ SM =
1742
+ T.let(
1743
+ :SM,
1744
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1745
+ )
1746
+ SU =
1747
+ T.let(
1748
+ :SU,
1749
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1750
+ )
1751
+ TAB =
1752
+ T.let(
1753
+ :TAB,
1754
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1755
+ )
1756
+ TAC =
1757
+ T.let(
1758
+ :TAC,
1759
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1760
+ )
1761
+ TT =
1762
+ T.let(
1763
+ :TT,
1764
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1765
+ )
1766
+ TV =
1767
+ T.let(
1768
+ :TV,
1769
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1770
+ )
1771
+ V1 =
1772
+ T.let(
1773
+ :V1,
1774
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1775
+ )
1776
+ V2 =
1777
+ T.let(
1778
+ :V2,
1779
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1780
+ )
1781
+ WH =
1782
+ T.let(
1783
+ :WH,
1784
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1785
+ )
1786
+ XAA =
1787
+ T.let(
1788
+ :XAA,
1789
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1790
+ )
1791
+ YY =
1792
+ T.let(
1793
+ :YY,
1794
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1795
+ )
1796
+ ZZZ =
1797
+ T.let(
1798
+ :ZZZ,
1799
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1800
+ )
1801
+
1802
+ sig do
1803
+ override.returns(
1804
+ T::Array[
1805
+ EInvoiceAPI::DocumentResponse::Charge::ReasonCode::TaggedSymbol
1806
+ ]
1807
+ )
1808
+ end
1809
+ def self.values
1810
+ end
1811
+ end
1812
+
765
1813
  # Duty or tax or fee category codes (Subset of UNCL5305)
766
1814
  #
767
1815
  # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
@@ -850,9 +1898,10 @@ module EInvoiceAPI
850
1898
  sig { returns(T.nilable(T::Array[EInvoiceAPI::Allowance])) }
851
1899
  attr_accessor :allowances
852
1900
 
853
- # The total amount of the line item, exclusive of VAT, after subtracting line
854
- # level allowances and adding line level charges. Must be rounded to maximum 2
855
- # decimals
1901
+ # The invoice line net amount (BT-131), exclusive of VAT, inclusive of line level
1902
+ # allowances and charges. Calculated as: ((unit_price / price_base_quantity) \*
1903
+ # quantity) - allowances + charges. Must be rounded to maximum 2 decimals. Can be
1904
+ # negative for credit notes or corrections.
856
1905
  sig { returns(T.nilable(String)) }
857
1906
  attr_accessor :amount
858
1907
 
@@ -872,11 +1921,13 @@ module EInvoiceAPI
872
1921
  attr_accessor :product_code
873
1922
 
874
1923
  # The quantity of items (goods or services) that is the subject of the line item.
875
- # Must be rounded to maximum 4 decimals
1924
+ # Must be rounded to maximum 4 decimals. Can be negative for credit notes or
1925
+ # corrections.
876
1926
  sig { returns(T.nilable(String)) }
877
1927
  attr_accessor :quantity
878
1928
 
879
- # The total VAT amount for the line item. Must be rounded to maximum 2 decimals
1929
+ # The total VAT amount for the line item. Must be rounded to maximum 2 decimals.
1930
+ # Can be negative for credit notes or corrections.
880
1931
  sig { returns(T.nilable(String)) }
881
1932
  attr_accessor :tax
882
1933
 
@@ -888,7 +1939,8 @@ module EInvoiceAPI
888
1939
  sig { returns(T.nilable(EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)) }
889
1940
  attr_accessor :unit
890
1941
 
891
- # The unit price of the line item. Must be rounded to maximum 2 decimals
1942
+ # The item net price (BT-146). The price of an item, exclusive of VAT, after
1943
+ # subtracting item price discount. Must be rounded to maximum 4 decimals
892
1944
  sig { returns(T.nilable(String)) }
893
1945
  attr_accessor :unit_price
894
1946
 
@@ -910,9 +1962,10 @@ module EInvoiceAPI
910
1962
  def self.new(
911
1963
  # The allowances of the line item.
912
1964
  allowances: nil,
913
- # The total amount of the line item, exclusive of VAT, after subtracting line
914
- # level allowances and adding line level charges. Must be rounded to maximum 2
915
- # decimals
1965
+ # The invoice line net amount (BT-131), exclusive of VAT, inclusive of line level
1966
+ # allowances and charges. Calculated as: ((unit_price / price_base_quantity) \*
1967
+ # quantity) - allowances + charges. Must be rounded to maximum 2 decimals. Can be
1968
+ # negative for credit notes or corrections.
916
1969
  amount: nil,
917
1970
  # The charges of the line item.
918
1971
  charges: nil,
@@ -922,15 +1975,18 @@ module EInvoiceAPI
922
1975
  # The product code of the line item.
923
1976
  product_code: nil,
924
1977
  # The quantity of items (goods or services) that is the subject of the line item.
925
- # Must be rounded to maximum 4 decimals
1978
+ # Must be rounded to maximum 4 decimals. Can be negative for credit notes or
1979
+ # corrections.
926
1980
  quantity: nil,
927
- # The total VAT amount for the line item. Must be rounded to maximum 2 decimals
1981
+ # The total VAT amount for the line item. Must be rounded to maximum 2 decimals.
1982
+ # Can be negative for credit notes or corrections.
928
1983
  tax: nil,
929
1984
  # The VAT rate of the line item expressed as percentage with 2 decimals
930
1985
  tax_rate: nil,
931
1986
  # Unit of Measure Codes from UNECERec20 used in Peppol BIS Billing 3.0.
932
1987
  unit: nil,
933
- # The unit price of the line item. Must be rounded to maximum 2 decimals
1988
+ # The item net price (BT-146). The price of an item, exclusive of VAT, after
1989
+ # subtracting item price discount. Must be rounded to maximum 4 decimals
934
1990
  unit_price: nil
935
1991
  )
936
1992
  end