digicust_types 1.8.139 → 1.8.140

Sign up to get free protection for your applications and to get access to all the features.
@@ -135,6 +135,8 @@ export interface ExecutionStrategy {
135
135
  * The input JSON object looks like this:
136
136
  *
137
137
  * {
138
+ * "tariffNumber": "1234567890",
139
+ * "quantity": 1234,
138
140
  * "tariffNumberDescription": "Einrichtungen, Maschinen, Apparate und Geräte zur Kälteerzeugung",
139
141
  * "lineItemDescription": "Orsiro Mission 2.5/9 PTCA-Stents ",
140
142
  * "lineItemDescriptionShort": "Orsiro Mission PTCA-Stents ",
@@ -183,6 +185,30 @@ export interface ExecutionStrategy {
183
185
  * Example Result with JSON input from above: "PCTA-Stents - Orsiro Mission 2.5/9 PTCA-Stents"
184
186
  */
185
187
  descriptionFormatStringJsonAta?: string;
188
+ /**
189
+ * Custom formatting for transforming the (autofixed) customs tariff number into a new tariff number.
190
+ *
191
+ * The input JSON object has the same structure as the descriptionFormatStringJsonAta:
192
+ *
193
+ * {
194
+ * "tariffNumber": "1234567890",
195
+ * "quantity": 1234,
196
+ * "tariffNumberDescription": "Einrichtungen, Maschinen, Apparate und Geräte zur Kälteerzeugung",
197
+ * "lineItemDescription": "Orsiro Mission 2.5/9 PTCA-Stents ",
198
+ * "lineItemDescriptionShort": "Orsiro Mission PTCA-Stents ",
199
+ * "materialDescription": "PCTA-Stents",
200
+ * "enrichedDescription": "PCTA-Stents",
201
+ * "enrichedDescriptionShort": "Stents",
202
+ * "preferMaterialMasterData": false,
203
+ * "materialMatched": true,
204
+ * "useCustomsTariffNumberDescription": true,
205
+ * "useLineItemDescriptionShortening": true,
206
+ * "materialMatchedByTariffNumber": true,
207
+ * "materialMatchedByMaterialNr": false
208
+ * }
209
+ *
210
+ */
211
+ customsTariffNumberMappingJsonAta?: string;
186
212
  lineItemGrossWeightStrategy?: "default" | "forceToFirstLineItem";
187
213
  forceInvoiceNumberToReferenceNumberUCR?: boolean;
188
214
  forceInvoiceNumberToRegistrationNumberExternal?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "digicust_types",
3
- "version": "1.8.139",
3
+ "version": "1.8.140",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",