Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

PwsCostCenterRef


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

PwsLocationRef


The unique keys identifying the location associated with the expense document


ResourceIdentity

PwsResourceRef


The unique keys identifying the resource associated with the expense document 


VendorIdentity

PwsVendorRef


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

PwsVendorSummary


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


Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                <a:ExpenseDocumentDetail>
                  <DocumentNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">ER00697</DocumentNumber>
                  <ExpenseDocumentId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <ExpenseDocumentUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607683544</ExpenseDocumentUid>
                  <a:CashAdvanceReturnAmount>1</a:CashAdvanceReturnAmount>
                  <a:CostCenterIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:CostCenterId i:nil="true"/>
                     <b:CostCenterName>Section B</b:CostCenterName>
                     <b:CostCenterNumber>Section B</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606884477</b:CostCenterUid>
                  </a:CostCenterIdentity>
                  <a:DocumentName>Expense Document A</a:DocumentName>
                  <a:DocumentType>E</a:DocumentType>
                  <a:LocationIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:LocationId i:nil="true"/>
                     <b:LocationName>USA</b:LocationName>
                     <b:LocationUid>1152921504606855985</b:LocationUid>
                  </a:LocationIdentity>
                  <a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:ResourceDisplayName>Beth Brown</b:ResourceDisplayName>
                     <b:ResourceId i:nil="true"/>
                     <b:ResourceReferenceSystemId>E125</b:ResourceReferenceSystemId>
                     <b:ResourceUid>1152921504607111786</b:ResourceUid>
                  </a:ResourceIdentity>
                  <a:VendorIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:VendorId i:nil="true"/>
                     <b:VendorName>Beth Brown</b:VendorName>
                     <b:VendorUid>1152921504607055834</b:VendorUid>
                     <b:VendorNumber>Beth Brown</b:VendorNumber>
                  </a:VendorIdentity>
                  <a:VendorInvoiceDate i:nil="true"/>
                  <a:VendorInvoiceReferenceNumber i:nil="true"/>
                  <a:Vendor xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:VendorId i:nil="true"/>
                     <b:VendorName>Beth Brown</b:VendorName>
                     <b:VendorUid>1152921504607055834</b:VendorUid>
                     <b:VendorNumber>Beth Brown</b:VendorNumber>
                     <b:ExpenseReportPayeeFlag>true</b:ExpenseReportPayeeFlag>
                     <b:InactiveFlag>false</b:InactiveFlag>
                     <b:ResourceVendorFlag>true</b:ResourceVendorFlag>
                     <b:VendorInvoicePayeeFlag>false</b:VendorInvoicePayeeFlag>
                     <b:SubcontractorInvoicePayeeFlag>true</b:SubcontractorInvoicePayeeFlag>
                  </a:Vendor>
                  <a:SubcontractorInvoiceDate i:nil="true"/>
                  <a:SubcontractorInvoiceReferenceNumber i:nil="true"/>
                  <a:NewDocumentNumber i:nil="true"/>
                  <a:SubcontractorInvoiceReferenceNumberClearFlag>false</a:SubcontractorInvoiceReferenceNumberClearFlag>
                  <a:Timestamp>AAAAAA62H/Q=</a:Timestamp>
                  <a:VendorInvoiceReferenceNumberClearFlag>false</a:VendorInvoiceReferenceNumberClearFlag>
               </a:ExpenseDocumentDetail>