Versions Compared

Key

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

Overview


This web service inserts or updates cost cards based on a detailed cost card structure (PwsCostCardDetail). The service returns the identity (PwsCostCardRef) of the cost card that has been inserted or updated. The caller can optionally request that the full cost card detail (PwsCostCardElement) be included in the response.

...

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information.

1

SessionTicket

String

Yes 


Click here for more information.

AfMtiadjKEErha/5LNfifA==

Comments

String

No 


Cost Card save / update comments

Cost Card Creation

CostCard

PwsCostCardDetail

On Insert: No

On Update Yes 


The cost card details of an existing cost card


DeleteReceipts

PwsReceiptRef[???]

No 


The receipts to be deleted


ExpenseDocumentIdentity

PwsExpenseDocumentRef

On Insert: yes

On Update: No 


The expense document associated with the cost card


ExpenseDocumentTimestamp

String

No


This is a Base64 encoded timestamp utilized for expense document locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned by a call to PwsSaveExpenseDocument (or a prior call to PwsSaveExpenseDocument). This will cause the request to fail if any change has been made between invocations of PwsGetExpenseDocument and PwsSaveExpenseDocument.


FullDetailFlag

Boolean

No 

false

If set to 'true', include full detailed cost card element in response

true

InsertReceiptsIfNotFoundOnUpdateFlag

Boolean

No


If set to 'true', specified receipts that are not found during an update will instead be inserted

false

ResourceIdentity

PwsResourceRef

On Insert: No

On Update No 


The identity of the resource associated with the cost card


SaveReceipts

PwsReceiptDetail[???]

On Insert: No

On Update: No 


The receipt details to be inserted or updated


UpdateReceiptsIfFoundOnInsertFlag

Boolean

deprecated


** This field has been deprecated **


PreserveCostCardStatusFlag

Boolean

deprecate



** This field has been deprecated **


CostCards

PwsCostCardDetail[???]

On Insert: Yes

On Update: No


The cost card details of a new cost card


...

Panel
titlePwsSaveExpenseDocumentCostCard 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

 
1

Status

RequestStatus

Click here for more information

 
Ok

ServerTimestampUtc

DateTime

Click here for more information

 
2018-03-21T16:29:51.9180181Z

CostCard

PwsCostCardElement

The details of the existing cost card (less any subordinate entities)

 


CostCardIdentity

PwsCostCardRef

The key fields of the updated cost card

 


CostCardResult

PwsSaveCostCardResult

The error details of a failed cost card save

 


ExpenseDocumentTimestamp

String

This is a Base64 encoded timestamp utilized for expense document locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned by a call to PwsSaveExpenseDocument (or a prior call to PwsSaveExpenseDocument). This will cause the request to fail if any change has been made between invocations of PwsGetExpenseDocument and PwsSaveExpenseDocument.

 
AAAAAA64T1w=

Location

PwsLocationSummary

The cost card location

 


ReceiptResults

PwsSaveReceiptResult [???]

The error details of a failed receipt insert or save

 


SaveSucceededFlag

Boolean

If set to 'true', the save has succeeded

 
true

CostCardIdentities

PwsCostCardRef [???]

The key fields of the inserted cost card

 


CostCards

PwsCostCardElement [???]

The details of the new cost card (less any subordinate entities)

 


