PwsGetExpenseDocument

Overview


This web service can be used for three purposes:

Note that using this service either for the purpose of cloning and existing expense document or for the purpose of creating a new expense document will not actually create a new expense document in the system. Rather, the expense document returned by this service will be a copy of the specified expense document in the case of cloning, or an empty expense document in the case of creating a new document. In either case, the returned expense document will not refer to any existing document, but rather to a new expense document. Invoking PwsSaveExpenseDocument on the returned PwsExpenseDocumentDetail structure will result in creation of the new or cloned expense document. The cloned expense document will not be updated in any way when the clone is saved.

Request Format


PwsGetExpenseDocument Request
  • PwsGetExpenseDocument
    • serviceRequest: PwsGetExpenseDocumentRq
      • RequestId: Int32
      • SessionTicket: String
      • CloneAmountsFlag: Boolean
      • CloneDatesFlag: Boolean
      • CloneFlag: Boolean
      • DelayDays: Int32
      • ExcludeCreditCostCardsFlag: Boolean
      • ExpenseDocumentIdentity: PwsExpenseDocumentRef
      • NewDocumentType: String
      • ResourceIdentity: PwsResourceRef
      • RetrieveCostCardsFlag: Boolean
      • RetrieveReceiptsFlag: Boolean

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information.


SessionTicket

String

Yes 


Click here for more information.

Ad9/vlTyZRtWnsPuFVHm7w== 

CloneAmountsFlag

Boolean

No 

false

Applies only when cloning an existing expense document.

If set to 'true', the amounts on the specified expense report will be cloned.

Note: If set to 'true', the RetrieveCostCardsFlag must also be set to 'true'

false 

CloneDatesFlag

Boolean

No

false 

Applies only when cloning an existing expense document.

If set to 'true', the dates on the specified expense report will be cloned..

Note: If set to 'true', the RetrieveCostCardsFlag must also be set to 'true'

false

CloneFlag

Boolean

No

false

If set to 'true', the expense document will be cloned.

false 

DelayDays

Int32

No

0

Applies only when cloning an existing expense document.

When cloning an expense report the number specified here indicates the number of days by which the dates associated with cost cards on the expense report should be delayed.

ExcludeCreditCostCardsFlag

Boolean

No

false

If set to 'true', credit cost cards on the expense report will not be returned

true

ExpenseDocumentIdentity

PwsExpenseDocumentRef

Yes


The expense document to be retrieved / cloned. Do not specify when creating a new expense document.


NewDocumentType

String



Applies specifically when creating new expense documents. May be specified when retrieving or cloning existing expense documents, but if specified it must match the existing expense document's type. The possible values are:

"E" for Expense Report

"C" for Subcontractor Invoice

"V" for Vendor Invoice

"S" for Soft Cost Batch 


ResourceIdentity

PwsResourceRef

No


Applies only when creating a new expense report.

Specifies the resource to be associated with the expense report. This value is ignored when retrieving or cloning an existing expense document, or creating a new expense document of any type other than an expense report.  


RetrieveCostCardsFlag

Boolean

No

false

If set to 'true', the cost cards on the expense document will retrieved

true 

RetrieveReceiptsFlag

Boolean

No

false

If set to 'true', the receipts on the expense document will be retrieved

true 


Request Usage Example(s)


Example 01
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:tim="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsGetExpenseDocument>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AYpG7EHMig6Q0YYpVJ3YDQ==</req:SessionTicket>
            <tim:CloneAmountsFlag>false</tim:CloneAmountsFlag>
            <tim:CloneDatesFlag>false</tim:CloneDatesFlag>
            <tim:CloneFlag>false</tim:CloneFlag>
            <tim:DelayDays>0</tim:DelayDays>
            <tim:ExcludeCreditCostCardsFlag>true</tim:ExcludeCreditCostCardsFlag>
            <tim:ExpenseDocumentIdentity>
               <com:DocumentNumber>ER00217</com:DocumentNumber>
            </tim:ExpenseDocumentIdentity>
            <tim:RetrieveCostCardsFlag>true</tim:RetrieveCostCardsFlag>
            <tim:RetrieveReceiptsFlag>true</tim:RetrieveReceiptsFlag>
         </pws:serviceRequest>
      </pws:PwsGetExpenseDocument>
   </soapenv:Body>
