diff --git a/History.md b/History.md
index 13b1c573..a829860d 100644
--- a/History.md
+++ b/History.md
@@ -1,3 +1,14 @@
+- 639
+- 633
+-626,
+-622,
+-356
+allow to add includedNotes with type
+- - 645
+- 631 multiple invoice referenced documents
+- 629
+- 630 #296 #565
+-
2.15.2
=======
diff --git a/library/src/main/java/org/mustangproject/Item.java b/library/src/main/java/org/mustangproject/Item.java
index 249d5067..4641a0e3 100644
--- a/library/src/main/java/org/mustangproject/Item.java
+++ b/library/src/main/java/org/mustangproject/Item.java
@@ -352,7 +352,7 @@ public class Item implements IZUGFeRDExportableItem {
/***
* Adds a item level addition to the price (will be multiplied by quantity)
- * @see org.mustangproject.Charge
+ * @see Charge
* @param izac a relative or absolute charge
* @return fluent setter
*/
@@ -363,7 +363,7 @@ public class Item implements IZUGFeRDExportableItem {
/***
* Adds a item level reduction the price (will be multiplied by quantity)
- * @see org.mustangproject.Allowance
+ * @see Allowance
* @param izac a relative or absolute allowance
* @return fluent setter
*/
@@ -383,10 +383,23 @@ public class Item implements IZUGFeRDExportableItem {
}
notes.add(text);
+ addNote(IncludedNote.unspecifiedNote(text));
+
+
+ return this;
+ }
+
+ /***
+ * adds categorized item level freetext fields (includednote)
+ * @param theNote IncludedNote to add
+ * @return fluent setter
+ */
+ public Item addNote(IncludedNote theNote) {
+
if (includedNotes == null) {
includedNotes = new ArrayList<>();
}
- includedNotes.add(IncludedNote.unspecifiedNote(text));
+ includedNotes.add(theNote);
return this;
diff --git a/pom.xml b/pom.xml
index aca9e4d2..9dade18f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,8 +3,7 @@
4.0.0
org.mustangproject
core
- 2.15.3-SNAPSHOT
- pom
+ 2.15.3-SNAPSHOT pom
Mustang