Response Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSaveExpenseDocumentCostCardResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSaveExpenseDocumentCostCardResult 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-03-21T16:29:51.9180181Z</ServerTimestampUtc>
            <a:CostCard>
               <a:AdjustedRevenueAmount i:nil="true"/>
               <a:ApprovalWorkflowStatus>D</a:ApprovalWorkflowStatus>
               <a:ApprovedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
               <a:ApprovedTimestamp i:nil="true"/>
               <a:ApprovedToInvoiceByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
               <a:ApprovedToInvoiceTimestamp i:nil="true"/>
               <a:BilledTimestamp i:nil="true"/>
               <a:ClientAmount>500.15</a:ClientAmount>
               <a:CostCardDetail>
                  <CostCardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <CostCardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504614515313</CostCardUid>
                  <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:Description>New Cost Card Insert</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</b:ExpenseTypeName>
                     <b:ExpenseTypeUid>1152921504606881280</b:ExpenseTypeUid>
                  </a:ExpenseTypeIdentity>
                  <a:IncurredAmount>500.15</a:IncurredAmount>
                  <a:IncurredDate>2018-03-19T00: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 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: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>ABC Card</b:VendorName>
                     <b:VendorUid>1152921504607055893</b:VendorUid>
                     <b:VendorNumber>ABC Card</b:VendorNumber>
                  </a:PayeeVendorIdentity>
                  <a:ProjectIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:ProjectCode>P001395-001</b:ProjectCode>
                     <b:ProjectId i:nil="true"/>
                     <b:ProjectUid>1152921504607412209</b:ProjectUid>
                  </a:ProjectIdentity>
                  <a:ResourceClearFlag>false</a:ResourceClearFlag>
                  <a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:ResourceDisplayName>Jack Spratt</b:ResourceDisplayName>
                     <b:ResourceId i:nil="true"/>
                     <b:ResourceReferenceSystemId>E123</b:ResourceReferenceSystemId>
                     <b:ResourceUid>1152921504607111573</b:ResourceUid>
                  </a:ResourceIdentity>
                  <a:Timestamp>AAAAAA64T18=</a:Timestamp>
                  <a:TotalAmountDisbursedCurrency>500.15</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 i:nil="true"/>
                     <b:ResourceIdentityValue i:nil="true"/>
                     <b:TextValue i:nil="true"/>
                     <b:UdfTreatment>N</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>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 i:nil="true"/>
                     <b:UdfTreatment>N</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>1</a:ExternalGroupingIdentifier>
                  <a:ExternalGroupingIdentifierClearFlag>false</a:ExternalGroupingIdentifierClearFlag>
               </a:CostCardDetail>
               <a:CreatedByUser 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:CreatedByUser>
               <a:CreatedTimestamp>2018-03-21T16:29:50.69Z</a:CreatedTimestamp>
               <a:CreditedCostCardIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
               <a:DisbursedAmountDisbursedCurrency>500.15</a:DisbursedAmountDisbursedCurrency>
               <a:DisbursedAmountEngagementCurrency i:nil="true"/>
               <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>1152921504606851838</b:CurrencyUid>
               </a:EngagementCurrency>
               <a:ExpenseAmount i:nil="true"/>
               <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>N</a:InvoiceWorkflowStatus>
               <a:InvoicedAmount>0</a:InvoicedAmount>
               <a:LastUpdatedByUser 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:LastUpdatedByUser>
               <a:LastUpdatedTimestamp>2018-03-21T16:29:50.69Z</a:LastUpdatedTimestamp>
               <a:LockedFlag>false</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 i:nil="true"/>
               <a:Status>U</a:Status>
               <a:SubmittedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
               <a:SubmittedTimestamp i:nil="true"/>
               <a:SystemRatePerMileageUnit>0.575</a:SystemRatePerMileageUnit>
               <a:UnitCost>500.15</a:UnitCost>
               <a:UnitPrice>500.15</a:UnitPrice>
               <a:VatAmountDisbursedCurrency>0</a:VatAmountDisbursedCurrency>
               <a:VoucherIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
               <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>USA</b:CostCenterName>
                  <b:CostCenterNumber>USA</b:CostCenterNumber>
                  <b:CostCenterUid>1152921504606867361</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>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>true</a:AwsRejectedStatusAllowedFlag>
                  <a:AwsSubmittedStatusAllowedFlag>true</a:AwsSubmittedStatusAllowedFlag>
                  <a:CanAdjustFlag>true</a:CanAdjustFlag>
                  <a:CanEditFlag>true</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>Contractor (USA)</b:CostCenterName>
                     <b:CostCenterNumber>Contractor (USA)</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606873749</b:CostCenterUid>
                  </a:DisbursingCostCenterIdentity>
                  <a:EditSubmitFlag>true</a:EditSubmitFlag>
                  <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:DocumentNumber>ER00727</b:DocumentNumber>
                     <b:ExpenseDocumentId i:nil="true"/>
                     <b:ExpenseDocumentUid>1152921504607683581</b:ExpenseDocumentUid>
                  </a:ExpenseDocumentIdentity>
                  <a:ExpenseDocumentName>March Expenses</a:ExpenseDocumentName>
                  <a:ExpenseDocumentTimestamp>AAAAAA64T1w=</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>false</a:IwsUnapprovedStatusAllowedFlag>
                  <a:MileageUom>M</a:MileageUom>
                  <a:PwsApprovedStatusAllowedFlag>false</a:PwsApprovedStatusAllowedFlag>
                  <a:PwsPaidStatusAllowedFlag>false</a:PwsPaidStatusAllowedFlag>
                  <a:PwsReceivedStatusAllowedFlag>false</a:PwsReceivedStatusAllowedFlag>
                  <a:PwsTransmittedStatusAllowedFlag>false</a:PwsTransmittedStatusAllowedFlag>
                  <a:PwsUnapprovedStatusAllowedFlag>false</a:PwsUnapprovedStatusAllowedFlag>
               </a:ManagementData>
               <a:PaymentVoucherPaymentWorkflowStatus>N</a:PaymentVoucherPaymentWorkflowStatus>
               <a:ProjectName>New Web Services Project (A)</a:ProjectName>
               <a:DefaultVatPercentage>0</a:DefaultVatPercentage>
            </a:CostCard>
            <a:CostCardIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:CostCardId i:nil="true"/>
               <b:CostCardUid>1152921504614515313</b:CostCardUid>
               <b:ReferenceId i:nil="true"/>
            </a:CostCardIdentity>
            <a:CostCardResult i:nil="true"/>
            <a:ExpenseDocumentTimestamp>AAAAAA64T1w=</a:ExpenseDocumentTimestamp>
            <a:Location xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:LocationId i:nil="true"/>
               <b:LocationName>USA</b:LocationName>
               <b:LocationUid>1152921504606855985</b:LocationUid>
               <b:CurrencyIdentity>
                  <b:CurrencyCode>USD</b:CurrencyCode>
                  <b:CurrencyId i:nil="true"/>
                  <b:CurrencyUid>1152921504606851838</b:CurrencyUid>
               </b:CurrencyIdentity>
               <b:InactiveFlag>false</b:InactiveFlag>
               <b:MileageUom>M</b:MileageUom>
               <b:OpsCurrencyIdentity>
                  <b:OpsCurrencyCode>USD</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>
            </a:Location>
            <a:ReceiptResults i:nil="true"/>
            <a:SaveSucceededFlag>true</a:SaveSucceededFlag>
            <a:CostCardIdentities xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsCostCardRef>
                  <b:CostCardId i:nil="true"/>
                  <b:CostCardUid>1152921504614515313</b:CostCardUid>
                  <b:ReferenceId i:nil="true"/>
               </b:PwsCostCardRef>
            </a:CostCardIdentities>
            <a:CostCards>
               <a:PwsCostCardElement>
                  <a:AdjustedRevenueAmount i:nil="true"/>
                  <a:ApprovalWorkflowStatus>D</a:ApprovalWorkflowStatus>
                  <a:ApprovedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:ApprovedTimestamp i:nil="true"/>
                  <a:ApprovedToInvoiceByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:ApprovedToInvoiceTimestamp i:nil="true"/>
                  <a:BilledTimestamp i:nil="true"/>
                  <a:ClientAmount>500.15</a:ClientAmount>
                  <a:CostCardDetail>
                     <CostCardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <CostCardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504614515313</CostCardUid>
                     <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <a:Description>New Cost Card Insert</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</b:ExpenseTypeName>
                        <b:ExpenseTypeUid>1152921504606881280</b:ExpenseTypeUid>
                     </a:ExpenseTypeIdentity>
                     <a:IncurredAmount>500.15</a:IncurredAmount>
                     <a:IncurredDate>2018-03-19T00: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 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: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>ABC Card</b:VendorName>
                        <b:VendorUid>1152921504607055893</b:VendorUid>
                        <b:VendorNumber>ABC Card</b:VendorNumber>
                     </a:PayeeVendorIdentity>
                     <a:ProjectIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:ProjectCode>P001395-001</b:ProjectCode>
                        <b:ProjectId i:nil="true"/>
                        <b:ProjectUid>1152921504607412209</b:ProjectUid>
                     </a:ProjectIdentity>
                     <a:ResourceClearFlag>false</a:ResourceClearFlag>
                     <a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:ResourceDisplayName>Jack Spratt</b:ResourceDisplayName>
                        <b:ResourceId i:nil="true"/>
                        <b:ResourceReferenceSystemId>E123</b:ResourceReferenceSystemId>
                        <b:ResourceUid>1152921504607111573</b:ResourceUid>
                     </a:ResourceIdentity>
                     <a:Timestamp>AAAAAA64T18=</a:Timestamp>
                     <a:TotalAmountDisbursedCurrency>500.15</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 i:nil="true"/>
                        <b:ResourceIdentityValue i:nil="true"/>
                        <b:TextValue i:nil="true"/>
                        <b:UdfTreatment>N</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>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 i:nil="true"/>
                        <b:UdfTreatment>N</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>1</a:ExternalGroupingIdentifier>
                     <a:ExternalGroupingIdentifierClearFlag>false</a:ExternalGroupingIdentifierClearFlag>
                  </a:CostCardDetail>
                  <a:CreatedByUser 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:CreatedByUser>
                  <a:CreatedTimestamp>2018-03-21T16:29:50.69Z</a:CreatedTimestamp>
                  <a:CreditedCostCardIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:DisbursedAmountDisbursedCurrency>500.15</a:DisbursedAmountDisbursedCurrency>
                  <a:DisbursedAmountEngagementCurrency i:nil="true"/>
                  <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>1152921504606851838</b:CurrencyUid>
                  </a:EngagementCurrency>
                  <a:ExpenseAmount i:nil="true"/>
                  <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>N</a:InvoiceWorkflowStatus>
                  <a:InvoicedAmount>0</a:InvoicedAmount>
                  <a:LastUpdatedByUser 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:LastUpdatedByUser>
                  <a:LastUpdatedTimestamp>2018-03-21T16:29:50.69Z</a:LastUpdatedTimestamp>
                  <a:LockedFlag>false</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 i:nil="true"/>
                  <a:Status>U</a:Status>
                  <a:SubmittedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:SubmittedTimestamp i:nil="true"/>
                  <a:SystemRatePerMileageUnit>0.575</a:SystemRatePerMileageUnit>
                  <a:UnitCost>500.15</a:UnitCost>
                  <a:UnitPrice>500.15</a:UnitPrice>
                  <a:VatAmountDisbursedCurrency>0</a:VatAmountDisbursedCurrency>
                  <a:VoucherIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <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>USA</b:CostCenterName>
                     <b:CostCenterNumber>USA</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606867361</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>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>true</a:AwsRejectedStatusAllowedFlag>
                     <a:AwsSubmittedStatusAllowedFlag>true</a:AwsSubmittedStatusAllowedFlag>
                     <a:CanAdjustFlag>true</a:CanAdjustFlag>
                     <a:CanEditFlag>true</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>Contractor (USA)</b:CostCenterName>
                        <b:CostCenterNumber>Contractor (USA)</b:CostCenterNumber>
                        <b:CostCenterUid>1152921504606873749</b:CostCenterUid>
                     </a:DisbursingCostCenterIdentity>
                     <a:EditSubmitFlag>true</a:EditSubmitFlag>
                     <a:ExpenseDocumentIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:DocumentNumber>ER00727</b:DocumentNumber>
                        <b:ExpenseDocumentId i:nil="true"/>
                        <b:ExpenseDocumentUid>1152921504607683581</b:ExpenseDocumentUid>
                     </a:ExpenseDocumentIdentity>
                     <a:ExpenseDocumentName>March Expenses</a:ExpenseDocumentName>
                     <a:ExpenseDocumentTimestamp>AAAAAA64T1w=</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>false</a:IwsUnapprovedStatusAllowedFlag>
                     <a:MileageUom>M</a:MileageUom>
                     <a:PwsApprovedStatusAllowedFlag>false</a:PwsApprovedStatusAllowedFlag>
                     <a:PwsPaidStatusAllowedFlag>false</a:PwsPaidStatusAllowedFlag>
                     <a:PwsReceivedStatusAllowedFlag>false</a:PwsReceivedStatusAllowedFlag>
                     <a:PwsTransmittedStatusAllowedFlag>false</a:PwsTransmittedStatusAllowedFlag>
                     <a:PwsUnapprovedStatusAllowedFlag>false</a:PwsUnapprovedStatusAllowedFlag>
                  </a:ManagementData>
                  <a:PaymentVoucherPaymentWorkflowStatus>N</a:PaymentVoucherPaymentWorkflowStatus>
                  <a:ProjectName>New Web Services Project (A)</a:ProjectName>
                  <a:DefaultVatPercentage>0</a:DefaultVatPercentage>
               </a:PwsCostCardElement>
            </a:CostCards>
         </PwsSaveExpenseDocumentCostCardResult>
      </PwsSaveExpenseDocumentCostCardResponse>
   </s:Body>
</s:Envelope>