e-invoice-api 0.12.0 → 0.13.0

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