Versions Compared

Key

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

...

This structure contains the complete set of information about an expense document (less any subordinate entities). 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.

...

Panel
titlePwsExpenseDocumentElement

Elements


Element

Data Type

Required?

Default

Description

Sample Data

AllowAttachReceiptsToCcFlag

Boolean

On Insert: No

On Update: No

Dependent on installation setting

 

 

AllowAttachReceiptsToEdFlag

Boolean

On Insert: No

On Update: No

Dependent on installation setting

 

 

CostCards

PwsCostCardElement[]

On Insert: No

On Update: No

 

The complete set of information regarding cost cards on this expense document

 

DisbursedCurrencyIdentity

PwsCurrencyRef

On Insert: No

On Update: No

 

The currency associated with disbursed amount on this expense document

 

DocumentCount

Int32

On Insert: No

On Update: No

 

The number of documents (i.e. receipts) attached to this expense document 

 

ExpenseDocumentDetail

PwsExpenseDocumentDetail

 

 

The complete set of information regarding cost cards on this expense document

 

ExpenseDocumentVatFlag

Boolean

 

 

 

 

Invoices

PwsExpenseEntryInvoice[]

 

 

 

 

Locations

PwsLocationSummary[]

 

 

 

 

LockedFlag

Boolean

 

 

 

 

NoteCount

Int32

 

 

 

 

PayeeVendors

PwsVendorSummary[]

 

 

 

 

Projects

PwsExpenseEntryProject[]

 

 

 

 

Receipts

PwsReceiptDetail[]

 

 

 

 

TitleIdentity

PwsTitleRef

 

 

 

 

Vouchers

PwsPaymentVoucherSummary[]

 

 

 

 

AllowCloneFlag

Boolean

 

 

 

 

AllowDeleteFlag

Boolean

 

 

 

 

Category

String

 

 

 

 

CreatedByUser

PwsUserSummary

 

 

 

 

CreatedTimestamp

DateTime

 

 

 

 

LastUpdatedByUser

PwsUserSummary

 

 

 

 

LastUpdatedTimestamp

DateTime

 

 

 

 

PaymentVoucherItems

PwsPaymentVoucherItem[]

 

 

 

 

Status

String

 

 

Click here for more information.

 

DisbursedCurrencyDecimalDigits

Byte

 

 

 

 

MileageUom

String

 

 

 

 

ExpenseDocumentLockedFlag

Boolean

 

 

 

 

ApprovalWorkflowStatus

String

 

 

 

 

CostCardTotalDisbursedAmount

Double

 

 

 

 

DeleteExpenseDocumentUnavailableReason

String

 

 

 

 

DueToOtherPayeesAmount

Double

 

 

 

 

InvoiceWorkflowStatus

String

 

 

 

 

MaintainExpenseDocumentUnavailableReason

String

 

 

 

 

PaymentWorkflowStatus

String

 

 

 

 

ViewInExpenseEntryFlag

