e-invoice-api 0.13.0 → 0.15.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.
@@ -523,7 +523,8 @@ module EInvoiceAPI
523
523
  attr_accessor :base_amount
524
524
 
525
525
  # The percentage that may be used, in conjunction with the allowance base amount,
526
- # to calculate the allowance amount. To state 20%, use value 20
526
+ # to calculate the allowance amount. To state 20%, use value 20. Must be rounded
527
+ # to maximum 2 decimals
527
528
  sig do
528
529
  returns(
529
530
  T.nilable(
@@ -537,22 +538,38 @@ module EInvoiceAPI
537
538
  sig { returns(T.nilable(String)) }
538
539
  attr_accessor :reason
539
540
 
540
- # The code for the allowance reason
541
- sig { returns(T.nilable(String)) }
541
+ # Allowance reason codes for invoice discounts and charges
542
+ sig do
543
+ returns(
544
+ T.nilable(
545
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::OrSymbol
546
+ )
547
+ )
548
+ end
542
549
  attr_accessor :reason_code
543
550
 
544
- # Duty or tax or fee category codes (Subset of UNCL5305)
545
- #
546
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
551
+ # The VAT category code that applies to the allowance
547
552
  sig do
548
553
  returns(
549
554
  T.nilable(EInvoiceAPI::DocumentCreate::Allowance::TaxCode::OrSymbol)
550
555
  )
551
556
  end
552
- attr_accessor :tax_code
557
+ attr_reader :tax_code
553
558
 
554
- # The VAT rate, represented as percentage that applies to the allowance
555
- sig { returns(T.nilable(String)) }
559
+ sig do
560
+ params(
561
+ tax_code: EInvoiceAPI::DocumentCreate::Allowance::TaxCode::OrSymbol
562
+ ).void
563
+ end
564
+ attr_writer :tax_code
565
+
566
+ # The VAT rate, represented as percentage that applies to the allowance. Must be
567
+ # rounded to maximum 2 decimals
568
+ sig do
569
+ returns(
570
+ T.nilable(EInvoiceAPI::DocumentCreate::Allowance::TaxRate::Variants)
571
+ )
572
+ end
556
573
  attr_accessor :tax_rate
557
574
 
558
575
  # An allowance is a discount for example for early payment, volume discount, etc.
@@ -571,12 +588,15 @@ module EInvoiceAPI
571
588
  EInvoiceAPI::DocumentCreate::Allowance::MultiplierFactor::Variants
572
589
  ),
573
590
  reason: T.nilable(String),
574
- reason_code: T.nilable(String),
575
- tax_code:
591
+ reason_code:
576
592
  T.nilable(
577
- EInvoiceAPI::DocumentCreate::Allowance::TaxCode::OrSymbol
593
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::OrSymbol
578
594
  ),
579
- tax_rate: T.nilable(String)
595
+ tax_code: EInvoiceAPI::DocumentCreate::Allowance::TaxCode::OrSymbol,
596
+ tax_rate:
597
+ T.nilable(
598
+ EInvoiceAPI::DocumentCreate::Allowance::TaxRate::Variants
599
+ )
580
600
  ).returns(T.attached_class)
581
601
  end
582
602
  def self.new(
@@ -586,17 +606,17 @@ module EInvoiceAPI
586
606
  # to calculate the allowance amount. Must be rounded to maximum 2 decimals
587
607
  base_amount: nil,
588
608
  # The percentage that may be used, in conjunction with the allowance base amount,
589
- # to calculate the allowance amount. To state 20%, use value 20
609
+ # to calculate the allowance amount. To state 20%, use value 20. Must be rounded
610
+ # to maximum 2 decimals
590
611
  multiplier_factor: nil,
591
612
  # The reason for the allowance
592
613
  reason: nil,
593
- # The code for the allowance reason
614
+ # Allowance reason codes for invoice discounts and charges
594
615
  reason_code: nil,
595
- # Duty or tax or fee category codes (Subset of UNCL5305)
596
- #
597
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
616
+ # The VAT category code that applies to the allowance
598
617
  tax_code: nil,
599
- # The VAT rate, represented as percentage that applies to the allowance
618
+ # The VAT rate, represented as percentage that applies to the allowance. Must be
619
+ # rounded to maximum 2 decimals
600
620
  tax_rate: nil
601
621
  )
602
622
  end
@@ -617,12 +637,16 @@ module EInvoiceAPI
617
637
  EInvoiceAPI::DocumentCreate::Allowance::MultiplierFactor::Variants
618
638
  ),
619
639
  reason: T.nilable(String),
620
- reason_code: T.nilable(String),
621
- tax_code:
640
+ reason_code:
622
641
  T.nilable(
623
- EInvoiceAPI::DocumentCreate::Allowance::TaxCode::OrSymbol
642
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::OrSymbol
624
643
  ),
625
- tax_rate: T.nilable(String)
644
+ tax_code:
645
+ EInvoiceAPI::DocumentCreate::Allowance::TaxCode::OrSymbol,
646
+ tax_rate:
647
+ T.nilable(
648
+ EInvoiceAPI::DocumentCreate::Allowance::TaxRate::Variants
649
+ )
626
650
  }
627
651
  )
628
652
  end
@@ -663,7 +687,8 @@ module EInvoiceAPI
663
687
  end
664
688
 
665
689
  # The percentage that may be used, in conjunction with the allowance base amount,
666
- # to calculate the allowance amount. To state 20%, use value 20
690
+ # to calculate the allowance amount. To state 20%, use value 20. Must be rounded
691
+ # to maximum 2 decimals
667
692
  module MultiplierFactor
668
693
  extend EInvoiceAPI::Internal::Type::Union
669
694
 
@@ -680,9 +705,124 @@ module EInvoiceAPI
680
705
  end
681
706
  end
682
707
 
683
- # Duty or tax or fee category codes (Subset of UNCL5305)
684
- #
685
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
708
+ # Allowance reason codes for invoice discounts and charges
709
+ module ReasonCode
710
+ extend EInvoiceAPI::Internal::Type::Enum
711
+
712
+ TaggedSymbol =
713
+ T.type_alias do
714
+ T.all(Symbol, EInvoiceAPI::DocumentCreate::Allowance::ReasonCode)
715
+ end
716
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
717
+
718
+ REASON_CODE_41 =
719
+ T.let(
720
+ :"41",
721
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
722
+ )
723
+ REASON_CODE_42 =
724
+ T.let(
725
+ :"42",
726
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
727
+ )
728
+ REASON_CODE_60 =
729
+ T.let(
730
+ :"60",
731
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
732
+ )
733
+ REASON_CODE_62 =
734
+ T.let(
735
+ :"62",
736
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
737
+ )
738
+ REASON_CODE_63 =
739
+ T.let(
740
+ :"63",
741
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
742
+ )
743
+ REASON_CODE_64 =
744
+ T.let(
745
+ :"64",
746
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
747
+ )
748
+ REASON_CODE_65 =
749
+ T.let(
750
+ :"65",
751
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
752
+ )
753
+ REASON_CODE_66 =
754
+ T.let(
755
+ :"66",
756
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
757
+ )
758
+ REASON_CODE_67 =
759
+ T.let(
760
+ :"67",
761
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
762
+ )
763
+ REASON_CODE_68 =
764
+ T.let(
765
+ :"68",
766
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
767
+ )
768
+ REASON_CODE_70 =
769
+ T.let(
770
+ :"70",
771
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
772
+ )
773
+ REASON_CODE_71 =
774
+ T.let(
775
+ :"71",
776
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
777
+ )
778
+ REASON_CODE_88 =
779
+ T.let(
780
+ :"88",
781
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
782
+ )
783
+ REASON_CODE_95 =
784
+ T.let(
785
+ :"95",
786
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
787
+ )
788
+ REASON_CODE_100 =
789
+ T.let(
790
+ :"100",
791
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
792
+ )
793
+ REASON_CODE_102 =
794
+ T.let(
795
+ :"102",
796
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
797
+ )
798
+ REASON_CODE_103 =
799
+ T.let(
800
+ :"103",
801
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
802
+ )
803
+ REASON_CODE_104 =
804
+ T.let(
805
+ :"104",
806
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
807
+ )
808
+ REASON_CODE_105 =
809
+ T.let(
810
+ :"105",
811
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
812
+ )
813
+
814
+ sig do
815
+ override.returns(
816
+ T::Array[
817
+ EInvoiceAPI::DocumentCreate::Allowance::ReasonCode::TaggedSymbol
818
+ ]
819
+ )
820
+ end
821
+ def self.values
822
+ end
823
+ end
824
+
825
+ # The VAT category code that applies to the allowance
686
826
  module TaxCode
687
827
  extend EInvoiceAPI::Internal::Type::Enum
688
828
 
@@ -753,6 +893,24 @@ module EInvoiceAPI
753
893
  def self.values
754
894
  end
755
895
  end
896
+
897
+ # The VAT rate, represented as percentage that applies to the allowance. Must be
898
+ # rounded to maximum 2 decimals
899
+ module TaxRate
900
+ extend EInvoiceAPI::Internal::Type::Union
901
+
902
+ Variants = T.type_alias { T.any(Float, String) }
903
+
904
+ sig do
905
+ override.returns(
906
+ T::Array[
907
+ EInvoiceAPI::DocumentCreate::Allowance::TaxRate::Variants
908
+ ]
909
+ )
910
+ end
911
+ def self.variants
912
+ end
913
+ end
756
914
  end
757
915
 
758
916
  # The amount due for payment. Must be positive and rounded to maximum 2 decimals
@@ -811,8 +969,12 @@ module EInvoiceAPI
811
969
  sig { returns(T.nilable(String)) }
812
970
  attr_accessor :reason
813
971
 
814
- # The code for the charge reason
815
- sig { returns(T.nilable(String)) }
972
+ # Charge reason codes for invoice charges and fees
973
+ sig do
974
+ returns(
975
+ T.nilable(EInvoiceAPI::DocumentCreate::Charge::ReasonCode::OrSymbol)
976
+ )
977
+ end
816
978
  attr_accessor :reason_code
817
979
 
818
980
  # Duty or tax or fee category codes (Subset of UNCL5305)
@@ -826,7 +988,11 @@ module EInvoiceAPI
826
988
  attr_accessor :tax_code
827
989
 
828
990
  # The VAT rate, represented as percentage that applies to the charge
829
- sig { returns(T.nilable(String)) }
991
+ sig do
992
+ returns(
993
+ T.nilable(EInvoiceAPI::DocumentCreate::Charge::TaxRate::Variants)
994
+ )
995
+ end
830
996
  attr_accessor :tax_rate
831
997
 
832
998
  # A charge is an additional fee for example for late payment, late delivery, etc.
@@ -843,10 +1009,14 @@ module EInvoiceAPI
843
1009
  EInvoiceAPI::DocumentCreate::Charge::MultiplierFactor::Variants
844
1010
  ),
845
1011
  reason: T.nilable(String),
846
- reason_code: T.nilable(String),
1012
+ reason_code:
1013
+ T.nilable(
1014
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::OrSymbol
1015
+ ),
847
1016
  tax_code:
848
1017
  T.nilable(EInvoiceAPI::DocumentCreate::Charge::TaxCode::OrSymbol),
849
- tax_rate: T.nilable(String)
1018
+ tax_rate:
1019
+ T.nilable(EInvoiceAPI::DocumentCreate::Charge::TaxRate::Variants)
850
1020
  ).returns(T.attached_class)
851
1021
  end
852
1022
  def self.new(
@@ -860,7 +1030,7 @@ module EInvoiceAPI
860
1030
  multiplier_factor: nil,
861
1031
  # The reason for the charge
862
1032
  reason: nil,
863
- # The code for the charge reason
1033
+ # Charge reason codes for invoice charges and fees
864
1034
  reason_code: nil,
865
1035
  # Duty or tax or fee category codes (Subset of UNCL5305)
866
1036
  #
@@ -887,12 +1057,18 @@ module EInvoiceAPI
887
1057
  EInvoiceAPI::DocumentCreate::Charge::MultiplierFactor::Variants
888
1058
  ),
889
1059
  reason: T.nilable(String),
890
- reason_code: T.nilable(String),
1060
+ reason_code:
1061
+ T.nilable(
1062
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::OrSymbol
1063
+ ),
891
1064
  tax_code:
892
1065
  T.nilable(
893
1066
  EInvoiceAPI::DocumentCreate::Charge::TaxCode::OrSymbol
894
1067
  ),
895
- tax_rate: T.nilable(String)
1068
+ tax_rate:
1069
+ T.nilable(
1070
+ EInvoiceAPI::DocumentCreate::Charge::TaxRate::Variants
1071
+ )
896
1072
  }
897
1073
  )
898
1074
  end
@@ -950,733 +1126,2779 @@ module EInvoiceAPI
950
1126
  end
951
1127
  end
952
1128
 
953
- # Duty or tax or fee category codes (Subset of UNCL5305)
954
- #
955
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
956
- module TaxCode
1129
+ # Charge reason codes for invoice charges and fees
1130
+ module ReasonCode
957
1131
  extend EInvoiceAPI::Internal::Type::Enum
958
1132
 
959
1133
  TaggedSymbol =
960
1134
  T.type_alias do
961
- T.all(Symbol, EInvoiceAPI::DocumentCreate::Charge::TaxCode)
1135
+ T.all(Symbol, EInvoiceAPI::DocumentCreate::Charge::ReasonCode)
962
1136
  end
963
1137
  OrSymbol = T.type_alias { T.any(Symbol, String) }
