diff --git a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/xml/CargosoftXMLInvoiceImportService.java b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/xml/CargosoftXMLInvoiceImportService.java index ab1ae7a..f3c9130 100644 --- a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/xml/CargosoftXMLInvoiceImportService.java +++ b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/xml/CargosoftXMLInvoiceImportService.java @@ -674,14 +674,19 @@ public class CargosoftXMLInvoiceImportService { } /** - * Bei G = Gutschrift oder SR = Stornorechnung müssen wir das vorzeichen ändern + * G = Gutschrift + * SR = Stornorechnung + * GK = Sammelgutschrift + * SS = Sammelrechnung Storno + * + * müssen wir das vorzeichen ändern * dies wird über den Invoice.Type geprüft * * @return */ private boolean isGutschrift(ItemCollection workitem) { String type = workitem.getItemValueString("invoice.type"); - return ("G".equals(type) || "SR".equals(type)); + return ("G".equals(type) || "SR".equals(type) || "GK".equals(type) || "SS".equals(type)); } /**