support credit notes, automatically switch from XR 1.2.2 to XR 2.0 on 2021-01-01

This commit is contained in:
jstaerk
2020-12-05 18:11:42 +01:00
parent 97112db615
commit b3846b806a
7 changed files with 69 additions and 5 deletions

View File

@@ -119,6 +119,10 @@ public class Invoice implements IExportableTransaction {
documentCode = DocumentCodeTypeConstants.CORRECTEDINVOICE;
return this;
}
public Invoice setCreditNote() {
documentCode = DocumentCodeTypeConstants.CREDITNOTE;
return this;
}
@Override
public String getOwnOrganisationFullPlaintextInfo() {