Overview
This structure contains the complete set of information about an expense document. The structure is used both to retrieve detailed expense document information and to pass information about an expense document back to the server to get updated.
Format
- PwsExpenseDocumentDetail
- DocumentNumber: String (50)
- ExpenseDocumentId: Int32
- ExpenseDocumentUid: Int64
- CashAdvanceReturnAmount: Double
- CostCenterIdentity: PwsCostCenterRef
- DocumentName: String (100)
- DocumentType: String (1)
- LocationIdentity: PwsLocationRef
- ResourceIdentity: PwsResourceRef
- VendorIdentity: PwsVendorRef
- VendorInvoiceDate: DateTime
- VendorInvoiceReferenceNumber: String (20)
- Vendor: PwsVendorSummary
- SubcontractorInvoiceDate: DateTime
- SubcontractorInvoiceReferenceNumber: String (20)
- NewDocumentNumber: String (50)
- SubcontractorInvoiceReferenceNumberClearFlag: Boolean
- Timestamp: String
- VendorInvoiceReferenceNumberClearFlag: Boolean
Elements
Element | Data Type | Default | Description | Sample Data |
---|---|---|---|---|
DocumentNumber | String (50) | The expense document number is a unique identifier for an expense document | ||
ExpenseDocumentId | Int32 | The expense document Id is a unique identifier for an expense document. For internal use only. | ||
ExpenseDocumentUid | Int64 | The expense document Uid is a unique and immutable identifier for an expense document | ||
CashAdvanceReturnAmount | Double | The cash advance associated with the expense document | ||
CostCenterIdentity | The cost center associated with the expense document | |||
DocumentName | String (100) | The expense document name | ||
DocumentType | String (1) | The expense document type: "E" for Expense Report "V" for Vendor Invoice "S" for Soft Cost Batch | ||
LocationIdentity | The unique keys identifying the location associated with the expense document | |||
ResourceIdentity | The unique keys identifying the resource associated with the expense document | |||
VendorIdentity | The unique keys identifying the vendor associated with the expense document | |||
VendorInvoiceDate | DateTime | The vendor invoice date associated with the expense document | ||
VendorInvoiceReferenceNumber | String (20) | The vendor invoice number is a unique identifier for a vendor | ||
Vendor | The unique keys identifying the vendor associated with the expense document | |||
SubcontractorInvoiceDate | DateTime | The subcontractor invoice date associated with the expense document | ||
SubcontractorInvoiceReferenceNumber | String (20) | The subcontractor invoice reference number is a unique identifier for a subcontractor invoice | ||
NewDocumentNumber | String (50) | The new expense document number. This is used by PwsSaveExpenseDocument to support changing an existing expense document number. You can both identify an expense document by expense document number and modify the expense document by specifying the original number in DocumentNumber and the new value in NewDocumentNumber. NewDocumentNumber will always be null in responses from PwsGetExpenseDocument. Note that the expense document number may only be changed if numbering for expense documents is configured as Manual or Hybrid. | ||
SubcontractorInvoiceReferenceNumberClearFlag | Boolean | false | If set to 'true', the subcontractor invoice reference number will be set to null | |
Timestamp | String | Base64 encoded timestamp | ||
VendorInvoiceReferenceNumberClearFlag | Boolean | false | If set to 'true', the vendor invoice reference number will be set to null |