</soapenv:Envelope>

Response Format


PwsGetExpenseDocument Response

Response Elements


Element

Data Type

Description

Sample Data

Messages

PwsMessage

The web service response status and message. Click here for more information. 


ResponseId

Int32

Click here for more information.

Status

RequestStatus

Click here for more information.


ServerTimestampUtc

DateTime

Click here for more information.

2018-02-13T18:25:14.5044325Z

ExpenseDocument

PwsExpenseDocumentElement

The complete set of information about the expense document. When retrieving an existing document, this will refer to the existing document in the system. When cloning or creating a new expense document, this will not refer to any existing document in the system. This will contain an ExpenseDocumentDetail member of type PwsExpenseDocumentDetail. This structure can be passed back up to PwsSaveExpenseDocument to update an existing document (when this is the response from retrieving an existing document) or create a new expense document (when this is the response from cloning an existing document or creating a new one).


Response Usage Example(s)


Example 01
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsGetExpenseDocumentResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsGetExpenseDocumentResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-12-13T16:19:12.3145635Z</ServerTimestampUtc>
            <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>PPSA Support User</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944261</b:UserUid>
                        <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>PPSA Support User</b:FirstName>
                        <b:LastName>PPSA Support User</b:LastName>
                        <b:MiddleName>PPSA Support User</b:MiddleName>
                     </a:ApprovedByUser>
                     <a:ApprovedTimestamp>2018-11-10T22:41:19.5Z</a:ApprovedTimestamp>
                     <a:ApprovedToInvoiceByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944261</b:UserUid>
                        <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>PPSA Support User</b:FirstName>
                        <b:LastName>PPSA Support User</b:LastName>
                        <b:MiddleName>PPSA Support User</b:MiddleName>
                     </a:ApprovedToInvoiceByUser>
                     <a:ApprovedToInvoiceTimestamp>2018-11-10T22:41:19.5Z</a:ApprovedToInvoiceTimestamp>
                     <a:BilledTimestamp>2018-11-10T22:42:13.557Z</a:BilledTimestamp>
                     <a:ClientAmount>235</a:ClientAmount>
                     <a:CostCardDetail>
                        <CostCardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <CostCardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504614211172</CostCardUid>
                        <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <a:Description>Test</a:Description>
                        <a:DescriptionClearFlag>false</a:DescriptionClearFlag>
                        <a:ExpenseTypeIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Travel-AR</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606861209</b:ExpenseTypeUid>
                        </a:ExpenseTypeIdentity>
                        <a:IncurredAmount>2350</a:IncurredAmount>
                        <a:IncurredDate>2018-11-07T00:00:00Z</a:IncurredDate>
                        <a:IncurredOpsCurrencyIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:OpsCurrencyCode>CNY</b:OpsCurrencyCode>
                           <b:OpsCurrencyId i:nil="true"/>
                        </a:IncurredOpsCurrencyIdentity>
                        <a:IncurredVatAmount>0</a:IncurredVatAmount>
                        <a:LocationClearFlag>false</a:LocationClearFlag>
                        <a:LocationIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:LocationId i:nil="true"/>
                           <b:LocationName>Shanghai</b:LocationName>
                           <b:LocationUid>1152921504606852815</b:LocationUid>
                        </a:LocationIdentity>
                        <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>Barry Allen</b:VendorName>
                           <b:VendorUid>1152921504606931573</b:VendorUid>
                           <b:VendorNumber>Barry Allen</b:VendorNumber>
                        </a:PayeeVendorIdentity>
                        <a:ProjectIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:ProjectCode>P001125-001</b:ProjectCode>
                           <b:ProjectId i:nil="true"/>
                           <b:ProjectUid>1152921504607425735</b:ProjectUid>
                        </a:ProjectIdentity>
                        <a:ResourceClearFlag>false</a:ResourceClearFlag>
                        <a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:ResourceDisplayName>Barry Allen</b:ResourceDisplayName>
                           <b:ResourceId i:nil="true"/>
                           <b:ResourceReferenceSystemId>barry1</b:ResourceReferenceSystemId>
                           <b:ResourceUid>1152921504607019493</b:ResourceUid>
                        </a:ResourceIdentity>
                        <a:Timestamp>AAAAABE+AxA=</a:Timestamp>
                        <a:TotalAmountDisbursedCurrency>235</a:TotalAmountDisbursedCurrency>
                        <a:Udf1 xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UdfId i:nil="true"/>
                           <b:UdfName>CUDF_NM_R</b:UdfName>
                           <b:UdfUid>1152921504606857068</b:UdfUid>
                           <b:BooleanValue i:nil="true"/>
                           <b:DataType>I</b:DataType>
                           <b:DateValue i:nil="true"/>
                           <b:IntegerValue i:nil="true"/>
                           <b:ResourceIdentityValue i:nil="true"/>
                           <b:TextValue i:nil="true"/>
                           <b:UdfTreatment>A</b:UdfTreatment>
                           <b:StoplightValues/>
                           <b:NumericValue i:nil="true"/>
                           <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>CUDF_TX</b:UdfName>
                           <b:UdfUid>1152921504606857425</b:UdfUid>
                           <b:BooleanValue i:nil="true"/>
                           <b:DataType>T</b:DataType>
                           <b:DateValue i:nil="true"/>
                           <b:IntegerValue i:nil="true"/>
                           <b:ResourceIdentityValue i:nil="true"/>
                           <b:TextValue>Test</b:TextValue>
                           <b:UdfTreatment>R</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>PPSA Support User</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944261</b:UserUid>
                        <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>PPSA Support User</b:FirstName>
                        <b:LastName>PPSA Support User</b:LastName>
                        <b:MiddleName>PPSA Support User</b:MiddleName>
                     </a:CreatedByUser>
                     <a:CreatedTimestamp>2018-11-10T22:39:41.617Z</a:CreatedTimestamp>
                     <a:CreditedCostCardIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:DisbursedAmountDisbursedCurrency>235</a:DisbursedAmountDisbursedCurrency>
                     <a:DisbursedAmountEngagementCurrency>235</a:DisbursedAmountEngagementCurrency>
                     <a:DocumentCount>0</a:DocumentCount>
                     <a:EngagementCurrency xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:CurrencyCode>USD</b:CurrencyCode>
                        <b:CurrencyId i:nil="true"/>
                        <b:CurrencyUid>1152921504606849879</b:CurrencyUid>
                     </a:EngagementCurrency>
                     <a:ExpenseAmount>235</a:ExpenseAmount>
                     <a:ForReportingOnlyFlag>false</a:ForReportingOnlyFlag>
                     <a:FxRate>10</a:FxRate>
                     <a:FxRateActual>10</a:FxRateActual>
                     <a:InvoiceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:InvoiceId i:nil="true"/>
                        <b:InvoiceNumber>INV00101</b:InvoiceNumber>
                        <b:InvoiceUid>1152921504607632849</b:InvoiceUid>
                     </a:InvoiceIdentity>
                     <a:InvoiceWorkflowStatus>B</a:InvoiceWorkflowStatus>
                     <a:InvoicedAmount>235</a:InvoicedAmount>
                     <a:LastUpdatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944261</b:UserUid>
                        <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>PPSA Support User</b:FirstName>
                        <b:LastName>PPSA Support User</b:LastName>
                        <b:MiddleName>PPSA Support User</b:MiddleName>
                     </a:LastUpdatedByUser>
                     <a:LastUpdatedTimestamp>2018-11-10T22:41:39.9Z</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>235</a:RevenueAmount>
                     <a:Status>B</a:Status>
                     <a:SubmittedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944261</b:UserUid>
                        <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>PPSA Support User</b:FirstName>
                        <b:LastName>PPSA Support User</b:LastName>
                        <b:MiddleName>PPSA Support User</b:MiddleName>
                     </a:SubmittedByUser>
                     <a:SubmittedTimestamp>2018-11-10T22:39:48.337Z</a:SubmittedTimestamp>
                     <a:SystemRatePerMileageUnit i:nil="true"/>
                     <a:UnitCost>235</a:UnitCost>
                     <a:UnitPrice>235</a:UnitPrice>
                     <a:VatAmountDisbursedCurrency>0</a:VatAmountDisbursedCurrency>
                     <a:VoucherIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:PaymentVoucherId i:nil="true"/>
                        <b:PaymentVoucherNumber>PVER00217</b:PaymentVoucherNumber>
                        <b:PaymentVoucherUid>1152921504607593565</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>RevCorp US</b:CostCenterName>
                        <b:CostCenterNumber>US</b:CostCenterNumber>
                        <b:CostCenterUid>1152921504606856648</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>true</a:ApproverFlag>
                        <a:ApproverToInvoiceFlag>true</a:ApproverToInvoiceFlag>
                        <a:ApproverToPayFlag>true</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>false</a:AwsDraftStatusAllowedFlag>
                        <a:AwsRejectedStatusAllowedFlag>false</a:AwsRejectedStatusAllowedFlag>
                        <a:AwsSubmittedStatusAllowedFlag>false</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>C000126</b:ClientNumber>
                           <b:ClientUid>1152921504606973634</b:ClientUid>
                        </a:ClientIdentity>
                        <a:ClientName>Lyric Opera</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>1152921504606849879</b:CurrencyUid>
                        </a:DisbursedCurrencyIdentity>
                        <a:DisbursingCostCenterIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp US</b:CostCenterName>
                           <b:CostCenterNumber>US</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856648</b:CostCenterUid>
                        </a:DisbursingCostCenterIdentity>
                        <a:EditSubmitFlag>false</a:EditSubmitFlag>
                        <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:DocumentNumber>ER00217</b:DocumentNumber>
                           <b:ExpenseDocumentId i:nil="true"/>
                           <b:ExpenseDocumentUid>1152921504607667441</b:ExpenseDocumentUid>
                        </a:ExpenseDocumentIdentity>
                        <a:ExpenseDocumentName>Expense report created 10 Nov 2018</a:ExpenseDocumentName>
                        <a:ExpenseDocumentTimestamp>AAAAABE+Au8=</a:ExpenseDocumentTimestamp>
                        <a:ExpenseDocumentType>E</a:ExpenseDocumentType>
                        <a:ExpenseDocumentVatFlag>true</a:ExpenseDocumentVatFlag>
                        <a:IwsApprovedStatusAllowedFlag>false</a:IwsApprovedStatusAllowedFlag>
                        <a:IwsDraftInvoiceStatusAllowedFlag>false</a:IwsDraftInvoiceStatusAllowedFlag>
                        <a:IwsInvoicedStatusAllowedFlag>false</a:IwsInvoicedStatusAllowedFlag>
                        <a:IwsUnapprovedStatusAllowedFlag>false</a:IwsUnapprovedStatusAllowedFlag>
                        <a:MileageUom>K</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>Barber of Serville (Rossini)</a:ProjectName>
                     <a:DefaultVatPercentage>0.05</a:DefaultVatPercentage>
                     <a:MaintainReceiptsUnavailableReason>LCK</a:MaintainReceiptsUnavailableReason>
                  </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>1152921504606849879</b:CurrencyUid>
               </a:DisbursedCurrencyIdentity>
               <a:DocumentCount>0</a:DocumentCount>
               <a:ExpenseDocumentDetail>
                  <DocumentNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">ER00217</DocumentNumber>
                  <ExpenseDocumentId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <ExpenseDocumentUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607667441</ExpenseDocumentUid>
                  <a:CashAdvanceReturnAmount>0</a:CashAdvanceReturnAmount>
                  <a:CostCenterIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:CostCenterId i:nil="true"/>
                     <b:CostCenterName>RevCorp US</b:CostCenterName>
                     <b:CostCenterNumber>US</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606856648</b:CostCenterUid>
                  </a:CostCenterIdentity>
                  <a:DocumentName>Expense report created 10 Nov 2018</a:DocumentName>
                  <a:DocumentType>E</a:DocumentType>
                  <a:LocationIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:LocationId i:nil="true"/>
                     <b:LocationName>Shanghai</b:LocationName>
                     <b:LocationUid>1152921504606852815</b:LocationUid>
                  </a:LocationIdentity>
                  <a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:ResourceDisplayName>Barry Allen</b:ResourceDisplayName>
                     <b:ResourceId i:nil="true"/>
                     <b:ResourceReferenceSystemId>barry1</b:ResourceReferenceSystemId>
                     <b:ResourceUid>1152921504607019493</b:ResourceUid>
                  </a:ResourceIdentity>
                  <a:VendorIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:VendorId i:nil="true"/>
                     <b:VendorName>Barry Allen</b:VendorName>
                     <b:VendorUid>1152921504606931573</b:VendorUid>
                     <b:VendorNumber>Barry Allen</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>Barry Allen</b:VendorName>
                     <b:VendorUid>1152921504606931573</b:VendorUid>
                     <b:VendorNumber>Barry Allen</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>AAAAABE+Au8=</a:Timestamp>
                  <a:VendorInvoiceReferenceNumberClearFlag>false</a:VendorInvoiceReferenceNumberClearFlag>
               </a:ExpenseDocumentDetail>
               <a:ExpenseDocumentVatFlag>true</a:ExpenseDocumentVatFlag>
               <a:Invoices>
                  <a:PwsExpenseEntryInvoice>
                     <InvoiceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <InvoiceNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">INV00101</InvoiceNumber>
                     <InvoiceUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607632849</InvoiceUid>
                     <a:IssuedFlag>true</a:IssuedFlag>
                  </a:PwsExpenseEntryInvoice>
               </a:Invoices>
               <a:Locations xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:PwsLocationSummary>
                     <b:LocationId i:nil="true"/>
                     <b:LocationName>Shanghai</b:LocationName>
                     <b:LocationUid>1152921504606852815</b:LocationUid>
                     <b:CurrencyIdentity>
                        <b:CurrencyCode>CNY</b:CurrencyCode>
                        <b:CurrencyId i:nil="true"/>
                        <b:CurrencyUid>1152921504606849973</b:CurrencyUid>
                     </b:CurrencyIdentity>
                     <b:InactiveFlag>false</b:InactiveFlag>
                     <b:MileageUom>K</b:MileageUom>
                     <b:OpsCurrencyIdentity>
                        <b:OpsCurrencyCode>CNY</b:OpsCurrencyCode>
                        <b:OpsCurrencyId i:nil="true"/>
                     </b:OpsCurrencyIdentity>
                     <b:EnabledForCostcardsFlag>true</b:EnabledForCostcardsFlag>
                     <b:EnabledForProjectsFlag>true</b:EnabledForProjectsFlag>
                     <b:EnabledForResourcesFlag>true</b:EnabledForResourcesFlag>
                     <b:EnabledForTimecardsFlag>true</b:EnabledForTimecardsFlag>
                  </b:PwsLocationSummary>
               </a:Locations>
               <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>Barry Allen</b:VendorName>
                     <b:VendorUid>1152921504606931573</b:VendorUid>
                     <b:VendorNumber>Barry Allen</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/">P001125-001</ProjectCode>
                     <ProjectId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <ProjectUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607425735</ProjectUid>
                     <a:BookedResourcesOnlyFlag>true</a:BookedResourcesOnlyFlag>
                     <a:EarliestRoleStartDate>2018-11-01T00:00:00Z</a:EarliestRoleStartDate>
                     <a:EngagementDescriptor>
                        <EngagementCode xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">P001125</EngagementCode>
                        <EngagementId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <EngagementUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607337264</EngagementUid>
                        <a:ClientDescriptor>
                           <ClientId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                           <ClientNumber xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">C000126</ClientNumber>
                           <ClientUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606973634</ClientUid>
                           <a:ClientName>Lyric Opera</a:ClientName>
                           <a:ParentClientDescriptor i:nil="true"/>
                        </a:ClientDescriptor>
                        <a:EngagementManager xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                           <b:UserUid>1152921504606944261</b:UserUid>
                           <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                           <b:FirstName>PPSA Support User</b:FirstName>
                           <b:LastName>PPSA Support User</b:LastName>
                           <b:MiddleName>PPSA Support User</b:MiddleName>
                        </a:EngagementManager>
                        <a:EngagementName>Barber of Serville</a:EngagementName>
                        <a:EngagementTypeDescriptor>
                           <EngagementTypeId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                           <EngagementTypeName xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">[c].Billable - Time &amp; Material</EngagementTypeName>
                           <EngagementTypeShortName xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">TM</EngagementTypeShortName>
                           <EngagementTypeUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606863607</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>1152921504606849879</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>Boston</b:LocationName>
                        <b:LocationUid>1152921504606852816</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>Harvey Sanchez</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>011</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944243</b:UserUid>
                        <b:EmailAddress>Harvey@revcorp.min</b:EmailAddress>
                        <b:FirstName>Harvey</b:FirstName>
                        <b:LastName>Sanchez</b:LastName>
                        <b:MiddleName i:nil="true"/>
                     </a:ProjectManager>
                     <a:ProjectName>Barber of Serville (Rossini)</a:ProjectName>
                     <a:ProjectOpenDate>2018-11-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>1152921504606849646</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"/>
                     <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>Entertainment-Desc-NN</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606861202</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Mileage-NN</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606861203</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Printing and Copying-RR</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606861204</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Research Fees-NN</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606861206</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Telecom-NN</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606861208</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Travel-AR</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606861209</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Per Diem-AA</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606869373</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>03. ER-PASS-NR</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606881912</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Mileage(Locked)-NA</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606881914</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>07. TCAF-AN</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606881915</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>08. PASS-RR</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606881916</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>Exp. Type with a very long name and hits the limit</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606890356</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                        <b:PwsExpenseTypeRef>
                           <b:ExpenseTypeId i:nil="true"/>
                           <b:ExpenseTypeName>06. ER-AA</b:ExpenseTypeName>
                           <b:ExpenseTypeUid>1152921504606890357</b:ExpenseTypeUid>
                        </b:PwsExpenseTypeRef>
                     </a:ExpenseTypeIdentities>
                  </a:PwsExpenseEntryProject>
               </a:Projects>
               <a:Receipts/>
               <a:TitleIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:DepartmentIdentity>
                     <b:DepartmentId i:nil="true"/>
                     <b:DepartmentName>Management</b:DepartmentName>
                     <b:DepartmentUid>1152921504606851319</b:DepartmentUid>
                  </b:DepartmentIdentity>
                  <b:TitleId i:nil="true"/>
                  <b:TitleName>Managing Partner</b:TitleName>
                  <b:TitleUid>1152921504606862839</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/">PVER00217</PaymentVoucherNumber>
                     <PaymentVoucherUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607593565</PaymentVoucherUid>
                     <a:ApprovedToPayByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                        <b:UserId i:nil="true"/>
                        <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                        <b:UserUid>1152921504606944261</b:UserUid>
                        <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                        <b:FirstName>PPSA Support User</b:FirstName>
                        <b:LastName>PPSA Support User</b:LastName>
                        <b:MiddleName>PPSA Support User</b:MiddleName>
                     </a:ApprovedToPayByUser>
                     <a:ApprovedToPayTimestamp>2018-11-10T22:41:20.657Z</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>Barry Allen</b:VendorName>
                        <b:VendorUid>1152921504606931573</b:VendorUid>
                        <b:VendorNumber>Barry Allen</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>PPSA Support User</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                  <b:UserUid>1152921504606944261</b:UserUid>
                  <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                  <b:FirstName>PPSA Support User</b:FirstName>
                  <b:LastName>PPSA Support User</b:LastName>
                  <b:MiddleName>PPSA Support User</b:MiddleName>
               </a:CreatedByUser>
               <a:CreatedTimestamp>2018-11-10T22:39:41.607Z</a:CreatedTimestamp>
               <a:LastUpdatedByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                  <b:UserUid>1152921504606944261</b:UserUid>
                  <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                  <b:FirstName>PPSA Support User</b:FirstName>
                  <b:LastName>PPSA Support User</b:LastName>
                  <b:MiddleName>PPSA Support User</b:MiddleName>
               </a:LastUpdatedByUser>
               <a:LastUpdatedTimestamp>2018-11-10T22:39:48.163Z</a:LastUpdatedTimestamp>
               <a:PaymentVoucherItems>
                  <a:PwsPaymentVoucherItem>
                     <a:Amount>235</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/">PVER00217</PaymentVoucherNumber>
                        <PaymentVoucherUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607593565</PaymentVoucherUid>
                        <a:ApprovedToPayByUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                           <b:UserUid>1152921504606944261</b:UserUid>
                           <b:EmailAddress>support@projectorpsa.com</b:EmailAddress>
                           <b:FirstName>PPSA Support User</b:FirstName>
                           <b:LastName>PPSA Support User</b:LastName>
                           <b:MiddleName>PPSA Support User</b:MiddleName>
                        </a:ApprovedToPayByUser>
                        <a:ApprovedToPayTimestamp>2018-11-10T22:41:20.657Z</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>Barry Allen</b:VendorName>
                           <b:VendorUid>1152921504606931573</b:VendorUid>
                           <b:VendorNumber>Barry Allen</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>K</a:MileageUom>
               <a:ExpenseDocumentLockedFlag>true</a:ExpenseDocumentLockedFlag>
               <a:ApprovalWorkflowStatus>A</a:ApprovalWorkflowStatus>
               <a:CostCardTotalDisbursedAmount>235</a:CostCardTotalDisbursedAmount>
               <a:DeleteExpenseDocumentUnavailableReason>APP</a:DeleteExpenseDocumentUnavailableReason>
               <a:DueToOtherPayeesAmount>0</a:DueToOtherPayeesAmount>
               <a:InvoiceWorkflowStatus>B</a:InvoiceWorkflowStatus>
               <a:MaintainExpenseDocumentUnavailableReason>LOK</a:MaintainExpenseDocumentUnavailableReason>
               <a:PaymentWorkflowStatus>F</a:PaymentWorkflowStatus>
               <a:ViewInExpenseEntryFlag>true</a:ViewInExpenseEntryFlag>
               <a:MaintainEntireEdReceiptsUnavailableReason>LCK</a:MaintainEntireEdReceiptsUnavailableReason>
            </a:ExpenseDocument>
         </PwsGetExpenseDocumentResult>
      </PwsGetExpenseDocumentResponse>
   </s:Body>
</s:Envelope>

PwsGetExpenseDocument - Common Errors and Warnings


ErrorNumber

ErrorCode

ErrorText

19004ExpenseDocumentNotSpecifiedForRetrieveNo expense document was specified for retrieval.
19007CloneDatesOrAmountsRequiresRetrieveCostCardsThe clone flags may not be specified unless you are retrieving the cost cards with the expense document.
19034InvalidValueForExpenseDocumentTypeThe value specified for expense document type is invalid. Value values are E for Expense Report, V for Vendor Invoice and S for Soft Card Batch.
19073ExpenseDocumentIdentityRequiredAn expense document identity must be specified.
65494ExpenseDocumentNotFoundExpense document not found
65577ExpenseDocumentMustBeSpecifiedForCloningExpenseDocumentWhen cloning, an expense document to clone from must be specified
65578NoPermissionToViewExpenseDocumentNo permission to view expense document
65649DisbCostCenterDiffersFromEdCostCenterThe specified disbursing cost center and expense document do not match.
65804SubcontractorInvoiceExpectedSpecified expense document is not a subcontractor invoice.