964
1138
 
965
- AE =
1139
+ AA =
966
1140
  T.let(
967
- :AE,
968
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1141
+ :AA,
1142
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
969
1143
  )
970
- E =
1144
+ AAA =
971
1145
  T.let(
972
- :E,
973
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1146
+ :AAA,
1147
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
974
1148
  )
975
- S =
1149
+ AAC =
976
1150
  T.let(
977
- :S,
978
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1151
+ :AAC,
1152
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
979
1153
  )
980
- Z =
1154
+ AAD =
981
1155
  T.let(
982
- :Z,
983
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1156
+ :AAD,
1157
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
984
1158
  )
985
- G =
1159
+ AAE =
986
1160
  T.let(
987
- :G,
988
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1161
+ :AAE,
1162
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
989
1163
  )
990
- O =
1164
+ AAF =
991
1165
  T.let(
992
- :O,
993
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1166
+ :AAF,
1167
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
994
1168
  )
995
- K =
1169
+ AAH =
996
1170
  T.let(
997
- :K,
998
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1171
+ :AAH,
1172
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
999
1173
  )
1000
- L =
1174
+ AAI =
1001
1175
  T.let(
1002
- :L,
1003
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1176
+ :AAI,
1177
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1004
1178
  )
1005
- M =
1179
+ AAS =
1006
1180
  T.let(
1007
- :M,
1008
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1181
+ :AAS,
1182
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1009
1183
  )
1010
- B =
1184
+ AAT =
1011
1185
  T.let(
1012
- :B,
1013
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1186
+ :AAT,
1187
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1014
1188
  )
