This commit is contained in:
Jochen Stärk
2025-12-11 14:23:38 +01:00
parent 1c5eac2362
commit 43699206ac
2 changed files with 8 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
- #954
- #947
- #969
- #984
- #983
2.20.0
=======

View File

@@ -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;
}