closes #983
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
- #954
|
||||
- #947
|
||||
- #969
|
||||
- #984
|
||||
- #983
|
||||
|
||||
2.20.0
|
||||
=======
|
||||
|
||||
@@ -194,6 +194,12 @@ public class Invoice implements IExportableTransaction {
|
||||
}
|
||||
|
||||
public Invoice setCreditNote() {
|
||||
documentCode = DocumentCodeTypeConstants.CREDITNOTE; // this value should somewhen be changed to Selfbilling
|
||||
return this;
|
||||
}
|
||||
|
||||
public Invoice setCreditNote(String number) {
|
||||
setInvoiceReferencedDocumentID(number);
|
||||
documentCode = DocumentCodeTypeConstants.CREDITNOTE;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user