1015
-
1016
- sig do
1017
- override.returns(
1018
- T::Array[
1019
- EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
1020
- ]
1189
+ AAV =
1190
+ T.let(
1191
+ :AAV,
1192
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1021
1193
  )
1022
- end
1023
- def self.values
1024
- end
1025
- end
1026
- end
1027
-
1028
- # The total amount of the invoice including tax (invoice_total = subtotal +
1029
- # total_tax + total_discount). Must be positive and rounded to maximum 2 decimals
1030
- module InvoiceTotal
1031
- extend EInvoiceAPI::Internal::Type::Union
1032
-
1033
- Variants = T.type_alias { T.any(Float, String) }
1034
-
1035
- sig do
1036
- override.returns(
1037
- T::Array[EInvoiceAPI::DocumentCreate::InvoiceTotal::Variants]
1038
- )
1039
- end
1040
- def self.variants
1041
- end
1042
- end
1043
-
1044
- class Item < EInvoiceAPI::Internal::Type::BaseModel
1045
- OrHash =
1046
- T.type_alias do
1047
- T.any(
1048
- EInvoiceAPI::DocumentCreate::Item,
1049
- EInvoiceAPI::Internal::AnyHash
1194
+ AAY =
1195
+ T.let(
1196
+ :AAY,
1197
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1050
1198
  )
1051
- end
1052
-
1053
- # The allowances of the line item.
1054
- sig do
1055
- returns(
1056
- T.nilable(T::Array[EInvoiceAPI::DocumentCreate::Item::Allowance])
1057
- )
1058
- end
1059
- attr_accessor :allowances
1060
-
1061
- # The total amount of the line item, exclusive of VAT, after subtracting line
1062
- # level allowances and adding line level charges. Must be rounded to maximum 2
1063
- # decimals
1064
- sig do
1065
- returns(
1066
- T.nilable(EInvoiceAPI::DocumentCreate::Item::Amount::Variants)
1067
- )
1068
- end
1069
- attr_accessor :amount
1070
-
1071
- # The charges of the line item.
1072
- sig do
1073
- returns(
1074
- T.nilable(T::Array[EInvoiceAPI::DocumentCreate::Item::Charge])
1075
- )
1076
- end
1077
- attr_accessor :charges
1078
-
1079
- sig { returns(NilClass) }
1080
- attr_accessor :date
1081
-
1082
- # The description of the line item.
1083
- sig { returns(T.nilable(String)) }
1084
- attr_accessor :description
1085
-
1086
- # The product code of the line item.
1087
- sig { returns(T.nilable(String)) }
1088
- attr_accessor :product_code
1089
-
1090
- # The quantity of items (goods or services) that is the subject of the line item.
1091
- # Must be rounded to maximum 4 decimals
1092
- sig do
1093
- returns(
1094
- T.nilable(EInvoiceAPI::DocumentCreate::Item::Quantity::Variants)
1095
- )
1096
- end
1097
- attr_accessor :quantity
1098
-
1099
- # The total VAT amount for the line item. Must be rounded to maximum 2 decimals
1100
- sig do
1101
- returns(T.nilable(EInvoiceAPI::DocumentCreate::Item::Tax::Variants))
1102
- end
1103
- attr_accessor :tax
1104
-
1105
- # The VAT rate of the line item expressed as percentage with 2 decimals
1106
- sig { returns(T.nilable(String)) }
1107
- attr_accessor :tax_rate
1108
-
1109
- # Unit of Measure Codes from UNECERec20 used in Peppol BIS Billing 3.0.
1110
- sig { returns(T.nilable(EInvoiceAPI::UnitOfMeasureCode::OrSymbol)) }
1111
- attr_accessor :unit
1112
-
1113
- # The unit price of the line item. Must be rounded to maximum 2 decimals
1114
- sig do
1115
- returns(
1116
- T.nilable(EInvoiceAPI::DocumentCreate::Item::UnitPrice::Variants)
1117
- )
1118
- end
1119
- attr_accessor :unit_price
1199
+ AAZ =
1200
+ T.let(
1201
+ :AAZ,
1202
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1203
+ )
1204
+ ABA =
1205
+ T.let(
1206
+ :ABA,
1207
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1208
+ )
1209
+ ABB =
1210
+ T.let(
1211
+ :ABB,
1212
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1213
+ )
1214
+ ABC =
1215
+ T.let(
1216
+ :ABC,
1217
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1218
+ )
1219
+ ABD =
1220
+ T.let(
1221
+ :ABD,
1222
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1223
+ )
1224
+ ABF =
1225
+ T.let(
1226
+ :ABF,
1227
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1228
+ )
1229
+ ABK =
1230
+ T.let(
1231
+ :ABK,
1232
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1233
+ )
1234
+ ABL =
1235
+ T.let(
1236
+ :ABL,
1237
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1238
+ )
1239
+ ABN =
1240
+ T.let(
1241
+ :ABN,
1242
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1243
+ )
1244
+ ABR =
1245
+ T.let(
1246
+ :ABR,
1247
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1248
+ )
1249
+ ABS =
1250
+ T.let(
1251
+ :ABS,
1252
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1253
+ )
1254
+ ABT =
1255
+ T.let(
1256
+ :ABT,
1257
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1258
+ )
1259
+ ABU =
1260
+ T.let(
1261
+ :ABU,
1262
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1263
+ )
1264
+ ACF =
1265
+ T.let(
1266
+ :ACF,
1267
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1268
+ )
1269
+ ACG =
1270
+ T.let(
1271
+ :ACG,
1272
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1273
+ )
1274
+ ACH =
1275
+ T.let(
1276
+ :ACH,
1277
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1278
+ )
1279
+ ACI =
1280
+ T.let(
1281
+ :ACI,
1282
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1283
+ )
1284
+ ACJ =
1285
+ T.let(
1286
+ :ACJ,
1287
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1288
+ )
1289
+ ACK =
1290
+ T.let(
1291
+ :ACK,
1292
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1293
+ )
1294
+ ACL =
1295
+ T.let(
1296
+ :ACL,
1297
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1298
+ )
1299
+ ACM =
1300
+ T.let(
1301
+ :ACM,
1302
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1303
+ )
1304
+ ACS =
1305
+ T.let(
1306
+ :ACS,
1307
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1308
+ )
1309
+ ADC =
1310
+ T.let(
1311
+ :ADC,
1312
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1313
+ )
1314
+ ADE =
1315
+ T.let(
1316
+ :ADE,
1317
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1318
+ )
1319
+ ADJ =
1320
+ T.let(
1321
+ :ADJ,
1322
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1323
+ )
1324
+ ADK =
1325
+ T.let(
1326
+ :ADK,
1327
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1328
+ )
1329
+ ADL =
1330
+ T.let(
1331
+ :ADL,
1332
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1333
+ )
1334
+ ADM =
1335
+ T.let(
1336
+ :ADM,
1337
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1338
+ )
1339
+ ADN =
1340
+ T.let(
1341
+ :ADN,
1342
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1343
+ )
1344
+ ADO =
1345
+ T.let(
1346
+ :ADO,
1347
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1348
+ )
1349
+ ADP =
1350
+ T.let(
1351
+ :ADP,
1352
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1353
+ )
1354
+ ADQ =
1355
+ T.let(
1356
+ :ADQ,
1357
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1358
+ )
1359
+ ADR =
1360
+ T.let(
1361
+ :ADR,
1362
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1363
+ )
1364
+ ADT =
1365
+ T.let(
1366
+ :ADT,
1367
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1368
+ )
1369
+ ADW =
1370
+ T.let(
1371
+ :ADW,
1372
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1373
+ )
1374
+ ADY =
1375
+ T.let(
1376
+ :ADY,
1377
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1378
+ )
1379
+ ADZ =
1380
+ T.let(
1381
+ :ADZ,
1382
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1383
+ )
1384
+ AEA =
1385
+ T.let(
1386
+ :AEA,
1387
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1388
+ )
1389
+ AEB =
1390
+ T.let(
1391
+ :AEB,
1392
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1393
+ )
1394
+ AEC =
1395
+ T.let(
1396
+ :AEC,
1397
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1398
+ )
1399
+ AED =
1400
+ T.let(
1401
+ :AED,
1402
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1403
+ )
1404
+ AEF =
1405
+ T.let(
1406
+ :AEF,
1407
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1408
+ )
1409
+ AEH =
1410
+ T.let(
1411
+ :AEH,
1412
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1413
+ )
1414
+ AEI =
1415
+ T.let(
1416
+ :AEI,
1417
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1418
+ )
1419
+ AEJ =
1420
+ T.let(
1421
+ :AEJ,
1422
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1423
+ )
1424
+ AEK =
1425
+ T.let(
1426
+ :AEK,
1427
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1428
+ )
1429
+ AEL =
1430
+ T.let(
1431
+ :AEL,
1432
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1433
+ )
1434
+ AEM =
1435
+ T.let(
1436
+ :AEM,
1437
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1438
+ )
1439
+ AEN =
1440
+ T.let(
1441
+ :AEN,
1442
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1443
+ )
1444
+ AEO =
1445
+ T.let(
1446
+ :AEO,
1447
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1448
+ )
1449
+ AEP =
1450
+ T.let(
1451
+ :AEP,
1452
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1453
+ )
1454
+ AES =
1455
+ T.let(
1456
+ :AES,
1457
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1458
+ )
1459
+ AET =
1460
+ T.let(
1461
+ :AET,
1462
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1463
+ )
1464
+ AEU =
1465
+ T.let(
1466
+ :AEU,
1467
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1468
+ )
1469
+ AEV =
1470
+ T.let(
1471
+ :AEV,
1472
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1473
+ )
1474
+ AEW =
1475
+ T.let(
1476
+ :AEW,
1477
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1478
+ )
1479
+ AEX =
1480
+ T.let(
1481
+ :AEX,
1482
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1483
+ )
1484
+ AEY =
1485
+ T.let(
1486
+ :AEY,
1487
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1488
+ )
1489
+ AEZ =
1490
+ T.let(
1491
+ :AEZ,
1492
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1493
+ )
1494
+ AJ =
1495
+ T.let(
1496
+ :AJ,
1497
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1498
+ )
1499
+ AU =
1500
+ T.let(
1501
+ :AU,
1502
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1503
+ )
1504
+ CA =
1505
+ T.let(
1506
+ :CA,
1507
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1508
+ )
1509
+ CAB =
1510
+ T.let(
1511
+ :CAB,
1512
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1513
+ )
1514
+ CAD =
1515
+ T.let(
1516
+ :CAD,
1517
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1518
+ )
1519
+ CAE =
1520
+ T.let(
1521
+ :CAE,
1522
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1523
+ )
1524
+ CAF =
1525
+ T.let(
1526
+ :CAF,
1527
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1528
+ )
1529
+ CAI =
1530
+ T.let(
1531
+ :CAI,
1532
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1533
+ )
1534
+ CAJ =
1535
+ T.let(
1536
+ :CAJ,
1537
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1538
+ )
1539
+ CAK =
1540
+ T.let(
1541
+ :CAK,
1542
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1543
+ )
1544
+ CAL =
1545
+ T.let(
1546
+ :CAL,
1547
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1548
+ )
1549
+ CAM =
1550
+ T.let(
1551
+ :CAM,
1552
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1553
+ )
1554
+ CAN =
1555
+ T.let(
1556
+ :CAN,
1557
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1558
+ )
1559
+ CAO =
1560
+ T.let(
1561
+ :CAO,
1562
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1563
+ )
1564
+ CAP =
1565
+ T.let(
1566
+ :CAP,
1567
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1568
+ )
1569
+ CAQ =
1570
+ T.let(
1571
+ :CAQ,
1572
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1573
+ )
1574
+ CAR =
1575
+ T.let(
1576
+ :CAR,
1577
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1578
+ )
1579
+ CAS =
1580
+ T.let(
1581
+ :CAS,
1582
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1583
+ )
1584
+ CAT =
1585
+ T.let(
1586
+ :CAT,
1587
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1588
+ )
1589
+ CAU =
1590
+ T.let(
1591
+ :CAU,
1592
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1593
+ )
1594
+ CAV =
1595
+ T.let(
1596
+ :CAV,
1597
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1598
+ )
1599
+ CAW =
1600
+ T.let(
1601
+ :CAW,
1602
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1603
+ )
1604
+ CAX =
1605
+ T.let(
1606
+ :CAX,
1607
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1608
+ )
1609
+ CAY =
1610
+ T.let(
1611
+ :CAY,
1612
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1613
+ )
1614
+ CAZ =
1615
+ T.let(
1616
+ :CAZ,
1617
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1618
+ )
1619
+ CD =
1620
+ T.let(
1621
+ :CD,
1622
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1623
+ )
1624
+ CG =
1625
+ T.let(
1626
+ :CG,
1627
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1628
+ )
1629
+ CS =
1630
+ T.let(
1631
+ :CS,
1632
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1633
+ )
1634
+ CT =
1635
+ T.let(
1636
+ :CT,
1637
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1638
+ )
1639
+ DAB =
1640
+ T.let(
1641
+ :DAB,
1642
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1643
+ )
1644
+ DAC =
1645
+ T.let(
1646
+ :DAC,
1647
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1648
+ )
1649
+ DAD =
1650
+ T.let(
1651
+ :DAD,
1652
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1653
+ )
1654
+ DAF =
1655
+ T.let(
1656
+ :DAF,
1657
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1658
+ )
1659
+ DAG =
1660
+ T.let(
1661
+ :DAG,
1662
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1663
+ )
1664
+ DAH =
1665
+ T.let(
1666
+ :DAH,
1667
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1668
+ )
1669
+ DAI =
1670
+ T.let(
1671
+ :DAI,
1672
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1673
+ )
1674
+ DAJ =
1675
+ T.let(
1676
+ :DAJ,
1677
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1678
+ )
1679
+ DAK =
1680
+ T.let(
1681
+ :DAK,
1682
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1683
+ )
1684
+ DAL =
1685
+ T.let(
1686
+ :DAL,
1687
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1688
+ )
1689
+ DAM =
1690
+ T.let(
1691
+ :DAM,
1692
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1693
+ )
1694
+ DAN =
1695
+ T.let(
1696
+ :DAN,
1697
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1698
+ )
1699
+ DAO =
1700
+ T.let(
1701
+ :DAO,
1702
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1703
+ )
1704
+ DAP =
1705
+ T.let(
1706
+ :DAP,
1707
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1708
+ )
1709
+ DAQ =
1710
+ T.let(
1711
+ :DAQ,
1712
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1713
+ )
1714
+ DL =
1715
+ T.let(
1716
+ :DL,
1717
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1718
+ )
1719
+ EG =
1720
+ T.let(
1721
+ :EG,
1722
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1723
+ )
1724
+ EP =
1725
+ T.let(
1726
+ :EP,
1727
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1728
+ )
1729
+ ER =
1730
+ T.let(
1731
+ :ER,
1732
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1733
+ )
1734
+ FAA =
1735
+ T.let(
1736
+ :FAA,
1737
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1738
+ )
1739
+ FAB =
1740
+ T.let(
1741
+ :FAB,
1742
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1743
+ )
1744
+ FAC =
1745
+ T.let(
1746
+ :FAC,
1747
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1748
+ )
1749
+ FC =
1750
+ T.let(
1751
+ :FC,
1752
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1753
+ )
1754
+ FH =
1755
+ T.let(
1756
+ :FH,
1757
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1758
+ )
1759
+ FI =
1760
+ T.let(
1761
+ :FI,
1762
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1763
+ )
1764
+ GAA =
1765
+ T.let(
1766
+ :GAA,
1767
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1768
+ )
1769
+ HAA =
1770
+ T.let(
1771
+ :HAA,
1772
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1773
+ )
1774
+ HD =
1775
+ T.let(
1776
+ :HD,
1777
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1778
+ )
1779
+ HH =
1780
+ T.let(
1781
+ :HH,
1782
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1783
+ )
1784
+ IAA =
1785
+ T.let(
1786
+ :IAA,
1787
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1788
+ )
1789
+ IAB =
1790
+ T.let(
1791
+ :IAB,
1792
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1793
+ )
1794
+ ID =
1795
+ T.let(
1796
+ :ID,
1797
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1798
+ )
1799
+ IF =
1800
+ T.let(
1801
+ :IF,
1802
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1803
+ )
1804
+ IR =
1805
+ T.let(
1806
+ :IR,
1807
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1808
+ )
1809
+ IS =
1810
+ T.let(
1811
+ :IS,
1812
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1813
+ )
1814
+ KO =
1815
+ T.let(
1816
+ :KO,
1817
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1818
+ )
1819
+ L1 =
1820
+ T.let(
1821
+ :L1,
1822
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1823
+ )
1824
+ LA =
1825
+ T.let(
1826
+ :LA,
1827
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1828
+ )
1829
+ LAA =
1830
+ T.let(
1831
+ :LAA,
1832
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1833
+ )
1834
+ LAB =
1835
+ T.let(
1836
+ :LAB,
1837
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1838
+ )
1839
+ LF =
1840
+ T.let(
1841
+ :LF,
1842
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1843
+ )
1844
+ MAE =
1845
+ T.let(
1846
+ :MAE,
1847
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1848
+ )
1849
+ MI =
1850
+ T.let(
1851
+ :MI,
1852
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1853
+ )
1854
+ ML =
1855
+ T.let(
1856
+ :ML,
1857
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1858
+ )
1859
+ NAA =
1860
+ T.let(
1861
+ :NAA,
1862
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1863
+ )
1864
+ OA =
1865
+ T.let(
1866
+ :OA,
1867
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1868
+ )
1869
+ PA =
1870
+ T.let(
1871
+ :PA,
1872
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1873
+ )
1874
+ PAA =
1875
+ T.let(
1876
+ :PAA,
1877
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1878
+ )
1879
+ PC =
1880
+ T.let(
1881
+ :PC,
1882
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1883
+ )
1884
+ PL =
1885
+ T.let(
1886
+ :PL,
1887
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1888
+ )
1889
+ PRV =
1890
+ T.let(
1891
+ :PRV,
1892
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1893
+ )
1894
+ RAB =
1895
+ T.let(
1896
+ :RAB,
1897
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1898
+ )
1899
+ RAC =
1900
+ T.let(
1901
+ :RAC,
1902
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1903
+ )
1904
+ RAD =
1905
+ T.let(
1906
+ :RAD,
1907
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1908
+ )
1909
+ RAF =
1910
+ T.let(
1911
+ :RAF,
1912
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1913
+ )
1914
+ RE =
1915
+ T.let(
1916
+ :RE,
1917
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1918
+ )
1919
+ RF =
1920
+ T.let(
1921
+ :RF,
1922
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1923
+ )
1924
+ RH =
1925
+ T.let(
1926
+ :RH,
1927
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1928
+ )
1929
+ RV =
1930
+ T.let(
1931
+ :RV,
1932
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1933
+ )
1934
+ SA =
1935
+ T.let(
1936
+ :SA,
1937
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1938
+ )
1939
+ SAA =
1940
+ T.let(
1941
+ :SAA,
1942
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1943
+ )
1944
+ SAD =
1945
+ T.let(
1946
+ :SAD,
1947
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1948
+ )
1949
+ SAE =
1950
+ T.let(
1951
+ :SAE,
1952
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1953
+ )
1954
+ SAI =
1955
+ T.let(
1956
+ :SAI,
1957
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1958
+ )
1959
+ SG =
1960
+ T.let(
1961
+ :SG,
1962
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1963
+ )
1964
+ SH =
1965
+ T.let(
1966
+ :SH,
1967
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1968
+ )
1969
+ SM =
1970
+ T.let(
1971
+ :SM,
1972
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1973
+ )
1974
+ SU =
1975
+ T.let(
1976
+ :SU,
1977
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1978
+ )
1979
+ TAB =
1980
+ T.let(
1981
+ :TAB,
1982
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1983
+ )
1984
+ TAC =
1985
+ T.let(
1986
+ :TAC,
1987
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1988
+ )
1989
+ TT =
1990
+ T.let(
1991
+ :TT,
1992
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1993
+ )
1994
+ TV =
1995
+ T.let(
1996
+ :TV,
1997
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
1998
+ )
1999
+ V1 =
2000
+ T.let(
2001
+ :V1,
2002
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
2003
+ )
2004
+ V2 =
2005
+ T.let(
2006
+ :V2,
2007
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
2008
+ )
2009
+ WH =
2010
+ T.let(
2011
+ :WH,
2012
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
2013
+ )
2014
+ XAA =
2015
+ T.let(
2016
+ :XAA,
2017
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
2018
+ )
2019
+ YY =
2020
+ T.let(
2021
+ :YY,
2022
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
2023
+ )
2024
+ ZZZ =
2025
+ T.let(
2026
+ :ZZZ,
2027
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
2028
+ )
2029
+
2030
+ sig do
2031
+ override.returns(
2032
+ T::Array[
2033
+ EInvoiceAPI::DocumentCreate::Charge::ReasonCode::TaggedSymbol
2034
+ ]
2035
+ )
2036
+ end
2037
+ def self.values
2038
+ end
2039
+ end
2040
+
2041
+ # Duty or tax or fee category codes (Subset of UNCL5305)
2042
+ #
2043
+ # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
2044
+ module TaxCode
2045
+ extend EInvoiceAPI::Internal::Type::Enum
2046
+
2047
+ TaggedSymbol =
2048
+ T.type_alias do
2049
+ T.all(Symbol, EInvoiceAPI::DocumentCreate::Charge::TaxCode)
2050
+ end
2051
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2052
+
2053
+ AE =
2054
+ T.let(
2055
+ :AE,
2056
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2057
+ )
2058
+ E =
2059
+ T.let(
2060
+ :E,
2061
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2062
+ )
2063
+ S =
2064
+ T.let(
2065
+ :S,
2066
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2067
+ )
2068
+ Z =
2069
+ T.let(
2070
+ :Z,
2071
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2072
+ )
2073
+ G =
2074
+ T.let(
2075
+ :G,
2076
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2077
+ )
2078
+ O =
2079
+ T.let(
2080
+ :O,
2081
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2082
+ )
2083
+ K =
2084
+ T.let(
2085
+ :K,
2086
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2087
+ )
2088
+ L =
2089
+ T.let(
2090
+ :L,
2091
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2092
+ )
2093
+ M =
2094
+ T.let(
2095
+ :M,
2096
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2097
+ )
2098
+ B =
2099
+ T.let(
2100
+ :B,
2101
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2102
+ )
2103
+
2104
+ sig do
2105
+ override.returns(
2106
+ T::Array[
2107
+ EInvoiceAPI::DocumentCreate::Charge::TaxCode::TaggedSymbol
2108
+ ]
2109
+ )
2110
+ end
2111
+ def self.values
2112
+ end
2113
+ end
2114
+
2115
+ # The VAT rate, represented as percentage that applies to the charge
2116
+ module TaxRate
2117
+ extend EInvoiceAPI::Internal::Type::Union
2118
+
2119
+ Variants = T.type_alias { T.any(Float, String) }
2120
+
2121
+ sig do
2122
+ override.returns(
2123
+ T::Array[EInvoiceAPI::DocumentCreate::Charge::TaxRate::Variants]
2124
+ )
2125
+ end
2126
+ def self.variants
2127
+ end
2128
+ end
2129
+ end
2130
+
2131
+ # The total amount of the invoice including tax (invoice_total = subtotal +
2132
+ # total_tax + total_discount). Must be positive and rounded to maximum 2 decimals
2133
+ module InvoiceTotal
2134
+ extend EInvoiceAPI::Internal::Type::Union
2135
+
2136
+ Variants = T.type_alias { T.any(Float, String) }
2137
+
2138
+ sig do
2139
+ override.returns(
2140
+ T::Array[EInvoiceAPI::DocumentCreate::InvoiceTotal::Variants]
2141
+ )
2142
+ end
2143
+ def self.variants
2144
+ end
2145
+ end
2146
+
2147
+ class Item < EInvoiceAPI::Internal::Type::BaseModel
2148
+ OrHash =
2149
+ T.type_alias do
2150
+ T.any(
2151
+ EInvoiceAPI::DocumentCreate::Item,
2152
+ EInvoiceAPI::Internal::AnyHash
2153
+ )
2154
+ end
2155
+
2156
+ # The allowances of the line item.
2157
+ sig do
2158
+ returns(
2159
+ T.nilable(T::Array[EInvoiceAPI::DocumentCreate::Item::Allowance])
2160
+ )
2161
+ end
2162
+ attr_accessor :allowances
2163
+
2164
+ # The invoice line net amount (BT-131), exclusive of VAT, inclusive of line level
2165
+ # allowances and charges. Calculated as: ((unit_price / price_base_quantity) \*
2166
+ # quantity) - allowances + charges. Must be rounded to maximum 2 decimals. Can be
2167
+ # negative for credit notes or corrections.
2168
+ sig do
2169
+ returns(
2170
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::Amount::Variants)
2171
+ )
2172
+ end
2173
+ attr_accessor :amount
2174
+
2175
+ # The charges of the line item.
2176
+ sig do
2177
+ returns(
2178
+ T.nilable(T::Array[EInvoiceAPI::DocumentCreate::Item::Charge])
2179
+ )
2180
+ end
2181
+ attr_accessor :charges
2182
+
2183
+ sig { returns(NilClass) }
2184
+ attr_accessor :date
2185
+
2186
+ # The description of the line item.
2187
+ sig { returns(T.nilable(String)) }
2188
+ attr_accessor :description
2189
+
2190
+ # The product code of the line item.
2191
+ sig { returns(T.nilable(String)) }
2192
+ attr_accessor :product_code
2193
+
2194
+ # The quantity of items (goods or services) that is the subject of the line item.
2195
+ # Must be rounded to maximum 4 decimals. Can be negative for credit notes or
2196
+ # corrections.
2197
+ sig do
2198
+ returns(
2199
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::Quantity::Variants)
2200
+ )
2201
+ end
2202
+ attr_accessor :quantity
2203
+
2204
+ # The total VAT amount for the line item. Must be rounded to maximum 2 decimals.
2205
+ # Can be negative for credit notes or corrections.
2206
+ sig do
2207
+ returns(T.nilable(EInvoiceAPI::DocumentCreate::Item::Tax::Variants))
2208
+ end
2209
+ attr_accessor :tax
2210
+
2211
+ # The VAT rate of the line item expressed as percentage with 2 decimals
2212
+ sig do
2213
+ returns(
2214
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::TaxRate::Variants)
2215
+ )
2216
+ end
2217
+ attr_accessor :tax_rate
2218
+
2219
+ # Unit of Measure Codes from UNECERec20 used in Peppol BIS Billing 3.0.
2220
+ sig { returns(T.nilable(EInvoiceAPI::UnitOfMeasureCode::OrSymbol)) }
2221
+ attr_accessor :unit
2222
+
2223
+ # The item net price (BT-146). The price of an item, exclusive of VAT, after
2224
+ # subtracting item price discount. Must be rounded to maximum 4 decimals
2225
+ sig do
2226
+ returns(
2227
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::UnitPrice::Variants)
2228
+ )
2229
+ end
2230
+ attr_accessor :unit_price
2231
+
2232
+ sig do
2233
+ params(
2234
+ allowances:
2235
+ T.nilable(
2236
+ T::Array[EInvoiceAPI::DocumentCreate::Item::Allowance::OrHash]
2237
+ ),
2238
+ amount:
2239
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::Amount::Variants),
2240
+ charges:
2241
+ T.nilable(
2242
+ T::Array[EInvoiceAPI::DocumentCreate::Item::Charge::OrHash]
2243
+ ),
2244
+ date: NilClass,
2245
+ description: T.nilable(String),
2246
+ product_code: T.nilable(String),
2247
+ quantity:
2248
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::Quantity::Variants),
2249
+ tax: T.nilable(EInvoiceAPI::DocumentCreate::Item::Tax::Variants),
2250
+ tax_rate:
2251
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::TaxRate::Variants),
2252
+ unit: T.nilable(EInvoiceAPI::UnitOfMeasureCode::OrSymbol),
2253
+ unit_price:
2254
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::UnitPrice::Variants)
2255
+ ).returns(T.attached_class)
2256
+ end
2257
+ def self.new(
2258
+ # The allowances of the line item.
2259
+ allowances: nil,
2260
+ # The invoice line net amount (BT-131), exclusive of VAT, inclusive of line level
2261
+ # allowances and charges. Calculated as: ((unit_price / price_base_quantity) \*
2262
+ # quantity) - allowances + charges. Must be rounded to maximum 2 decimals. Can be
2263
+ # negative for credit notes or corrections.
2264
+ amount: nil,
2265
+ # The charges of the line item.
2266
+ charges: nil,
2267
+ date: nil,
2268
+ # The description of the line item.
2269
+ description: nil,
2270
+ # The product code of the line item.
2271
+ product_code: nil,
2272
+ # The quantity of items (goods or services) that is the subject of the line item.
2273
+ # Must be rounded to maximum 4 decimals. Can be negative for credit notes or
2274
+ # corrections.
2275
+ quantity: nil,
2276
+ # The total VAT amount for the line item. Must be rounded to maximum 2 decimals.
2277
+ # Can be negative for credit notes or corrections.
2278
+ tax: nil,
2279
+ # The VAT rate of the line item expressed as percentage with 2 decimals
2280
+ tax_rate: nil,
2281
+ # Unit of Measure Codes from UNECERec20 used in Peppol BIS Billing 3.0.
2282
+ unit: nil,
2283
+ # The item net price (BT-146). The price of an item, exclusive of VAT, after
2284
+ # subtracting item price discount. Must be rounded to maximum 4 decimals
2285
+ unit_price: nil
2286
+ )
2287
+ end
2288
+
2289
+ sig do
2290
+ override.returns(
2291
+ {
2292
+ allowances:
2293
+ T.nilable(
2294
+ T::Array[EInvoiceAPI::DocumentCreate::Item::Allowance]
2295
+ ),
2296
+ amount:
2297
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::Amount::Variants),
2298
+ charges:
2299
+ T.nilable(T::Array[EInvoiceAPI::DocumentCreate::Item::Charge]),
2300
+ date: NilClass,
2301
+ description: T.nilable(String),
2302
+ product_code: T.nilable(String),
2303
+ quantity:
2304
+ T.nilable(
2305
+ EInvoiceAPI::DocumentCreate::Item::Quantity::Variants
2306
+ ),
2307
+ tax: T.nilable(EInvoiceAPI::DocumentCreate::Item::Tax::Variants),
2308
+ tax_rate:
2309
+ T.nilable(EInvoiceAPI::DocumentCreate::Item::TaxRate::Variants),
2310
+ unit: T.nilable(EInvoiceAPI::UnitOfMeasureCode::OrSymbol),
2311
+ unit_price:
2312
+ T.nilable(
2313
+ EInvoiceAPI::DocumentCreate::Item::UnitPrice::Variants
2314
+ )
2315
+ }
2316
+ )
2317
+ end
2318
+ def to_hash
2319
+ end
2320
+
2321
+ class Allowance < EInvoiceAPI::Internal::Type::BaseModel
2322
+ OrHash =
2323
+ T.type_alias do
2324
+ T.any(
2325
+ EInvoiceAPI::DocumentCreate::Item::Allowance,
2326
+ EInvoiceAPI::Internal::AnyHash
2327
+ )
2328
+ end
2329
+
2330
+ # The allowance amount, without VAT. Must be rounded to maximum 2 decimals
2331
+ sig do
2332
+ returns(
2333
+ T.nilable(
2334
+ EInvoiceAPI::DocumentCreate::Item::Allowance::Amount::Variants
2335
+ )
2336
+ )
2337
+ end
2338
+ attr_accessor :amount
2339
+
2340
+ # The base amount that may be used, in conjunction with the allowance percentage,
2341
+ # to calculate the allowance amount. Must be rounded to maximum 2 decimals
2342
+ sig do
2343
+ returns(
2344
+ T.nilable(
2345
+ EInvoiceAPI::DocumentCreate::Item::Allowance::BaseAmount::Variants
2346
+ )
2347
+ )
2348
+ end
2349
+ attr_accessor :base_amount
2350
+
2351
+ # The percentage that may be used, in conjunction with the allowance base amount,
2352
+ # to calculate the allowance amount. To state 20%, use value 20. Must be rounded
2353
+ # to maximum 2 decimals
2354
+ sig do
2355
+ returns(
2356
+ T.nilable(
2357
+ EInvoiceAPI::DocumentCreate::Item::Allowance::MultiplierFactor::Variants
2358
+ )
2359
+ )
2360
+ end
2361
+ attr_accessor :multiplier_factor
2362
+
2363
+ # The reason for the allowance
2364
+ sig { returns(T.nilable(String)) }
2365
+ attr_accessor :reason
2366
+
2367
+ # Allowance reason codes for invoice discounts and charges
2368
+ sig do
2369
+ returns(
2370
+ T.nilable(
2371
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::OrSymbol
2372
+ )
2373
+ )
2374
+ end
2375
+ attr_accessor :reason_code
2376
+
2377
+ # The VAT category code that applies to the allowance
2378
+ sig do
2379
+ returns(
2380
+ T.nilable(
2381
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::OrSymbol
2382
+ )
2383
+ )
2384
+ end
2385
+ attr_reader :tax_code
2386
+
2387
+ sig do
2388
+ params(
2389
+ tax_code:
2390
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::OrSymbol
2391
+ ).void
2392
+ end
2393
+ attr_writer :tax_code
2394
+
2395
+ # The VAT rate, represented as percentage that applies to the allowance. Must be
2396
+ # rounded to maximum 2 decimals
2397
+ sig do
2398
+ returns(
2399
+ T.nilable(
2400
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxRate::Variants
2401
+ )
2402
+ )
2403
+ end
2404
+ attr_accessor :tax_rate
2405
+
2406
+ # An allowance is a discount for example for early payment, volume discount, etc.
2407
+ sig do
2408
+ params(
2409
+ amount:
2410
+ T.nilable(
2411
+ EInvoiceAPI::DocumentCreate::Item::Allowance::Amount::Variants
2412
+ ),
2413
+ base_amount:
2414
+ T.nilable(
2415
+ EInvoiceAPI::DocumentCreate::Item::Allowance::BaseAmount::Variants
2416
+ ),
2417
+ multiplier_factor:
2418
+ T.nilable(
2419
+ EInvoiceAPI::DocumentCreate::Item::Allowance::MultiplierFactor::Variants
2420
+ ),
2421
+ reason: T.nilable(String),
2422
+ reason_code:
2423
+ T.nilable(
2424
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::OrSymbol
2425
+ ),
2426
+ tax_code:
2427
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::OrSymbol,
2428
+ tax_rate:
2429
+ T.nilable(
2430
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxRate::Variants
2431
+ )
2432
+ ).returns(T.attached_class)
2433
+ end
2434
+ def self.new(
2435
+ # The allowance amount, without VAT. Must be rounded to maximum 2 decimals
2436
+ amount: nil,
2437
+ # The base amount that may be used, in conjunction with the allowance percentage,
2438
+ # to calculate the allowance amount. Must be rounded to maximum 2 decimals
2439
+ base_amount: nil,
2440
+ # The percentage that may be used, in conjunction with the allowance base amount,
2441
+ # to calculate the allowance amount. To state 20%, use value 20. Must be rounded
2442
+ # to maximum 2 decimals
2443
+ multiplier_factor: nil,
2444
+ # The reason for the allowance
2445
+ reason: nil,
2446
+ # Allowance reason codes for invoice discounts and charges
2447
+ reason_code: nil,
2448
+ # The VAT category code that applies to the allowance
2449
+ tax_code: nil,
2450
+ # The VAT rate, represented as percentage that applies to the allowance. Must be
2451
+ # rounded to maximum 2 decimals
2452
+ tax_rate: nil
2453
+ )
2454
+ end
2455
+
2456
+ sig do
2457
+ override.returns(
2458
+ {
2459
+ amount:
2460
+ T.nilable(
2461
+ EInvoiceAPI::DocumentCreate::Item::Allowance::Amount::Variants
2462
+ ),
2463
+ base_amount:
2464
+ T.nilable(
2465
+ EInvoiceAPI::DocumentCreate::Item::Allowance::BaseAmount::Variants
2466
+ ),
2467
+ multiplier_factor:
2468
+ T.nilable(
2469
+ EInvoiceAPI::DocumentCreate::Item::Allowance::MultiplierFactor::Variants
2470
+ ),
2471
+ reason: T.nilable(String),
2472
+ reason_code:
2473
+ T.nilable(
2474
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::OrSymbol
2475
+ ),
2476
+ tax_code:
2477
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::OrSymbol,
2478
+ tax_rate:
2479
+ T.nilable(
2480
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxRate::Variants
2481
+ )
2482
+ }
2483
+ )
2484
+ end
2485
+ def to_hash
2486
+ end
2487
+
2488
+ # The allowance amount, without VAT. Must be rounded to maximum 2 decimals
2489
+ module Amount
2490
+ extend EInvoiceAPI::Internal::Type::Union
2491
+
2492
+ Variants = T.type_alias { T.any(Float, String) }
2493
+
2494
+ sig do
2495
+ override.returns(
2496
+ T::Array[
2497
+ EInvoiceAPI::DocumentCreate::Item::Allowance::Amount::Variants
2498
+ ]
2499
+ )
2500
+ end
2501
+ def self.variants
2502
+ end
2503
+ end
2504
+
2505
+ # The base amount that may be used, in conjunction with the allowance percentage,
2506
+ # to calculate the allowance amount. Must be rounded to maximum 2 decimals
2507
+ module BaseAmount
2508
+ extend EInvoiceAPI::Internal::Type::Union
2509
+
2510
+ Variants = T.type_alias { T.any(Float, String) }
2511
+
2512
+ sig do
2513
+ override.returns(
2514
+ T::Array[
2515
+ EInvoiceAPI::DocumentCreate::Item::Allowance::BaseAmount::Variants
2516
+ ]
2517
+ )
2518
+ end
2519
+ def self.variants
2520
+ end
2521
+ end
2522
+
2523
+ # The percentage that may be used, in conjunction with the allowance base amount,
2524
+ # to calculate the allowance amount. To state 20%, use value 20. Must be rounded
2525
+ # to maximum 2 decimals
2526
+ module MultiplierFactor
2527
+ extend EInvoiceAPI::Internal::Type::Union
2528
+
2529
+ Variants = T.type_alias { T.any(Float, String) }
2530
+
2531
+ sig do
2532
+ override.returns(
2533
+ T::Array[
2534
+ EInvoiceAPI::DocumentCreate::Item::Allowance::MultiplierFactor::Variants
2535
+ ]
2536
+ )
2537
+ end
2538
+ def self.variants
2539
+ end
2540
+ end
2541
+
2542
+ # Allowance reason codes for invoice discounts and charges
2543
+ module ReasonCode
2544
+ extend EInvoiceAPI::Internal::Type::Enum
2545
+
2546
+ TaggedSymbol =
2547
+ T.type_alias do
2548
+ T.all(
2549
+ Symbol,
2550
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode
2551
+ )
2552
+ end
2553
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2554
+
2555
+ REASON_CODE_41 =
2556
+ T.let(
2557
+ :"41",
2558
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2559
+ )
2560
+ REASON_CODE_42 =
2561
+ T.let(
2562
+ :"42",
2563
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2564
+ )
2565
+ REASON_CODE_60 =
2566
+ T.let(
2567
+ :"60",
2568
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2569
+ )
2570
+ REASON_CODE_62 =
2571
+ T.let(
2572
+ :"62",
2573
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2574
+ )
2575
+ REASON_CODE_63 =
2576
+ T.let(
2577
+ :"63",
2578
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2579
+ )
2580
+ REASON_CODE_64 =
2581
+ T.let(
2582
+ :"64",
2583
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2584
+ )
2585
+ REASON_CODE_65 =
2586
+ T.let(
2587
+ :"65",
2588
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2589
+ )
2590
+ REASON_CODE_66 =
2591
+ T.let(
2592
+ :"66",
2593
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2594
+ )
2595
+ REASON_CODE_67 =
2596
+ T.let(
2597
+ :"67",
2598
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2599
+ )
2600
+ REASON_CODE_68 =
2601
+ T.let(
2602
+ :"68",
2603
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2604
+ )
2605
+ REASON_CODE_70 =
2606
+ T.let(
2607
+ :"70",
2608
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2609
+ )
2610
+ REASON_CODE_71 =
2611
+ T.let(
2612
+ :"71",
2613
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2614
+ )
2615
+ REASON_CODE_88 =
2616
+ T.let(
2617
+ :"88",
2618
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2619
+ )
2620
+ REASON_CODE_95 =
2621
+ T.let(
2622
+ :"95",
2623
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2624
+ )
2625
+ REASON_CODE_100 =
2626
+ T.let(
2627
+ :"100",
2628
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2629
+ )
2630
+ REASON_CODE_102 =
2631
+ T.let(
2632
+ :"102",
2633
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2634
+ )
2635
+ REASON_CODE_103 =
2636
+ T.let(
2637
+ :"103",
2638
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2639
+ )
2640
+ REASON_CODE_104 =
2641
+ T.let(
2642
+ :"104",
2643
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2644
+ )
2645
+ REASON_CODE_105 =
2646
+ T.let(
2647
+ :"105",
2648
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2649
+ )
2650
+
2651
+ sig do
2652
+ override.returns(
2653
+ T::Array[
2654
+ EInvoiceAPI::DocumentCreate::Item::Allowance::ReasonCode::TaggedSymbol
2655
+ ]
2656
+ )
2657
+ end
2658
+ def self.values
2659
+ end
2660
+ end
2661
+
2662
+ # The VAT category code that applies to the allowance
2663
+ module TaxCode
2664
+ extend EInvoiceAPI::Internal::Type::Enum
2665
+
2666
+ TaggedSymbol =
2667
+ T.type_alias do
2668
+ T.all(
2669
+ Symbol,
2670
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode
2671
+ )
2672
+ end
2673
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2674
+
2675
+ AE =
2676
+ T.let(
2677
+ :AE,
2678
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2679
+ )
2680
+ E =
2681
+ T.let(
2682
+ :E,
2683
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2684
+ )
2685
+ S =
2686
+ T.let(
2687
+ :S,
2688
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2689
+ )
2690
+ Z =
2691
+ T.let(
2692
+ :Z,
2693
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2694
+ )
2695
+ G =
2696
+ T.let(
2697
+ :G,
2698
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2699
+ )
2700
+ O =
2701
+ T.let(
2702
+ :O,
2703
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2704
+ )
2705
+ K =
2706
+ T.let(
2707
+ :K,
2708
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2709
+ )
2710
+ L =
2711
+ T.let(
2712
+ :L,
2713
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2714
+ )
2715
+ M =
2716
+ T.let(
2717
+ :M,
2718
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2719
+ )
2720
+ B =
2721
+ T.let(
2722
+ :B,
2723
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2724
+ )
2725
+
2726
+ sig do
2727
+ override.returns(
2728
+ T::Array[
2729
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
2730
+ ]
2731
+ )
2732
+ end
2733
+ def self.values
2734
+ end
2735
+ end
2736
+
2737
+ # The VAT rate, represented as percentage that applies to the allowance. Must be
2738
+ # rounded to maximum 2 decimals
2739
+ module TaxRate
2740
+ extend EInvoiceAPI::Internal::Type::Union
2741
+
2742
+ Variants = T.type_alias { T.any(Float, String) }
2743
+
2744
+ sig do
2745
+ override.returns(
2746
+ T::Array[
2747
+ EInvoiceAPI::DocumentCreate::Item::Allowance::TaxRate::Variants
2748
+ ]
2749
+ )
2750
+ end
2751
+ def self.variants
2752
+ end
2753
+ end
2754
+ end
2755
+
2756
+ # The invoice line net amount (BT-131), exclusive of VAT, inclusive of line level
2757
+ # allowances and charges. Calculated as: ((unit_price / price_base_quantity) \*
2758
+ # quantity) - allowances + charges. Must be rounded to maximum 2 decimals. Can be
2759
+ # negative for credit notes or corrections.
2760
+ module Amount
2761
+ extend EInvoiceAPI::Internal::Type::Union
2762
+
2763
+ Variants = T.type_alias { T.any(Float, String) }
2764
+
2765
+ sig do
2766
+ override.returns(
2767
+ T::Array[EInvoiceAPI::DocumentCreate::Item::Amount::Variants]
2768
+ )
2769
+ end
2770
+ def self.variants
2771
+ end
2772
+ end
2773
+
2774
+ class Charge < EInvoiceAPI::Internal::Type::BaseModel
2775
+ OrHash =
2776
+ T.type_alias do
2777
+ T.any(
2778
+ EInvoiceAPI::DocumentCreate::Item::Charge,
2779
+ EInvoiceAPI::Internal::AnyHash
2780
+ )
2781
+ end
1120
2782
 
