Issue 308: define when VAT collection become applicable
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user