Boolean

 

 

 

 

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
             <a:ExpenseDocument>
               <a:AllowAttachReceiptsToCcFlag>true</a:AllowAttachReceiptsToCcFlag>
               <a:AllowAttachReceiptsToEdFlag>true</a:AllowAttachReceiptsToEdFlag>
               <a:CostCards>
                  <a:PwsCostCardElement>
                     <a:AdjustedRevenueAmount i:nil="true"/>
                     <a:ApprovalWorkflowStatus>A</a:ApprovalWorkflowStatus>
                     <a:ApprovedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Bob Smith</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607011056</b:UserUid>
                        <b:EmailAddress>bob@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>Bob</b:FirstName>
                        <b:LastName>Smith</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:ApprovedByUser>
                     <a:ApprovedTimestamp>2018-02-07T19:32:18.823Z</a:ApprovedTimestamp>
                     <a:ApprovedToInvoiceByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Bob Smith</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607011056</b:UserUid>
                        <b:EmailAddress>bob@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>Bob</b:FirstName>
                        <b:LastName>Smith</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:ApprovedToInvoiceByUser>
                     <a:ApprovedToInvoiceTimestamp>2018-02-07T19:32:18.81Z</a:ApprovedToInvoiceTimestamp>
                     <a:BilledTimestamp i:nil="true"/>
                     <a:ClientAmount>189.99</a:ClientAmount>
                     <a:CostCardDetail>
                        <CostCardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <CostCardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504614515251</CostCardUid>
                        <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <a:Description>Breakfast Meeting</a:Description>
                        <a:DescriptionClearFlag>false</a:DescriptionClearFlag>
                        <a:ExpenseTypeIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Meals</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606878415</b:ExpenseTypeUid>
                        </a:ExpenseTypeIdentity>
                        <a:IncurredAmount>189.99</a:IncurredAmount>
                        <a:IncurredDate>2018-02-05T00:00:00Z</a:IncurredDate>
                        <a:IncurredOpsCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:OpsCurrencyCode>USD</b:OpsCurrencyCode>
                           <b:OpsCurrencyId i:nil="true"/>
                        </a:IncurredOpsCurrencyIdentity>
                        <a:IncurredVatAmount>0</a:IncurredVatAmount>
                        <a:LocationClearFlag>false</a:LocationClearFlag>
                        <a:LocationIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <a:NonBillableFlag>false</a:NonBillableFlag>
                        <a:OverrideClientAmount i:nil="true"/>
                        <a:OverrideClientAmountClearFlag>false</a:OverrideClientAmountClearFlag>
                        <a:PayeeVendorClearFlag>false</a:PayeeVendorClearFlag>
                        <a:PayeeVendorIdentity 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:PayeeVendorIdentity>
                        <a:ProjectIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:ProjectCode>P001407-001</b:ProjectCode>
                           <b:ProjectId i:nil="true"/>
                           <b:ProjectUid>1152921504607413030</b:ProjectUid>
                        </a:ProjectIdentity>
                        <a:ResourceClearFlag>false</a:ResourceClearFlag>
                        <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:Timestamp>AAAAAA62IkE=</a:Timestamp>
                        <a:TotalAmountDisbursedCurrency>189.99</a:TotalAmountDisbursedCurrency>
                        <a:Udf1 xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UdfId i:nil="true"/>
                           <b:UdfName>Attendees</b:UdfName>
                           <b:UdfUid>1152921504606860180</b:UdfUid>
                           <b:BooleanValue i:nil="true"/>
                           <b:DataType>I</b:DataType>
                           <b:DateValue i:nil="true"/>
                           <b:IntegerValue>8</b:IntegerValue>
                           <b:ResourceIdentityValue i:nil="true"/>
                           <b:TextValue i:nil="true"/>
                           <b:UdfTreatment>A</b:UdfTreatment>
                           <b:StoplightValues/>
                           <b:NumericValue>8</b:NumericValue>
                           <b:RelationValue i:nil="true"/>
                        </a:Udf1>
                        <a:Udf1ClearFlag>false</a:Udf1ClearFlag>
                        <a:Udf2 xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UdfId i:nil="true"/>
                           <b:UdfName>Purpose</b:UdfName>
                           <b:UdfUid>1152921504606860181</b:UdfUid>
                           <b:BooleanValue i:nil="true"/>
                           <b:DataType>L</b:DataType>
                           <b:DateValue i:nil="true"/>
                           <b:IntegerValue i:nil="true"/>
                           <b:ResourceIdentityValue i:nil="true"/>
                           <b:TextValue>Team Building</b:TextValue>
                           <b:UdfTreatment>A</b:UdfTreatment>
                           <b:StoplightValues/>
                           <b:NumericValue i:nil="true"/>
                           <b:RelationValue i:nil="true"/>
                        </a:Udf2>
                        <a:Udf2ClearFlag>false</a:Udf2ClearFlag>
                        <a:Units>1</a:Units>
                        <a:ExternalGroupingIdentifier i:nil="true"/>
                        <a:ExternalGroupingIdentifierClearFlag>false</a:ExternalGroupingIdentifierClearFlag>
                     </a:CostCardDetail>
                     <a:CreatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>E125</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607112693</b:UserUid>
                        <b:EmailAddress>beth@revcorp.bb</b:EmailAddress>
                        <b:FirstName>Beth</b:FirstName>
                        <b:LastName>Brown</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:CreatedByUser>
                     <a:CreatedTimestamp>2018-02-07T17:44:24.323Z</a:CreatedTimestamp>
                     <a:CreditedCostCardIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:DisbursedAmountDisbursedCurrency>189.99</a:DisbursedAmountDisbursedCurrency>
                     <a:DisbursedAmountEngagementCurrency>189.99</a:DisbursedAmountEngagementCurrency>
                     <a:DocumentCount>1</a:DocumentCount>
                     <a:EngagementCurrency xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:CurrencyCode>USD</b:CurrencyCode>
                        <b:CurrencyId i:nil="true"/>
                        <b:CurrencyUid>1152921504606851838</b:CurrencyUid>
                     </a:EngagementCurrency>
                     <a:ExpenseAmount>0</a:ExpenseAmount>
                     <a:ForReportingOnlyFlag>false</a:ForReportingOnlyFlag>
                     <a:FxRate>1</a:FxRate>
                     <a:FxRateActual>1</a:FxRateActual>
                     <a:InvoiceIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:InvoiceWorkflowStatus>A</a:InvoiceWorkflowStatus>
                     <a:InvoicedAmount>0</a:InvoicedAmount>
                     <a:LastUpdatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Bob Smith</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607011056</b:UserUid>
                        <b:EmailAddress>bob@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>Bob</b:FirstName>
                        <b:LastName>Smith</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:LastUpdatedByUser>
                     <a:LastUpdatedTimestamp>2018-02-07T19:32:26.107Z</a:LastUpdatedTimestamp>
                     <a:LockedFlag>true</a:LockedFlag>
                     <a:NoteCount>0</a:NoteCount>
                     <a:RejectedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:RejectedReason i:nil="true"/>
                     <a:RejectedTimestamp i:nil="true"/>
                     <a:RevRecAdjustmentAmount i:nil="true"/>
                     <a:RevenueAmount>0</a:RevenueAmount>
                     <a:Status>U</a:Status>
                     <a:SubmittedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>E125</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607112693</b:UserUid>
                        <b:EmailAddress>beth@revcorp.bb</b:EmailAddress>
                        <b:FirstName>Beth</b:FirstName>
                        <b:LastName>Brown</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:SubmittedByUser>
                     <a:SubmittedTimestamp>2018-02-07T17:44:36.593Z</a:SubmittedTimestamp>
                     <a:SystemRatePerMileageUnit>0.575</a:SystemRatePerMileageUnit>
                     <a:UnitCost>189.99</a:UnitCost>
                     <a:UnitPrice>189.99</a:UnitPrice>
                     <a:VatAmountDisbursedCurrency>0</a:VatAmountDisbursedCurrency>
                     <a:VoucherIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:PaymentVoucherId i:nil="true"/>
                        <b:PaymentVoucherNumber>PVER00706</b:PaymentVoucherNumber>
                        <b:PaymentVoucherUid>1152921504607609478</b:PaymentVoucherUid>
                     </a:VoucherIdentity>
                     <a:WipAmount i:nil="true"/>
                     <a:ChargeableFlag>true</a:ChargeableFlag>
                     <a:DisbursingCostCenterIdentity 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:DisbursingCostCenterIdentity>
                     <a:EngagementCurrencyDecimalDigits>2</a:EngagementCurrencyDecimalDigits>
                     <a:EngagementTypeBillableFlag>true</a:EngagementTypeBillableFlag>
                     <a:IncurredCurrencyDecimalDigits>2</a:IncurredCurrencyDecimalDigits>
                     <a:ManagementData>
                        <a:AccountingPeriodClosedFlag>false</a:AccountingPeriodClosedFlag>
                        <a:ApprovalWorkflowFlag>true</a:ApprovalWorkflowFlag>
                        <a:ApproverFlag>false</a:ApproverFlag>
                        <a:ApproverToInvoiceFlag>true</a:ApproverToInvoiceFlag>
                        <a:ApproverToPayFlag>false</a:ApproverToPayFlag>
                        <a:ApproversCanRejectApprovedExpensesFlag>false</a:ApproversCanRejectApprovedExpensesFlag>
                        <a:AutoApprovalFlag>false</a:AutoApprovalFlag>
                        <a:AutoApprovalToInvoiceFlag>false</a:AutoApprovalToInvoiceFlag>
                        <a:AutoApprovalToPayFlag>false</a:AutoApprovalToPayFlag>
                        <a:AwsApprovedStatusAllowedFlag>false</a:AwsApprovedStatusAllowedFlag>
                        <a:AwsDraftStatusAllowedFlag>true</a:AwsDraftStatusAllowedFlag>
                        <a:AwsRejectedStatusAllowedFlag>true</a:AwsRejectedStatusAllowedFlag>
                        <a:AwsSubmittedStatusAllowedFlag>true</a:AwsSubmittedStatusAllowedFlag>
                        <a:CanAdjustFlag>true</a:CanAdjustFlag>
                        <a:CanEditFlag>false</a:CanEditFlag>
                        <a:ClientIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:ClientId i:nil="true"/>
                           <b:ClientNumber>PR-PSA</b:ClientNumber>
                           <b:ClientUid>1152921504606961482</b:ClientUid>
                        </a:ClientIdentity>
                        <a:ClientName>Projector PSA</a:ClientName>
                        <a:DisbursedCurrencyDecimalDigits>2</a:DisbursedCurrencyDecimalDigits>
                        <a:DisbursedCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:CurrencyCode>USD</b:CurrencyCode>
                           <b:CurrencyId i:nil="true"/>
                           <b:CurrencyUid>1152921504606851838</b:CurrencyUid>
                        </a:DisbursedCurrencyIdentity>
                        <a:DisbursingCostCenterIdentity 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:DisbursingCostCenterIdentity>
                        <a:EditSubmitFlag>false</a:EditSubmitFlag>
                        <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:DocumentNumber>ER00706</b:DocumentNumber>
                           <b:ExpenseDocumentId i:nil="true"/>
                           <b:ExpenseDocumentUid>1152921504607683553</b:ExpenseDocumentUid>
                        </a:ExpenseDocumentIdentity>
                        <a:ExpenseDocumentName>Team Meeting</a:ExpenseDocumentName>
                        <a:ExpenseDocumentTimestamp>AAAAAA62IiU=</a:ExpenseDocumentTimestamp>
                        <a:ExpenseDocumentType>E</a:ExpenseDocumentType>
                        <a:ExpenseDocumentVatFlag>false</a:ExpenseDocumentVatFlag>
                        <a:IwsApprovedStatusAllowedFlag>false</a:IwsApprovedStatusAllowedFlag>
                        <a:IwsDraftInvoiceStatusAllowedFlag>false</a:IwsDraftInvoiceStatusAllowedFlag>
                        <a:IwsInvoicedStatusAllowedFlag>false</a:IwsInvoicedStatusAllowedFlag>
                        <a:IwsUnapprovedStatusAllowedFlag>true</a:IwsUnapprovedStatusAllowedFlag>
                        <a:MileageUom>M</a:MileageUom>
                        <a:PwsApprovedStatusAllowedFlag>false</a:PwsApprovedStatusAllowedFlag>
                        <a:PwsPaidStatusAllowedFlag>true</a:PwsPaidStatusAllowedFlag>
                        <a:PwsReceivedStatusAllowedFlag>true</a:PwsReceivedStatusAllowedFlag>
                        <a:PwsTransmittedStatusAllowedFlag>true</a:PwsTransmittedStatusAllowedFlag>
                        <a:PwsUnapprovedStatusAllowedFlag>true</a:PwsUnapprovedStatusAllowedFlag>
                     </a:ManagementData>
                     <a:PaymentVoucherPaymentWorkflowStatus>F</a:PaymentVoucherPaymentWorkflowStatus>
                     <a:ProjectName>Project A</a:ProjectName>
                  </a:PwsCostCardElement>
               </a:CostCards>
               <a:DisbursedCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:CurrencyCode>USD</b:CurrencyCode>
                  <b:CurrencyId i:nil="true"/>
                  <b:CurrencyUid>1152921504606851838</b:CurrencyUid>
               </a:DisbursedCurrencyIdentity>
               <a:DocumentCount>1</a:DocumentCount>
               <a:ExpenseDocumentDetail>
                  <DocumentNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">ER00706</DocumentNumber>
                  <ExpenseDocumentId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <ExpenseDocumentUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607683553</ExpenseDocumentUid>
                  <a:CashAdvanceReturnAmount>0</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>Team Meeting</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>AAAAAA62IiU=</a:Timestamp>
                  <a:VendorInvoiceReferenceNumberClearFlag>false</a:VendorInvoiceReferenceNumberClearFlag>
               </a:ExpenseDocumentDetail>
               <a:ExpenseDocumentVatFlag>false</a:ExpenseDocumentVatFlag>
               <a:Invoices/>
               <a:Locations xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
               <a:LockedFlag>true</a:LockedFlag>
               <a:NoteCount>0</a:NoteCount>
               <a:PayeeVendors xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:PwsVendorSummary>
                     <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>
                  </b:PwsVendorSummary>
               </a:PayeeVendors>
               <a:Projects>
                  <a:PwsExpenseEntryProject>
                     <ProjectCode xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">P001407-001</ProjectCode>
                     <ProjectId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <ProjectUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607413030</ProjectUid>
                     <a:BookedResourcesOnlyFlag>false</a:BookedResourcesOnlyFlag>
                     <a:EarliestRoleStartDate>2018-01-01T00:00:00Z</a:EarliestRoleStartDate>
                     <a:EngagementDescriptor>
                        <EngagementCode xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">E001407</EngagementCode>
                        <EngagementId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <EngagementUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607325242</EngagementUid>
                        <a:ClientDescriptor>
                           <ClientId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                           <ClientNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">PR-PSA</ClientNumber>
                           <ClientUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606961482</ClientUid>
                           <a:ClientName>Projector PSA</a:ClientName>
                           <a:ParentClientDescriptor i:nil="true"/>
                        </a:ClientDescriptor>
                        <a:EngagementManager xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                           <b:UserUid>1152921504607112369</b:UserUid>
                           <b:EmailAddress>jack@revcorp.bb</b:EmailAddress>
                           <b:FirstName>Jack</b:FirstName>
                           <b:LastName>Spratt</b:LastName>
                           <b:MiddleName i:nil="true"/>
                        </a:EngagementManager>
                        <a:EngagementName>Engagement A</a:EngagementName>
                        <a:EngagementTypeDescriptor>
                           <EngagementTypeId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                           <EngagementTypeName xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">Billable - Time and Materials</EngagementTypeName>
                           <EngagementTypeShortName xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">TandM</EngagementTypeShortName>
                           <EngagementTypeUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606863884</EngagementTypeUid>
                           <a:BillableFlag>true</a:BillableFlag>
                        </a:EngagementTypeDescriptor>
                        <a:EngagementCurrencyDecimalDigits>2</a:EngagementCurrencyDecimalDigits>
                        <a:EngagementCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:CurrencyCode>USD</b:CurrencyCode>
                           <b:CurrencyId i:nil="true"/>
                           <b:CurrencyUid>1152921504606851838</b:CurrencyUid>
                        </a:EngagementCurrencyIdentity>
                     </a:EngagementDescriptor>
                     <a:LatestRoleEndDate i:nil="true"/>
                     <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:OpenForCostFlag>true</a:OpenForCostFlag>
                     <a:ProjectCloseDate i:nil="true"/>
                     <a:ProjectDescription i:nil="true"/>
                     <a:ProjectManager xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607112369</b:UserUid>
                        <b:EmailAddress>jack@revcorp.bb</b:EmailAddress>
                        <b:FirstName>Jack</b:FirstName>
                        <b:LastName>Spratt</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:ProjectManager>
                     <a:ProjectName>Project A</a:ProjectName>
                     <a:ProjectOpenDate>2018-01-01T00:00:00Z</a:ProjectOpenDate>
                     <a:ProjectStageIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:ProjectStageId i:nil="true"/>
                        <b:ProjectStageName>Delivery</b:ProjectStageName>
                        <b:ProjectStageShortName>Delivery</b:ProjectStageShortName>
                        <b:ProjectStageUid>1152921504606853304</b:ProjectStageUid>
                     </a:ProjectStageIdentity>
                     <a:RoleCount>1</a:RoleCount>
                     <a:Udf1InactiveFlag>false</a:Udf1InactiveFlag>
                     <a:Udf1Values xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                     <a:Udf2InactiveFlag>false</a:Udf2InactiveFlag>
                     <a:Udf2Values xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                        <b:string>Celebration</b:string>
                        <b:string>Team Building</b:string>
                        <b:string>Client Meeting</b:string>
                        <b:string>Other</b:string>
                     </a:Udf2Values>
                     <a:AllowBookingFlag>true</a:AllowBookingFlag>
                     <a:Udf1DefaultValue i:nil="true"/>
                     <a:Udf2DefaultValue i:nil="true"/>
                     <a:ExpenseTypeIdentities xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Meals</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606878415</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Other/Misc Billable</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606879705</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Meals and Entertainment</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606881279</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Travel</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606881280</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                     </a:ExpenseTypeIdentities>
                  </a:PwsExpenseEntryProject>
               </a:Projects>
               <a:Receipts>
                  <a:PwsReceiptDetail>
                     <ReceiptId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <ReceiptUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607351892</ReceiptUid>
                     <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:DocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:DocumentRefId i:nil="true"/>
                        <b:DocumentRefUid>1152921504607571578</b:DocumentRefUid>
                     </a:DocumentIdentity>
                     <a:EntireExpenseReportFlag>false</a:EntireExpenseReportFlag>
                     <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:DocumentNumber>ER00706</b:DocumentNumber>
                        <b:ExpenseDocumentId i:nil="true"/>
                        <b:ExpenseDocumentUid>1152921504607683553</b:ExpenseDocumentUid>
                     </a:ExpenseDocumentIdentity>
                     <a:Notes i:nil="true"/>
                     <a:NotesClearFlag>false</a:NotesClearFlag>
                     <a:ReceiptCostCards>
                        <a:PwsReceiptCostCard>
                           <a:CostCardIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                              <b:CostCardId i:nil="true"/>
                              <b:CostCardUid>1152921504614515251</b:CostCardUid>
                              <b:ReferenceId i:nil="true"/>
                           </a:CostCardIdentity>
                           <a:ReferenceNumber i:nil="true"/>
                           <a:ReferenceNumberClearFlag>false</a:ReferenceNumberClearFlag>
                        </a:PwsReceiptCostCard>
                     </a:ReceiptCostCards>
                     <a:NumberPages i:nil="true"/>
                     <a:DocumentName>01_Scan_2.jpeg</a:DocumentName>
                     <a:NumberPagesShort i:nil="true"/>
                     <a:DocumentArchivedFlag>false</a:DocumentArchivedFlag>
                  </a:PwsReceiptDetail>
               </a:Receipts>
               <a:TitleIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:DepartmentIdentity>
                     <b:DepartmentId i:nil="true"/>
                     <b:DepartmentName>Administrative Team</b:DepartmentName>
                     <b:DepartmentUid>1152921504606854346</b:DepartmentUid>
                  </b:DepartmentIdentity>
                  <b:TitleId i:nil="true"/>
                  <b:TitleName>Level 2</b:TitleName>
                  <b:TitleUid>1152921504606876426</b:TitleUid>
               </a:TitleIdentity>
               <a:Vouchers>
                  <a:PwsPaymentVoucherSummary>
                     <PaymentVoucherId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <PaymentVoucherNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">PVER00706</PaymentVoucherNumber>
                     <PaymentVoucherUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607609478</PaymentVoucherUid>
                     <a:ApprovedToPayByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>Bob Smith</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                        <b:UserUid>1152921504607011056</b:UserUid>
                        <b:EmailAddress>bob@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>Bob</b:FirstName>
                        <b:LastName>Smith</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:ApprovedToPayByUser>
                     <a:ApprovedToPayTimestamp>2018-02-07T19:32:26.15Z</a:ApprovedToPayTimestamp>
                     <a:CashAdvanceAmount>0</a:CashAdvanceAmount>
                     <a:PaidByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:PaidTimestamp i:nil="true"/>
                     <a:PayeeVendor 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:PayeeVendor>
                     <a:PaymentWorkflowStatus>F</a:PaymentWorkflowStatus>
                     <a:ReceivedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:ReceivedTimestamp i:nil="true"/>
                     <a:TransmittedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:TransmittedTimestamp i:nil="true"/>
                     <a:CanMarkReceivedFlag>true</a:CanMarkReceivedFlag>
                  </a:PwsPaymentVoucherSummary>
               </a:Vouchers>
               <a:AllowCloneFlag>true</a:AllowCloneFlag>
               <a:AllowDeleteFlag>false</a:AllowDeleteFlag>
               <a:Category>F</a:Category>
               <a:CreatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>E125</b:UserReferenceSystemId>
                  <b:UserUid>1152921504607112693</b:UserUid>
                  <b:EmailAddress>beth@revcorp.bb</b:EmailAddress>
                  <b:FirstName>Beth</b:FirstName>
                  <b:LastName>Brown</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </a:CreatedByUser>
               <a:CreatedTimestamp>2018-02-07T17:44:24.317Z</a:CreatedTimestamp>
               <a:LastUpdatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:UserDisplayName>Beth Brown</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>E125</b:UserReferenceSystemId>
                  <b:UserUid>1152921504607112693</b:UserUid>
                  <b:EmailAddress>beth@revcorp.bb</b:EmailAddress>
                  <b:FirstName>Beth</b:FirstName>
                  <b:LastName>Brown</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </a:LastUpdatedByUser>
               <a:LastUpdatedTimestamp>2018-02-07T17:50:59.82Z</a:LastUpdatedTimestamp>
               <a:PaymentVoucherItems>
                  <a:PwsPaymentVoucherItem>
                     <a:Amount>189.99</a:Amount>
                     <a:EffectiveStatus>F</a:EffectiveStatus>
                     <a:ItemCount>1</a:ItemCount>
                     <a:PaymentVoucher>
                        <PaymentVoucherId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <PaymentVoucherNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">PVER00706</PaymentVoucherNumber>
                        <PaymentVoucherUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607609478</PaymentVoucherUid>
                        <a:ApprovedToPayByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UserDisplayName>Bob Smith</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId>Partner - 01</b:UserReferenceSystemId>
                           <b:UserUid>1152921504607011056</b:UserUid>
                           <b:EmailAddress>bob@projectorpsa.com</b:EmailAddress>
                           <b:FirstName>Bob</b:FirstName>
                           <b:LastName>Smith</b:LastName>
                           <b:MiddleName i:nil="true"/>
                        </a:ApprovedToPayByUser>
                        <a:ApprovedToPayTimestamp>2018-02-07T19:32:26.15Z</a:ApprovedToPayTimestamp>
                        <a:CashAdvanceAmount>0</a:CashAdvanceAmount>
                        <a:PaidByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <a:PaidTimestamp i:nil="true"/>
                        <a:PayeeVendor 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:PayeeVendor>
                        <a:PaymentWorkflowStatus>F</a:PaymentWorkflowStatus>
                        <a:ReceivedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <a:ReceivedTimestamp i:nil="true"/>
                        <a:TransmittedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <a:TransmittedTimestamp i:nil="true"/>
                        <a:CanMarkReceivedFlag>true</a:CanMarkReceivedFlag>
                     </a:PaymentVoucher>
                     <a:ProjectSummary i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  </a:PwsPaymentVoucherItem>
               </a:PaymentVoucherItems>
               <a:Status>F</a:Status>
               <a:DisbursedCurrencyDecimalDigits>2</a:DisbursedCurrencyDecimalDigits>
               <a:MileageUom>M</a:MileageUom>
               <a:ExpenseDocumentLockedFlag>true</a:ExpenseDocumentLockedFlag>
               <a:ApprovalWorkflowStatus>A</a:ApprovalWorkflowStatus>
               <a:CostCardTotalDisbursedAmount>189.99</a:CostCardTotalDisbursedAmount>
               <a:DeleteExpenseDocumentUnavailableReason>APP</a:DeleteExpenseDocumentUnavailableReason>
               <a:DueToOtherPayeesAmount>0</a:DueToOtherPayeesAmount>
               <a:InvoiceWorkflowStatus>A</a:InvoiceWorkflowStatus>
               <a:MaintainExpenseDocumentUnavailableReason>LOK</a:MaintainExpenseDocumentUnavailableReason>
               <a:PaymentWorkflowStatus>F</a:PaymentWorkflowStatus>
               <a:ViewInExpenseEntryFlag>true</a:ViewInExpenseEntryFlag>
            </a:ExpenseDocument>