1121
- sig do
1122
- params(
1123
- allowances:
2783
+ # The charge amount, without VAT. Must be rounded to maximum 2 decimals
2784
+ sig do
2785
+ returns(
1124
2786
  T.nilable(
1125
- T::Array[EInvoiceAPI::DocumentCreate::Item::Allowance::OrHash]
1126
- ),
1127
- amount:
1128
- T.nilable(EInvoiceAPI::DocumentCreate::Item::Amount::Variants),
1129
- charges:
2787
+ EInvoiceAPI::DocumentCreate::Item::Charge::Amount::Variants
2788
+ )
2789
+ )
2790
+ end
2791
+ attr_accessor :amount
2792
+
2793
+ # The base amount that may be used, in conjunction with the charge percentage, to
2794
+ # calculate the charge amount. Must be rounded to maximum 2 decimals
2795
+ sig do
2796
+ returns(
1130
2797
  T.nilable(
1131
- T::Array[EInvoiceAPI::DocumentCreate::Item::Charge::OrHash]
1132
- ),
1133
- date: NilClass,
1134
- description: T.nilable(String),
1135
- product_code: T.nilable(String),
1136
- quantity:
1137
- T.nilable(EInvoiceAPI::DocumentCreate::Item::Quantity::Variants),
1138
- tax: T.nilable(EInvoiceAPI::DocumentCreate::Item::Tax::Variants),
1139
- tax_rate: T.nilable(String),
1140
- unit: T.nilable(EInvoiceAPI::UnitOfMeasureCode::OrSymbol),
1141
- unit_price:
1142
- T.nilable(EInvoiceAPI::DocumentCreate::Item::UnitPrice::Variants)
1143
- ).returns(T.attached_class)
1144
- end
1145
- def self.new(
1146
- # The allowances of the line item.
1147
- allowances: nil,
1148
- # The total amount of the line item, exclusive of VAT, after subtracting line
1149
- # level allowances and adding line level charges. Must be rounded to maximum 2
1150
- # decimals
1151
- amount: nil,
1152
- # The charges of the line item.
1153
- charges: nil,
1154
- date: nil,
1155
- # The description of the line item.
1156
- description: nil,
1157
- # The product code of the line item.
1158
- product_code: nil,
1159
- # The quantity of items (goods or services) that is the subject of the line item.
1160
- # Must be rounded to maximum 4 decimals
1161
- quantity: nil,
1162
- # The total VAT amount for the line item. Must be rounded to maximum 2 decimals
1163
- tax: nil,
1164
- # The VAT rate of the line item expressed as percentage with 2 decimals
1165
- tax_rate: nil,
1166
- # Unit of Measure Codes from UNECERec20 used in Peppol BIS Billing 3.0.
1167
- unit: nil,
1168
- # The unit price of the line item. Must be rounded to maximum 2 decimals
1169
- unit_price: nil
1170
- )
1171
- end
2798
+ EInvoiceAPI::DocumentCreate::Item::Charge::BaseAmount::Variants
2799
+ )
2800
+ )
2801
+ end
2802
+ attr_accessor :base_amount
1172
2803
 
