Issue 308: define when VAT collection become applicable

This commit is contained in:
Chris Webert
2023-03-03 09:53:26 +01:00
parent 54a3242068
commit 04900a51b2
8 changed files with 80 additions and 6 deletions

View File

@@ -63,6 +63,7 @@ public class Invoice implements IExportableTransaction {
protected String specifiedProcuringProjectID = null;
protected String specifiedProcuringProjectName = null;
protected String despatchAdviceReferencedDocumentID = null;
protected String vatDueDateTypeCode = null;
public Invoice() {
ZFItems = new ArrayList<>();
@@ -703,4 +704,18 @@ public class Invoice implements IExportableTransaction {
return this;
}
@Override
public String getVATDueDateTypeCode() {
return vatDueDateTypeCode;
}
/**
* Decide when the VAT should be collected.
* @param vatDueDateTypeCode use EventTimeCodeTypeConstants
*/
public Invoice setVATDueDateTypeCode(String vatDueDateTypeCode) {
this.vatDueDateTypeCode = vatDueDateTypeCode;
return this;
}
}