1173
- sig do
1174
- override.returns(
1175
- {
1176
- allowances:
2804
+ # The percentage that may be used, in conjunction with the charge base amount, to
2805
+ # calculate the charge amount. To state 20%, use value 20
2806
+ sig do
2807
+ returns(
2808
+ T.nilable(
2809
+ EInvoiceAPI::DocumentCreate::Item::Charge::MultiplierFactor::Variants
2810
+ )
2811
+ )
2812
+ end
2813
+ attr_accessor :multiplier_factor
2814
+
2815
+ # The reason for the charge
2816
+ sig { returns(T.nilable(String)) }
2817
+ attr_accessor :reason
2818
+
2819
+ # Charge reason codes for invoice charges and fees
2820
+ sig do
2821
+ returns(
2822
+ T.nilable(
2823
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::OrSymbol
2824
+ )
2825
+ )
2826
+ end
2827
+ attr_accessor :reason_code
2828
+
2829
+ # Duty or tax or fee category codes (Subset of UNCL5305)
2830
+ #
2831
+ # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
2832
+ sig do
2833
+ returns(
2834
+ T.nilable(
2835
+ EInvoiceAPI::DocumentCreate::Item::Charge::TaxCode::OrSymbol
2836
+ )
2837
+ )
2838
+ end
2839
+ attr_accessor :tax_code
2840
+
2841
+ # The VAT rate, represented as percentage that applies to the charge
2842
+ sig do
2843
+ returns(
2844
+ T.nilable(
2845
+ EInvoiceAPI::DocumentCreate::Item::Charge::TaxRate::Variants
2846
+ )
2847
+ )
2848
+ end
2849
+ attr_accessor :tax_rate
2850
+
2851
+ # A charge is an additional fee for example for late payment, late delivery, etc.
2852
+ sig do
2853
+ params(
2854
+ amount:
1177
2855
  T.nilable(
1178
- T::Array[EInvoiceAPI::DocumentCreate::Item::Allowance]
2856
+ EInvoiceAPI::DocumentCreate::Item::Charge::Amount::Variants
1179
2857
  ),
1180
- amount:
1181
- T.nilable(EInvoiceAPI::DocumentCreate::Item::Amount::Variants),
1182
- charges:
1183
- T.nilable(T::Array[EInvoiceAPI::DocumentCreate::Item::Charge]),
1184
- date: NilClass,
1185
- description: T.nilable(String),
1186
- product_code: T.nilable(String),
1187
- quantity:
2858
+ base_amount:
1188
2859
  T.nilable(
1189
- EInvoiceAPI::DocumentCreate::Item::Quantity::Variants
2860
+ EInvoiceAPI::DocumentCreate::Item::Charge::BaseAmount::Variants
1190
2861
  ),
1191
- tax: T.nilable(EInvoiceAPI::DocumentCreate::Item::Tax::Variants),
1192
- tax_rate: T.nilable(String),
1193
- unit: T.nilable(EInvoiceAPI::UnitOfMeasureCode::OrSymbol),
1194
- unit_price:
2862
+ multiplier_factor:
1195
2863
  T.nilable(
1196
- EInvoiceAPI::DocumentCreate::Item::UnitPrice::Variants
2864
+ EInvoiceAPI::DocumentCreate::Item::Charge::MultiplierFactor::Variants
2865
+ ),
2866
+ reason: T.nilable(String),
2867
+ reason_code:
2868
+ T.nilable(
2869
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::OrSymbol
2870
+ ),
2871
+ tax_code:
2872
+ T.nilable(
2873
+ EInvoiceAPI::DocumentCreate::Item::Charge::TaxCode::OrSymbol
2874
+ ),
2875
+ tax_rate:
2876
+ T.nilable(
2877
+ EInvoiceAPI::DocumentCreate::Item::Charge::TaxRate::Variants
2878
+ )
2879
+ ).returns(T.attached_class)
2880
+ end
2881
+ def self.new(
2882
+ # The charge amount, without VAT. Must be rounded to maximum 2 decimals
2883
+ amount: nil,
2884
+ # The base amount that may be used, in conjunction with the charge percentage, to
2885
+ # calculate the charge amount. Must be rounded to maximum 2 decimals
2886
+ base_amount: nil,
2887
+ # The percentage that may be used, in conjunction with the charge base amount, to
2888
+ # calculate the charge amount. To state 20%, use value 20
2889
+ multiplier_factor: nil,
2890
+ # The reason for the charge
2891
+ reason: nil,
2892
+ # Charge reason codes for invoice charges and fees
2893
+ reason_code: nil,
2894
+ # Duty or tax or fee category codes (Subset of UNCL5305)
2895
+ #
2896
+ # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
2897
+ tax_code: nil,
2898
+ # The VAT rate, represented as percentage that applies to the charge
2899
+ tax_rate: nil
2900
+ )
2901
+ end
2902
+
2903
+ sig do
2904
+ override.returns(
2905
+ {
2906
+ amount:
2907
+ T.nilable(
2908
+ EInvoiceAPI::DocumentCreate::Item::Charge::Amount::Variants
2909
+ ),
2910
+ base_amount:
2911
+ T.nilable(
2912
+ EInvoiceAPI::DocumentCreate::Item::Charge::BaseAmount::Variants
2913
+ ),
2914
+ multiplier_factor:
2915
+ T.nilable(
2916
+ EInvoiceAPI::DocumentCreate::Item::Charge::MultiplierFactor::Variants
2917
+ ),
2918
+ reason: T.nilable(String),
2919
+ reason_code:
2920
+ T.nilable(
2921
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::OrSymbol
2922
+ ),
2923
+ tax_code:
2924
+ T.nilable(
2925
+ EInvoiceAPI::DocumentCreate::Item::Charge::TaxCode::OrSymbol
2926
+ ),
2927
+ tax_rate:
2928
+ T.nilable(
2929
+ EInvoiceAPI::DocumentCreate::Item::Charge::TaxRate::Variants
2930
+ )
2931
+ }
2932
+ )
2933
+ end
2934
+ def to_hash
2935
+ end
2936
+
2937
+ # The charge amount, without VAT. Must be rounded to maximum 2 decimals
2938
+ module Amount
2939
+ extend EInvoiceAPI::Internal::Type::Union
2940
+
2941
+ Variants = T.type_alias { T.any(Float, String) }
2942
+
2943
+ sig do
2944
+ override.returns(
2945
+ T::Array[
2946
+ EInvoiceAPI::DocumentCreate::Item::Charge::Amount::Variants
2947
+ ]
2948
+ )
2949
+ end
2950
+ def self.variants
2951
+ end
2952
+ end
2953
+
2954
+ # The base amount that may be used, in conjunction with the charge percentage, to
2955
+ # calculate the charge amount. Must be rounded to maximum 2 decimals
2956
+ module BaseAmount
2957
+ extend EInvoiceAPI::Internal::Type::Union
2958
+
2959
+ Variants = T.type_alias { T.any(Float, String) }
2960
+
2961
+ sig do
2962
+ override.returns(
2963
+ T::Array[
2964
+ EInvoiceAPI::DocumentCreate::Item::Charge::BaseAmount::Variants
2965
+ ]
2966
+ )
2967
+ end
2968
+ def self.variants
2969
+ end
2970
+ end
2971
+
2972
+ # The percentage that may be used, in conjunction with the charge base amount, to
2973
+ # calculate the charge amount. To state 20%, use value 20
2974
+ module MultiplierFactor
2975
+ extend EInvoiceAPI::Internal::Type::Union
2976
+
2977
+ Variants = T.type_alias { T.any(Float, String) }
2978
+
2979
+ sig do
2980
+ override.returns(
2981
+ T::Array[
2982
+ EInvoiceAPI::DocumentCreate::Item::Charge::MultiplierFactor::Variants
2983
+ ]
2984
+ )
2985
+ end
2986
+ def self.variants
2987
+ end
2988
+ end
2989
+
2990
+ # Charge reason codes for invoice charges and fees
2991
+ module ReasonCode
2992
+ extend EInvoiceAPI::Internal::Type::Enum
2993
+
2994
+ TaggedSymbol =
2995
+ T.type_alias do
2996
+ T.all(
2997
+ Symbol,
2998
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode
1197
2999
  )
1198
- }
1199
- )
1200
- end
1201
- def to_hash
1202
- end
3000
+ end
3001
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1203
3002
 
1204
- class Allowance < EInvoiceAPI::Internal::Type::BaseModel
1205
- OrHash =
1206
- T.type_alias do
1207
- T.any(
1208
- EInvoiceAPI::DocumentCreate::Item::Allowance,
1209
- EInvoiceAPI::Internal::AnyHash
3003
+ AA =
3004
+ T.let(
3005
+ :AA,
3006
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3007
+ )
3008
+ AAA =
3009
+ T.let(
3010
+ :AAA,
3011
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3012
+ )
3013
+ AAC =
3014
+ T.let(
3015
+ :AAC,
3016
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3017
+ )
3018
+ AAD =
3019
+ T.let(
3020
+ :AAD,
3021
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3022
+ )
3023
+ AAE =
3024
+ T.let(
3025
+ :AAE,
3026
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3027
+ )
3028
+ AAF =
3029
+ T.let(
3030
+ :AAF,
3031
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3032
+ )
3033
+ AAH =
3034
+ T.let(
3035
+ :AAH,
3036
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3037
+ )
3038
+ AAI =
3039
+ T.let(
3040
+ :AAI,
3041
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3042
+ )
3043
+ AAS =
3044
+ T.let(
3045
+ :AAS,
3046
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3047
+ )
3048
+ AAT =
3049
+ T.let(
3050
+ :AAT,
3051
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3052
+ )
3053
+ AAV =
3054
+ T.let(
3055
+ :AAV,
3056
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3057
+ )
3058
+ AAY =
3059
+ T.let(
3060
+ :AAY,
3061
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3062
+ )
3063
+ AAZ =
3064
+ T.let(
3065
+ :AAZ,
3066
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3067
+ )
3068
+ ABA =
3069
+ T.let(
3070
+ :ABA,
3071
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3072
+ )
3073
+ ABB =
3074
+ T.let(
3075
+ :ABB,
3076
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3077
+ )
3078
+ ABC =
3079
+ T.let(
3080
+ :ABC,
3081
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3082
+ )
3083
+ ABD =
3084
+ T.let(
3085
+ :ABD,
3086
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3087
+ )
3088
+ ABF =
3089
+ T.let(
3090
+ :ABF,
3091
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3092
+ )
3093
+ ABK =
3094
+ T.let(
3095
+ :ABK,
3096
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3097
+ )
3098
+ ABL =
3099
+ T.let(
3100
+ :ABL,
3101
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3102
+ )
3103
+ ABN =
3104
+ T.let(
3105
+ :ABN,
3106
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3107
+ )
3108
+ ABR =
3109
+ T.let(
3110
+ :ABR,
3111
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3112
+ )
3113
+ ABS =
3114
+ T.let(
3115
+ :ABS,
3116
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3117
+ )
3118
+ ABT =
3119
+ T.let(
3120
+ :ABT,
3121
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3122
+ )
3123
+ ABU =
3124
+ T.let(
3125
+ :ABU,
3126
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3127
+ )
3128
+ ACF =
3129
+ T.let(
3130
+ :ACF,
3131
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3132
+ )
3133
+ ACG =
3134
+ T.let(
3135
+ :ACG,
3136
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3137
+ )
3138
+ ACH =
3139
+ T.let(
3140
+ :ACH,
3141
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3142
+ )
3143
+ ACI =
3144
+ T.let(
3145
+ :ACI,
3146
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3147
+ )
3148
+ ACJ =
3149
+ T.let(
3150
+ :ACJ,
3151
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3152
+ )
3153
+ ACK =
3154
+ T.let(
3155
+ :ACK,
3156
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3157
+ )
3158
+ ACL =
3159
+ T.let(
3160
+ :ACL,
3161
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3162
+ )
3163
+ ACM =
3164
+ T.let(
3165
+ :ACM,
3166
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3167
+ )
3168
+ ACS =
3169
+ T.let(
3170
+ :ACS,
3171
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3172
+ )
3173
+ ADC =
3174
+ T.let(
3175
+ :ADC,
3176
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3177
+ )
3178
+ ADE =
3179
+ T.let(
3180
+ :ADE,
3181
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3182
+ )
3183
+ ADJ =
3184
+ T.let(
3185
+ :ADJ,
3186
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3187
+ )
3188
+ ADK =
3189
+ T.let(
3190
+ :ADK,
3191
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3192
+ )
3193
+ ADL =
3194
+ T.let(
3195
+ :ADL,
3196
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3197
+ )
3198
+ ADM =
3199
+ T.let(
3200
+ :ADM,
3201
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3202
+ )
3203
+ ADN =
3204
+ T.let(
3205
+ :ADN,
3206
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3207
+ )
3208
+ ADO =
3209
+ T.let(
3210
+ :ADO,
3211
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3212
+ )
3213
+ ADP =
3214
+ T.let(
3215
+ :ADP,
3216
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3217
+ )
3218
+ ADQ =
3219
+ T.let(
3220
+ :ADQ,
3221
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3222
+ )
3223
+ ADR =
3224
+ T.let(
3225
+ :ADR,
3226
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3227
+ )
3228
+ ADT =
3229
+ T.let(
3230
+ :ADT,
3231
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3232
+ )
3233
+ ADW =
3234
+ T.let(
3235
+ :ADW,
3236
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3237
+ )
3238
+ ADY =
3239
+ T.let(
3240
+ :ADY,
3241
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3242
+ )
3243
+ ADZ =
3244
+ T.let(
3245
+ :ADZ,
3246
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3247
+ )
3248
+ AEA =
3249
+ T.let(
3250
+ :AEA,
3251
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3252
+ )
3253
+ AEB =
3254
+ T.let(
3255
+ :AEB,
3256
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3257
+ )
3258
+ AEC =
3259
+ T.let(
3260
+ :AEC,
3261
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3262
+ )
3263
+ AED =
3264
+ T.let(
3265
+ :AED,
3266
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3267
+ )
3268
+ AEF =
3269
+ T.let(
3270
+ :AEF,
3271
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3272
+ )
3273
+ AEH =
3274
+ T.let(
3275
+ :AEH,
3276
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3277
+ )
3278
+ AEI =
3279
+ T.let(
3280
+ :AEI,
3281
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3282
+ )
3283
+ AEJ =
3284
+ T.let(
3285
+ :AEJ,
3286
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3287
+ )
3288
+ AEK =
3289
+ T.let(
3290
+ :AEK,
3291
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3292
+ )
3293
+ AEL =
3294
+ T.let(
3295
+ :AEL,
3296
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3297
+ )
3298
+ AEM =
3299
+ T.let(
3300
+ :AEM,
3301
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3302
+ )
3303
+ AEN =
3304
+ T.let(
3305
+ :AEN,
3306
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3307
+ )
3308
+ AEO =
3309
+ T.let(
3310
+ :AEO,
3311
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3312
+ )
3313
+ AEP =
3314
+ T.let(
3315
+ :AEP,
3316
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3317
+ )
3318
+ AES =
3319
+ T.let(
3320
+ :AES,
3321
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3322
+ )
3323
+ AET =
3324
+ T.let(
3325
+ :AET,
3326
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3327
+ )
3328
+ AEU =
3329
+ T.let(
3330
+ :AEU,
3331
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3332
+ )
3333
+ AEV =
3334
+ T.let(
3335
+ :AEV,
3336
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3337
+ )
3338
+ AEW =
3339
+ T.let(
3340
+ :AEW,
3341
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3342
+ )
3343
+ AEX =
3344
+ T.let(
3345
+ :AEX,
3346
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3347
+ )
3348
+ AEY =
3349
+ T.let(
3350
+ :AEY,
3351
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3352
+ )
3353
+ AEZ =
3354
+ T.let(
3355
+ :AEZ,
3356
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3357
+ )
3358
+ AJ =
3359
+ T.let(
3360
+ :AJ,
3361
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3362
+ )
3363
+ AU =
3364
+ T.let(
3365
+ :AU,
3366
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3367
+ )
3368
+ CA =
3369
+ T.let(
3370
+ :CA,
3371
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3372
+ )
3373
+ CAB =
3374
+ T.let(
3375
+ :CAB,
3376
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3377
+ )
3378
+ CAD =
3379
+ T.let(
3380
+ :CAD,
3381
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3382
+ )
3383
+ CAE =
3384
+ T.let(
3385
+ :CAE,
3386
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3387
+ )
3388
+ CAF =
3389
+ T.let(
3390
+ :CAF,
3391
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3392
+ )
3393
+ CAI =
3394
+ T.let(
3395
+ :CAI,
3396
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3397
+ )
3398
+ CAJ =
3399
+ T.let(
3400
+ :CAJ,
3401
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3402
+ )
3403
+ CAK =
3404
+ T.let(
3405
+ :CAK,
3406
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3407
+ )
3408
+ CAL =
3409
+ T.let(
3410
+ :CAL,
3411
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3412
+ )
3413
+ CAM =
3414
+ T.let(
3415
+ :CAM,
3416
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3417
+ )
3418
+ CAN =
3419
+ T.let(
3420
+ :CAN,
3421
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3422
+ )
3423
+ CAO =
3424
+ T.let(
3425
+ :CAO,
3426
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3427
+ )
3428
+ CAP =
3429
+ T.let(
3430
+ :CAP,
3431
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3432
+ )
3433
+ CAQ =
3434
+ T.let(
3435
+ :CAQ,
3436
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3437
+ )
3438
+ CAR =
3439
+ T.let(
3440
+ :CAR,
3441
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3442
+ )
3443
+ CAS =
3444
+ T.let(
3445
+ :CAS,
3446
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3447
+ )
3448
+ CAT =
3449
+ T.let(
3450
+ :CAT,
3451
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3452
+ )
3453
+ CAU =
3454
+ T.let(
3455
+ :CAU,
3456
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3457
+ )
3458
+ CAV =
3459
+ T.let(
3460
+ :CAV,
3461
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3462
+ )
3463
+ CAW =
3464
+ T.let(
3465
+ :CAW,
3466
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3467
+ )
3468
+ CAX =
3469
+ T.let(
3470
+ :CAX,
3471
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3472
+ )
3473
+ CAY =
3474
+ T.let(
3475
+ :CAY,
3476
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3477
+ )
3478
+ CAZ =
3479
+ T.let(
3480
+ :CAZ,
3481
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3482
+ )
3483
+ CD =
3484
+ T.let(
3485
+ :CD,
3486
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3487
+ )
3488
+ CG =
3489
+ T.let(
3490
+ :CG,
3491
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3492
+ )
3493
+ CS =
3494
+ T.let(
3495
+ :CS,
3496
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3497
+ )
3498
+ CT =
3499
+ T.let(
3500
+ :CT,
3501
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3502
+ )
3503
+ DAB =
3504
+ T.let(
3505
+ :DAB,
3506
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3507
+ )
3508
+ DAC =
3509
+ T.let(
3510
+ :DAC,
3511
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3512
+ )
3513
+ DAD =
3514
+ T.let(
3515
+ :DAD,
3516
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3517
+ )
3518
+ DAF =
3519
+ T.let(
3520
+ :DAF,
3521
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3522
+ )
3523
+ DAG =
3524
+ T.let(
3525
+ :DAG,
3526
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3527
+ )
3528
+ DAH =
3529
+ T.let(
3530
+ :DAH,
3531
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3532
+ )
3533
+ DAI =
3534
+ T.let(
3535
+ :DAI,
3536
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3537
+ )
3538
+ DAJ =
3539
+ T.let(
3540
+ :DAJ,
3541
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3542
+ )
3543
+ DAK =
3544
+ T.let(
3545
+ :DAK,
3546
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3547
+ )
3548
+ DAL =
3549
+ T.let(
3550
+ :DAL,
3551
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3552
+ )
3553
+ DAM =
3554
+ T.let(
3555
+ :DAM,
3556
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3557
+ )
3558
+ DAN =
3559
+ T.let(
3560
+ :DAN,
3561
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3562
+ )
3563
+ DAO =
3564
+ T.let(
3565
+ :DAO,
3566
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3567
+ )
3568
+ DAP =
3569
+ T.let(
3570
+ :DAP,
3571
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3572
+ )
3573
+ DAQ =
3574
+ T.let(
3575
+ :DAQ,
3576
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3577
+ )
3578
+ DL =
3579
+ T.let(
3580
+ :DL,
3581
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3582
+ )
3583
+ EG =
3584
+ T.let(
3585
+ :EG,
3586
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3587
+ )
3588
+ EP =
3589
+ T.let(
3590
+ :EP,
3591
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3592
+ )
3593
+ ER =
3594
+ T.let(
3595
+ :ER,
3596
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3597
+ )
3598
+ FAA =
3599
+ T.let(
3600
+ :FAA,
3601
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3602
+ )
3603
+ FAB =
3604
+ T.let(
3605
+ :FAB,
3606
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3607
+ )
3608
+ FAC =
3609
+ T.let(
3610
+ :FAC,
3611
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1210
3612
  )
1211
- end
1212
-
1213
- # The allowance amount, without VAT. Must be rounded to maximum 2 decimals
1214
- sig do
1215
- returns(
1216
- T.nilable(
1217
- EInvoiceAPI::DocumentCreate::Item::Allowance::Amount::Variants
3613
+ FC =
3614
+ T.let(
3615
+ :FC,
3616
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1218
3617
  )
1219
- )
1220
- end
1221
- attr_accessor :amount
1222
-
1223
- # The base amount that may be used, in conjunction with the allowance percentage,
1224
- # to calculate the allowance amount. Must be rounded to maximum 2 decimals
1225
- sig do
1226
- returns(
1227
- T.nilable(
1228
- EInvoiceAPI::DocumentCreate::Item::Allowance::BaseAmount::Variants
3618
+ FH =
3619
+ T.let(
3620
+ :FH,
3621
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1229
3622
  )
1230
- )
1231
- end
1232
- attr_accessor :base_amount
1233
-
1234
- # The percentage that may be used, in conjunction with the allowance base amount,
1235
- # to calculate the allowance amount. To state 20%, use value 20
1236
- sig do
1237
- returns(
1238
- T.nilable(
1239
- EInvoiceAPI::DocumentCreate::Item::Allowance::MultiplierFactor::Variants
3623
+ FI =
3624
+ T.let(
3625
+ :FI,
3626
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1240
3627
  )
1241
- )
1242
- end
1243
- attr_accessor :multiplier_factor
1244
-
1245
- # The reason for the allowance
1246
- sig { returns(T.nilable(String)) }
1247
- attr_accessor :reason
1248
-
1249
- # The code for the allowance reason
1250
- sig { returns(T.nilable(String)) }
1251
- attr_accessor :reason_code
1252
-
1253
- # Duty or tax or fee category codes (Subset of UNCL5305)
1254
- #
1255
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
1256
- sig do
1257
- returns(
1258
- T.nilable(
1259
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::OrSymbol
3628
+ GAA =
3629
+ T.let(
3630
+ :GAA,
3631
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1260
3632
  )
1261
- )
1262
- end
1263
- attr_accessor :tax_code
1264
-
1265
- # The VAT rate, represented as percentage that applies to the allowance
1266
- sig { returns(T.nilable(String)) }
1267
- attr_accessor :tax_rate
1268
-
1269
- # An allowance is a discount for example for early payment, volume discount, etc.
1270
- sig do
1271
- params(
1272
- amount:
1273
- T.nilable(
1274
- EInvoiceAPI::DocumentCreate::Item::Allowance::Amount::Variants
1275
- ),
1276
- base_amount:
1277
- T.nilable(
1278
- EInvoiceAPI::DocumentCreate::Item::Allowance::BaseAmount::Variants
1279
- ),
1280
- multiplier_factor:
1281
- T.nilable(
1282
- EInvoiceAPI::DocumentCreate::Item::Allowance::MultiplierFactor::Variants
1283
- ),
1284
- reason: T.nilable(String),
1285
- reason_code: T.nilable(String),
1286
- tax_code:
1287
- T.nilable(
1288
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::OrSymbol
1289
- ),
1290
- tax_rate: T.nilable(String)
1291
- ).returns(T.attached_class)
1292
- end
1293
- def self.new(
1294
- # The allowance amount, without VAT. Must be rounded to maximum 2 decimals
1295
- amount: nil,
1296
- # The base amount that may be used, in conjunction with the allowance percentage,
1297
- # to calculate the allowance amount. Must be rounded to maximum 2 decimals
1298
- base_amount: nil,
1299
- # The percentage that may be used, in conjunction with the allowance base amount,
1300
- # to calculate the allowance amount. To state 20%, use value 20
1301
- multiplier_factor: nil,
1302
- # The reason for the allowance
1303
- reason: nil,
1304
- # The code for the allowance reason
1305
- reason_code: nil,
1306
- # Duty or tax or fee category codes (Subset of UNCL5305)
1307
- #
1308
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
1309
- tax_code: nil,
1310
- # The VAT rate, represented as percentage that applies to the allowance
1311
- tax_rate: nil
1312
- )
1313
- end
1314
-
1315
- sig do
1316
- override.returns(
1317
- {
1318
- amount:
1319
- T.nilable(
1320
- EInvoiceAPI::DocumentCreate::Item::Allowance::Amount::Variants
1321
- ),
1322
- base_amount:
1323
- T.nilable(
1324
- EInvoiceAPI::DocumentCreate::Item::Allowance::BaseAmount::Variants
1325
- ),
1326
- multiplier_factor:
1327
- T.nilable(
1328
- EInvoiceAPI::DocumentCreate::Item::Allowance::MultiplierFactor::Variants
1329
- ),
1330
- reason: T.nilable(String),
1331
- reason_code: T.nilable(String),
1332
- tax_code:
1333
- T.nilable(
1334
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::OrSymbol
1335
- ),
1336
- tax_rate: T.nilable(String)
1337
- }
1338
- )
1339
- end
1340
- def to_hash
1341
- end
1342
-
1343
- # The allowance amount, without VAT. Must be rounded to maximum 2 decimals
1344
- module Amount
1345
- extend EInvoiceAPI::Internal::Type::Union
1346
-
1347
- Variants = T.type_alias { T.any(Float, String) }
1348
-
1349
- sig do
1350
- override.returns(
1351
- T::Array[
1352
- EInvoiceAPI::DocumentCreate::Item::Allowance::Amount::Variants
1353
- ]
3633
+ HAA =
3634
+ T.let(
3635
+ :HAA,
3636
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1354
3637
  )
1355
- end
1356
- def self.variants
1357
- end
1358
- end
1359
-
1360
- # The base amount that may be used, in conjunction with the allowance percentage,
1361
- # to calculate the allowance amount. Must be rounded to maximum 2 decimals
1362
- module BaseAmount
1363
- extend EInvoiceAPI::Internal::Type::Union
1364
-
1365
- Variants = T.type_alias { T.any(Float, String) }
1366
-
1367
- sig do
1368
- override.returns(
1369
- T::Array[
1370
- EInvoiceAPI::DocumentCreate::Item::Allowance::BaseAmount::Variants
1371
- ]
3638
+ HD =
3639
+ T.let(
3640
+ :HD,
3641
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1372
3642
  )
1373
- end
1374
- def self.variants
1375
- end
1376
- end
1377
-
1378
- # The percentage that may be used, in conjunction with the allowance base amount,
1379
- # to calculate the allowance amount. To state 20%, use value 20
1380
- module MultiplierFactor
1381
- extend EInvoiceAPI::Internal::Type::Union
1382
-
1383
- Variants = T.type_alias { T.any(Float, String) }
1384
-
1385
- sig do
1386
- override.returns(
1387
- T::Array[
1388
- EInvoiceAPI::DocumentCreate::Item::Allowance::MultiplierFactor::Variants
1389
- ]
3643
+ HH =
3644
+ T.let(
3645
+ :HH,
3646
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1390
3647
  )
1391
- end
1392
- def self.variants
1393
- end
1394
- end
1395
-
1396
- # Duty or tax or fee category codes (Subset of UNCL5305)
1397
- #
1398
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
1399
- module TaxCode
1400
- extend EInvoiceAPI::Internal::Type::Enum
1401
-
1402
- TaggedSymbol =
1403
- T.type_alias do
1404
- T.all(
1405
- Symbol,
1406
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode
1407
- )
1408
- end
1409
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1410
-
1411
- AE =
3648
+ IAA =
1412
3649
  T.let(
1413
- :AE,
1414
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3650
+ :IAA,
3651
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1415
3652
  )
1416
- E =
3653
+ IAB =
1417
3654
  T.let(
1418
- :E,
1419
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3655
+ :IAB,
3656
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1420
3657
  )
1421
- S =
3658
+ ID =
3659
+ T.let(
3660
+ :ID,
3661
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3662
+ )
3663
+ IF =
3664
+ T.let(
3665
+ :IF,
3666
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3667
+ )
3668
+ IR =
3669
+ T.let(
3670
+ :IR,
3671
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3672
+ )
3673
+ IS =
3674
+ T.let(
3675
+ :IS,
3676
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3677
+ )
3678
+ KO =
3679
+ T.let(
3680
+ :KO,
3681
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3682
+ )
3683
+ L1 =
3684
+ T.let(
3685
+ :L1,
3686
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3687
+ )
3688
+ LA =
3689
+ T.let(
3690
+ :LA,
3691
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3692
+ )
3693
+ LAA =
3694
+ T.let(
3695
+ :LAA,
3696
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3697
+ )
3698
+ LAB =
3699
+ T.let(
3700
+ :LAB,
3701
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3702
+ )
3703
+ LF =
3704
+ T.let(
3705
+ :LF,
3706
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3707
+ )
3708
+ MAE =
3709
+ T.let(
3710
+ :MAE,
3711
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3712
+ )
3713
+ MI =
3714
+ T.let(
3715
+ :MI,
3716
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3717
+ )
3718
+ ML =
3719
+ T.let(
3720
+ :ML,
3721
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3722
+ )
3723
+ NAA =
3724
+ T.let(
3725
+ :NAA,
3726
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3727
+ )
3728
+ OA =
3729
+ T.let(
3730
+ :OA,
3731
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3732
+ )
3733
+ PA =
3734
+ T.let(
3735
+ :PA,
3736
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3737
+ )
3738
+ PAA =
3739
+ T.let(
3740
+ :PAA,
3741
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3742
+ )
3743
+ PC =
3744
+ T.let(
3745
+ :PC,
3746
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3747
+ )
3748
+ PL =
3749
+ T.let(
3750
+ :PL,
3751
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3752
+ )
3753
+ PRV =
3754
+ T.let(
3755
+ :PRV,
3756
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3757
+ )
3758
+ RAB =
3759
+ T.let(
3760
+ :RAB,
3761
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3762
+ )
3763
+ RAC =
3764
+ T.let(
3765
+ :RAC,
3766
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3767
+ )
3768
+ RAD =
3769
+ T.let(
3770
+ :RAD,
3771
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3772
+ )
3773
+ RAF =
3774
+ T.let(
3775
+ :RAF,
3776
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3777
+ )
3778
+ RE =
3779
+ T.let(
3780
+ :RE,
3781
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3782
+ )
3783
+ RF =
3784
+ T.let(
3785
+ :RF,
3786
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3787
+ )
3788
+ RH =
3789
+ T.let(
3790
+ :RH,
3791
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3792
+ )
3793
+ RV =
3794
+ T.let(
3795
+ :RV,
3796
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3797
+ )
3798
+ SA =
3799
+ T.let(
3800
+ :SA,
3801
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3802
+ )
3803
+ SAA =
3804
+ T.let(
3805
+ :SAA,
3806
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3807
+ )
3808
+ SAD =
3809
+ T.let(
3810
+ :SAD,
3811
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
3812
+ )
3813
+ SAE =
1422
3814
  T.let(
1423
- :S,
1424
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3815
+ :SAE,
3816
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1425
3817
  )
1426
- Z =
3818
+ SAI =
1427
3819
  T.let(
1428
- :Z,
1429
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3820
+ :SAI,
3821
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1430
3822
  )
1431
- G =
3823
+ SG =
1432
3824
  T.let(
1433
- :G,
1434
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3825
+ :SG,
3826
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1435
3827
  )
1436
- O =
3828
+ SH =
1437
3829
  T.let(
1438
- :O,
1439
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3830
+ :SH,
3831
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1440
3832
  )
1441
- K =
3833
+ SM =
1442
3834
  T.let(
1443
- :K,
1444
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3835
+ :SM,
3836
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1445
3837
  )
1446
- L =
3838
+ SU =
1447
3839
  T.let(
1448
- :L,
1449
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3840
+ :SU,
3841
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1450
3842
  )
1451
- M =
3843
+ TAB =
1452
3844
  T.let(
1453
- :M,
1454
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3845
+ :TAB,
3846
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1455
3847
  )
1456
- B =
3848
+ TAC =
1457
3849
  T.let(
1458
- :B,
1459
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
3850
+ :TAC,
3851
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1460
3852
  )
1461
-
1462
- sig do
1463
- override.returns(
1464
- T::Array[
1465
- EInvoiceAPI::DocumentCreate::Item::Allowance::TaxCode::TaggedSymbol
1466
- ]
3853
+ TT =
3854
+ T.let(
3855
+ :TT,
3856
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1467
3857
  )
1468
- end
1469
- def self.values
1470
- end
1471
- end
1472
- end
1473
-
1474
- # The total amount of the line item, exclusive of VAT, after subtracting line
1475
- # level allowances and adding line level charges. Must be rounded to maximum 2
1476
- # decimals
1477
- module Amount
1478
- extend EInvoiceAPI::Internal::Type::Union
1479
-
1480
- Variants = T.type_alias { T.any(Float, String) }
1481
-
1482
- sig do
1483
- override.returns(
1484
- T::Array[EInvoiceAPI::DocumentCreate::Item::Amount::Variants]
1485
- )
1486
- end
1487
- def self.variants
1488
- end
1489
- end
1490
-
1491
- class Charge < EInvoiceAPI::Internal::Type::BaseModel
1492
- OrHash =
1493
- T.type_alias do
1494
- T.any(
1495
- EInvoiceAPI::DocumentCreate::Item::Charge,
1496
- EInvoiceAPI::Internal::AnyHash
3858
+ TV =
3859
+ T.let(
3860
+ :TV,
3861
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1497
3862
  )
1498
- end
1499
-
1500
- # The charge amount, without VAT. Must be rounded to maximum 2 decimals
1501
- sig do
1502
- returns(
1503
- T.nilable(
1504
- EInvoiceAPI::DocumentCreate::Item::Charge::Amount::Variants
3863
+ V1 =
3864
+ T.let(
3865
+ :V1,
3866
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1505
3867
  )
1506
- )
1507
- end
1508
- attr_accessor :amount
1509
-
1510
- # The base amount that may be used, in conjunction with the charge percentage, to
1511
- # calculate the charge amount. Must be rounded to maximum 2 decimals
1512
- sig do
1513
- returns(
1514
- T.nilable(
1515
- EInvoiceAPI::DocumentCreate::Item::Charge::BaseAmount::Variants
3868
+ V2 =
3869
+ T.let(
3870
+ :V2,
3871
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1516
3872
  )
1517
- )
1518
- end
1519
- attr_accessor :base_amount
1520
-
1521
- # The percentage that may be used, in conjunction with the charge base amount, to
1522
- # calculate the charge amount. To state 20%, use value 20
1523
- sig do
1524
- returns(
1525
- T.nilable(
1526
- EInvoiceAPI::DocumentCreate::Item::Charge::MultiplierFactor::Variants
3873
+ WH =
3874
+ T.let(
3875
+ :WH,
3876
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1527
3877
  )
1528
- )
1529
- end
1530
- attr_accessor :multiplier_factor
1531
-
1532
- # The reason for the charge
1533
- sig { returns(T.nilable(String)) }
1534
- attr_accessor :reason
1535
-
1536
- # The code for the charge reason
1537
- sig { returns(T.nilable(String)) }
1538
- attr_accessor :reason_code
1539
-
1540
- # Duty or tax or fee category codes (Subset of UNCL5305)
1541
- #
1542
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
1543
- sig do
1544
- returns(
1545
- T.nilable(
1546
- EInvoiceAPI::DocumentCreate::Item::Charge::TaxCode::OrSymbol
3878
+ XAA =
3879
+ T.let(
3880
+ :XAA,
3881
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1547
3882
  )
1548
- )
1549
- end
1550
- attr_accessor :tax_code
1551
-
1552
- # The VAT rate, represented as percentage that applies to the charge
1553
- sig { returns(T.nilable(String)) }
1554
- attr_accessor :tax_rate
1555
-
1556
- # A charge is an additional fee for example for late payment, late delivery, etc.
1557
- sig do
1558
- params(
1559
- amount:
1560
- T.nilable(
1561
- EInvoiceAPI::DocumentCreate::Item::Charge::Amount::Variants
1562
- ),
1563
- base_amount:
1564
- T.nilable(
1565
- EInvoiceAPI::DocumentCreate::Item::Charge::BaseAmount::Variants
1566
- ),
1567
- multiplier_factor:
1568
- T.nilable(
1569
- EInvoiceAPI::DocumentCreate::Item::Charge::MultiplierFactor::Variants
1570
- ),
1571
- reason: T.nilable(String),
1572
- reason_code: T.nilable(String),
1573
- tax_code:
1574
- T.nilable(
1575
- EInvoiceAPI::DocumentCreate::Item::Charge::TaxCode::OrSymbol
1576
- ),
1577
- tax_rate: T.nilable(String)
1578
- ).returns(T.attached_class)
1579
- end
1580
- def self.new(
1581
- # The charge amount, without VAT. Must be rounded to maximum 2 decimals
1582
- amount: nil,
1583
- # The base amount that may be used, in conjunction with the charge percentage, to
1584
- # calculate the charge amount. Must be rounded to maximum 2 decimals
1585
- base_amount: nil,
1586
- # The percentage that may be used, in conjunction with the charge base amount, to
1587
- # calculate the charge amount. To state 20%, use value 20
1588
- multiplier_factor: nil,
1589
- # The reason for the charge
1590
- reason: nil,
1591
- # The code for the charge reason
1592
- reason_code: nil,
1593
- # Duty or tax or fee category codes (Subset of UNCL5305)
1594
- #
1595
- # Agency: UN/CEFACT Version: D.16B Subset: OpenPEPPOL
1596
- tax_code: nil,
1597
- # The VAT rate, represented as percentage that applies to the charge
1598
- tax_rate: nil
1599
- )
1600
- end
1601
-
1602
- sig do
1603
- override.returns(
1604
- {
1605
- amount:
1606
- T.nilable(
1607
- EInvoiceAPI::DocumentCreate::Item::Charge::Amount::Variants
1608
- ),
1609
- base_amount:
1610
- T.nilable(
1611
- EInvoiceAPI::DocumentCreate::Item::Charge::BaseAmount::Variants
1612
- ),
1613
- multiplier_factor:
1614
- T.nilable(
1615
- EInvoiceAPI::DocumentCreate::Item::Charge::MultiplierFactor::Variants
1616
- ),
1617
- reason: T.nilable(String),
1618
- reason_code: T.nilable(String),
1619
- tax_code:
1620
- T.nilable(
1621
- EInvoiceAPI::DocumentCreate::Item::Charge::TaxCode::OrSymbol
1622
- ),
1623
- tax_rate: T.nilable(String)
1624
- }
1625
- )
1626
- end
1627
- def to_hash
1628
- end
1629
-
1630
- # The charge amount, without VAT. Must be rounded to maximum 2 decimals
1631
- module Amount
1632
- extend EInvoiceAPI::Internal::Type::Union
1633
-
1634
- Variants = T.type_alias { T.any(Float, String) }
1635
-
1636
- sig do
1637
- override.returns(
1638
- T::Array[
1639
- EInvoiceAPI::DocumentCreate::Item::Charge::Amount::Variants
1640
- ]
3883
+ YY =
3884
+ T.let(
3885
+ :YY,
3886
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1641
3887
  )
1642
- end
1643
- def self.variants
1644
- end
1645
- end
1646
-
1647
- # The base amount that may be used, in conjunction with the charge percentage, to
1648
- # calculate the charge amount. Must be rounded to maximum 2 decimals
1649
- module BaseAmount
1650
- extend EInvoiceAPI::Internal::Type::Union
1651
-
1652
- Variants = T.type_alias { T.any(Float, String) }
1653
-
1654
- sig do
1655
- override.returns(
1656
- T::Array[
1657
- EInvoiceAPI::DocumentCreate::Item::Charge::BaseAmount::Variants
1658
- ]
3888
+ ZZZ =
3889
+ T.let(
3890
+ :ZZZ,
3891
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1659
3892
  )
1660
- end
1661
- def self.variants
1662
- end
1663
- end
1664
-
1665
- # The percentage that may be used, in conjunction with the charge base amount, to
1666
- # calculate the charge amount. To state 20%, use value 20
1667
- module MultiplierFactor
1668
- extend EInvoiceAPI::Internal::Type::Union
1669
-
1670
- Variants = T.type_alias { T.any(Float, String) }
1671
3893
 
1672
3894
  sig do
1673
3895
  override.returns(
1674
3896
  T::Array[
1675
- EInvoiceAPI::DocumentCreate::Item::Charge::MultiplierFactor::Variants
3897
+ EInvoiceAPI::DocumentCreate::Item::Charge::ReasonCode::TaggedSymbol
1676
3898
  ]
1677
3899
  )
1678
3900
  end
1679
- def self.variants
3901
+ def self.values
1680
3902
  end
1681
3903
  end
1682
3904
 
@@ -1756,10 +3978,28 @@ module EInvoiceAPI
1756
3978
  def self.values
1757
3979
  end
1758
3980
  end
3981
+
3982
+ # The VAT rate, represented as percentage that applies to the charge
3983
+ module TaxRate
3984
+ extend EInvoiceAPI::Internal::Type::Union
3985
+
3986
+ Variants = T.type_alias { T.any(Float, String) }
3987
+
3988
+ sig do
3989
+ override.returns(
3990
+ T::Array[
3991
+ EInvoiceAPI::DocumentCreate::Item::Charge::TaxRate::Variants
3992
+ ]
3993
+ )
3994
+ end
3995
+ def self.variants
3996
+ end
3997
+ end
1759
3998
  end
1760
3999
 
1761
4000
  # The quantity of items (goods or services) that is the subject of the line item.
1762
- # Must be rounded to maximum 4 decimals
4001
+ # Must be rounded to maximum 4 decimals. Can be negative for credit notes or
4002
+ # corrections.
1763
4003
  module Quantity
1764
4004
  extend EInvoiceAPI::Internal::Type::Union
1765
4005
 
@@ -1774,7 +4014,8 @@ module EInvoiceAPI
1774
4014
  end
1775
4015
  end
1776
4016
 
1777
- # The total VAT amount for the line item. Must be rounded to maximum 2 decimals
4017
+ # The total VAT amount for the line item. Must be rounded to maximum 2 decimals.
4018
+ # Can be negative for credit notes or corrections.
1778
4019
  module Tax
1779
4020
  extend EInvoiceAPI::Internal::Type::Union
1780
4021
 
@@ -1789,7 +4030,23 @@ module EInvoiceAPI
1789
4030
  end
1790
4031
  end
1791
4032
 
1792
- # The unit price of the line item. Must be rounded to maximum 2 decimals
4033
+ # The VAT rate of the line item expressed as percentage with 2 decimals
4034
+ module TaxRate
4035
+ extend EInvoiceAPI::Internal::Type::Union
4036
+
4037
+ Variants = T.type_alias { T.any(Float, String) }
4038
+
4039
+ sig do
4040
+ override.returns(
4041
+ T::Array[EInvoiceAPI::DocumentCreate::Item::TaxRate::Variants]
4042
+ )
4043
+ end
4044
+ def self.variants
4045
+ end
4046
+ end
4047
+
4048
+ # The item net price (BT-146). The price of an item, exclusive of VAT, after
4049
+ # subtracting item price discount. Must be rounded to maximum 4 decimals
1793
4050
  module UnitPrice
1794
4051
  extend EInvoiceAPI::Internal::Type::Union
1795
4052