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.

Request Format

...

titlePwsSaveExpenseDocumentCostCard Request

...

Request Elements

...

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

...

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

...

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

...

On Insert: Yes

On Update: No

...

The cost card details of a new cost card

Request Usage Example(s)

...

languagexml
titleExample 01 - Creating a new cost card
collapsetrue

...

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.

Request Format


Panel
titlePwsSaveExpenseDocumentCostCard Request

Request Elements


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

deprecated


*** This field has been deprecated ***


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 PwsGetExpenseDocumentCostCard (or a prior call to PwsSaveExpenseDocumentCostCard). This will cause the request to fail if any change has been made between invocations of PwsGetExpenseDocumentCostCard and PwsSaveExpenseDocumentCostCard.


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

deprecated



** This field has been deprecated **


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

deprecated



** This field has been deprecated **


CostCards

PwsCostCardDetail[]

On Insert: Yes

On Update: No


The cost card details of a new cost card


Request Usage Example(s)


Code Block
languagexml
titleExample 01 - Creating a new cost card
collapsetrue
<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:PwsSaveExpenseDocumentCostCard>
         <pws:serviceRequest>
            <com<req:ExpenseTypeName>Travel<RequestId>1</comreq:ExpenseTypeName>RequestId>
            <req:SessionTicket>AfMtiadjKEErha/5LNfifA==</req:SessionTicket>
     </tim:ExpenseTypeIdentity>       <tim:Comments>Cost Card Creation</tim:Comments>
         <tim:IncurredAmount>500.15</tim:IncurredAmount>   <tim:ExpenseDocumentIdentity>
               <tim:IncurredDate>2018-03-19T00:00:00.000Z</tim:IncurredDate><com:DocumentNumber>ER00727</com:DocumentNumber>
              </tim:ExpenseDocumentIdentity>
   <tim:IncurredOpsCurrencyIdentity>         <tim:FullDetailFlag>true</tim:FullDetailFlag>
            <com<tim:OpsCurrencyCode>USD<InsertReceiptsIfNotFoundOnUpdateFlag>false</comtim:OpsCurrencyCode>InsertReceiptsIfNotFoundOnUpdateFlag>
            <tim:ResourceIdentity>
      </tim:IncurredOpsCurrencyIdentity>         <com:ResourceReferenceSystemId>E123</com:ResourceReferenceSystemId>
          <tim:LocationClearFlag>false<  </tim:LocationClearFlag>ResourceIdentity>
            <tim:CostCards>
     <tim:LocationIdentity>          <tim:PwsCostCardDetail>
           <com:LocationName>USA</com:LocationName>       <tim:Description>New Cost Card Insert</tim:Description>
        <          <tim:DescriptionClearFlag>false</tim:LocationIdentity>DescriptionClearFlag>
                  <tim:NonBillableFlag>false</tim:NonBillableFlag>ExpenseTypeIdentity>
                     <tim<com:PayeeVendorClearFlag>false<ExpenseTypeName>Travel</timcom:PayeeVendorClearFlag>ExpenseTypeName>
                  <tim</tim:PayeeVendorIdentity>ExpenseTypeIdentity>
                     <com:VendorName>ABC Card</com:VendorName><tim:IncurredAmount>500.15</tim:IncurredAmount>
                  <<tim:IncurredDate>2018-03-19T00:00:00.000Z</tim:PayeeVendorIdentity>IncurredDate>
                  <tim:ProjectIdentity>IncurredOpsCurrencyIdentity>
                     <com:ProjectCode>P001395-001<OpsCurrencyCode>USD</com:ProjectCode>OpsCurrencyCode>
                  </tim:ProjectIdentity>IncurredOpsCurrencyIdentity>
                  <tim:ResourceClearFlag>false<LocationClearFlag>false</tim:ResourceClearFlag>LocationClearFlag>
                  <tim:ResourceIdentity>LocationIdentity>
                     <com:ResourceReferenceSystemId>E123<LocationName>USA</com:ResourceReferenceSystemId>LocationName>
                  </tim:ResourceIdentity>LocationIdentity>
                  <tim:TotalAmountDisbursedCurrency>500.15<NonBillableFlag>false</tim:TotalAmountDisbursedCurrency>NonBillableFlag>
                  <tim:Udf1ClearFlag>false<PayeeVendorClearFlag>false</tim:Udf1ClearFlag>PayeeVendorClearFlag>
                  <tim:Udf2ClearFlag>false</tim:Udf2ClearFlag>PayeeVendorIdentity>
                     <tim<com:ExternalGroupingIdentifier>1<VendorName>ABC Card</timcom:ExternalGroupingIdentifier>VendorName>
                  <tim:ExternalGroupingIdentifierClearFlag>false<</tim:ExternalGroupingIdentifierClearFlag>PayeeVendorIdentity>
                  </tim:PwsCostCardDetail><tim:ProjectIdentity>
             </tim:CostCards>        <com:ProjectCode>P001395-001</com:ProjectCode>
                  </pws:serviceRequest>tim:ProjectIdentity>
                  </pws:PwsSaveExpenseDocumentCostCard><tim:ResourceClearFlag>false</tim:ResourceClearFlag>
                  <tim:ResourceIdentity>
                     <<com:ResourceReferenceSystemId>E123</soapenv:Body>com:ResourceReferenceSystemId>
                  </soapenv:Envelope>
Code Block
languagexml
titleExample 02 - Updating an existing cost card
collapsetrue
<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>tim:ResourceIdentity>
                  <tim:TotalAmountDisbursedCurrency>500.15</tim:TotalAmountDisbursedCurrency>
          <pws:PwsSaveExpenseDocumentCostCard>        <tim:Udf1ClearFlag>false</tim:Udf1ClearFlag>
 <pws:serviceRequest>             <req:RequestId>1</req:RequestId>    <tim:Udf2ClearFlag>false</tim:Udf2ClearFlag>
        <req:SessionTicket>AfMtiadjKEErha/5LNfifA==</req:SessionTicket>             <tim:Comments>Cost Card Save<ExternalGroupingIdentifier>1</tim:Comments>ExternalGroupingIdentifier>
            <tim:CostCard>                <com:CostCardUid>1152921504614515312</com:CostCardUid><tim:ExternalGroupingIdentifierClearFlag>false</tim:ExternalGroupingIdentifierClearFlag>
               <tim:Description>Cost Card Save<</tim:Description>PwsCostCardDetail>
               <tim:DescriptionClearFlag>false<</tim:DescriptionClearFlag>CostCards>
               <tim:ExpenseTypeIdentity></pws:serviceRequest>
      </pws:PwsSaveExpenseDocumentCostCard>
           <com:ExpenseTypeName>Meals</com:ExpenseTypeName>
               </tim:ExpenseTypeIdentity>
               <tim:IncurredAmount>50.75</tim:IncurredAmount></soapenv:Body>
</soapenv:Envelope>


Code Block
languagexml
titleExample 02 - Updating an existing cost card
collapsetrue
<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:PwsSaveExpenseDocumentCostCard>
         <tim:IncurredDate>2018-03-19T00:00:00.000Z</tim:IncurredDate>
  <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AfMtiadjKEErha/5LNfifA==</req:SessionTicket>
            <tim:IncurredOpsCurrencyIdentity>Comments>Cost Card Save</tim:Comments>
            <tim:CostCard>
               <com:OpsCurrencyCode>USD<CostCardUid>1152921504614515312</com:OpsCurrencyCode>CostCardUid>
               <<tim:Description>Cost Card Save</tim:IncurredOpsCurrencyIdentity>Description>
               <tim:LocationClearFlag>false<DescriptionClearFlag>false</tim:LocationClearFlag>DescriptionClearFlag>
               <tim:LocationIdentity>ExpenseTypeIdentity>
                  <com:LocationName>USA<ExpenseTypeName>Meals</com:LocationName>ExpenseTypeName>
               </tim:LocationIdentity>ExpenseTypeIdentity>
               <tim:NonBillableFlag>false<IncurredAmount>50.75</tim:NonBillableFlag>IncurredAmount>
               <tim:OverrideClientAmountClearFlag>false<IncurredDate>2018-03-19T00:00:00.000Z</tim:OverrideClientAmountClearFlag>IncurredDate>
               <tim:PayeeVendorClearFlag>false</tim:PayeeVendorClearFlag>IncurredOpsCurrencyIdentity>
               <tim:PayeeVendorIdentity>   <com:OpsCurrencyCode>USD</com:OpsCurrencyCode>
               <com:VendorName>ABC Card</com:VendorName></tim:IncurredOpsCurrencyIdentity>
               <<tim:LocationClearFlag>false</tim:PayeeVendorIdentity>LocationClearFlag>
               <tim:ProjectIdentity>LocationIdentity>
                  <com:ProjectCode>P001395-001<LocationName>USA</com:ProjectCode>LocationName>
               </tim:ProjectIdentity>LocationIdentity>
               <tim:ResourceClearFlag>false<NonBillableFlag>false</tim:ResourceClearFlag>NonBillableFlag>
               <tim:OverrideClientAmountClearFlag>false</tim:ResourceIdentity>OverrideClientAmountClearFlag>
                  <com:ResourceReferenceSystemId>E123</com:ResourceReferenceSystemId><tim:PayeeVendorClearFlag>false</tim:PayeeVendorClearFlag>
               </tim:ResourceIdentity><tim:PayeeVendorIdentity>
                  <tim:TotalAmountDisbursedCurrency>50.75</tim:TotalAmountDisbursedCurrency><com:VendorName>ABC Card</com:VendorName>
               <tim</tim:Udf1>PayeeVendorIdentity>
                  <com:UdfName>Attendees</com:UdfName><tim:ProjectIdentity>
                  <com:NumericValue>2<ProjectCode>P001395-001</com:NumericValue>ProjectCode>
               </tim:Udf1>ProjectIdentity>
               <tim:Udf1ClearFlag>false<ResourceClearFlag>false</tim:Udf1ClearFlag>ResourceClearFlag>
               <tim:Udf2>ResourceIdentity>
                  <com:UdfName>Purpose<ResourceReferenceSystemId>E123</com:UdfName>ResourceReferenceSystemId>
                  <com:TextValue>Client Meeting</com:TextValue></tim:ResourceIdentity>
               <<tim:TotalAmountDisbursedCurrency>50.75</tim:Udf2>TotalAmountDisbursedCurrency>
               <tim:Udf2ClearFlag>false</tim:Udf2ClearFlag>Udf1>
               <tim:ExternalGroupingIdentifier>2</tim:ExternalGroupingIdentifier>   <com:UdfName>Attendees</com:UdfName>
                <tim:ExternalGroupingIdentifierClearFlag>false<  <com:NumericValue>2</com:NumericValue>
               </tim:ExternalGroupingIdentifierClearFlag>Udf1>
               <<tim:Udf1ClearFlag>false</tim:CostCard>Udf1ClearFlag>
               <tim:ExpenseDocumentIdentity>Udf2>
                  <com:DocumentNumber>ER00727<UdfName>Purpose</com:DocumentNumber>UdfName>
                  <com:TextValue>Client <Meeting</tim:ExpenseDocumentIdentity>com:TextValue>
               <tim:FullDetailFlag>true<</tim:FullDetailFlag>Udf2>
               <tim:InsertReceiptsIfNotFoundOnUpdateFlag>false<Udf2ClearFlag>false</tim:InsertReceiptsIfNotFoundOnUpdateFlag>Udf2ClearFlag>
               <tim:ResourceIdentity>ExternalGroupingIdentifier>2</tim:ExternalGroupingIdentifier>
               <com<tim:ResourceDisplayName>E123<ExternalGroupingIdentifierClearFlag>false</comtim:ResourceDisplayName>ExternalGroupingIdentifierClearFlag>
            </tim:ResourceIdentity>CostCard>
            </pws:serviceRequest><tim:ExpenseDocumentIdentity>
           </pws:PwsSaveExpenseDocumentCostCard>    <<com:DocumentNumber>ER00727</soapenvcom:Body>
DocumentNumber>
            </soapenv:Envelope>

Response Format

Panel
titlePwsSaveExpenseDocumentCostCard Response
PwsSaveExpenseDocumentCostCardResponsePwsSaveExpenseDocumentCostCardResult: PwsSaveExpenseDocumentCostCardRs
  • Messages: PwsMessage
  • ResponseId: Int32
  • Status: RequestStatus
  • ServerTimestampUtc: DateTime
  • CostCard: PwsCostCardElement
  • CostCardIdentity: PwsCostCardRef
  • CostCardResult: PwsSaveCostCardResult
  • ExpenseDocumentTimestamp: String
  • tim:ExpenseDocumentIdentity>
                <tim:FullDetailFlag>true</tim:FullDetailFlag>
                <tim:InsertReceiptsIfNotFoundOnUpdateFlag>false</tim:InsertReceiptsIfNotFoundOnUpdateFlag>
                <tim:ResourceIdentity>
                   <com:ResourceDisplayName>E123</com:ResourceDisplayName>
                </tim:ResourceIdentity>
             </pws:serviceRequest>
          </pws:PwsSaveExpenseDocumentCostCard>
       </soapenv:Body>
    </soapenv:Envelope>

    Response Format


    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

    . Applies if FullDetailFlag specified on input. If multiple cost cards saved, this is the first cost card. Maintained for backward compatibility.


    CostCardIdentity

    PwsCostCardRef

    The key fields of the updated or inserted cost card. If multiple cost cards saved, this is the first cost card. Maintained for backward compatibility.


    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.See Request Elements above for details.

    AAAAAA64T1w=

    Location

    PwsLocationSummary

    The cost card location. If multiple cost cards saved, this is the location of the first cost card. Maintained for backward compatibility.


    ReceiptResults

    PwsSaveReceiptResult[???]

    The error details of a failed receipt insert or savefor receipts that failed to be inserted or updated.


    SaveSucceededFlag

    Boolean

    If set to 'true', the save has succeeded.

    true

    CostCardIdentities

    PwsCostCardRef[???]

    The key fields of the inserted cost cardcards.


    CostCards

    PwsCostCardElement[???]

    The details of the new cost card (less any subordinate entities)cards. Applies if FillDetailFlag specified on input.


    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>

    PwsSaveExpenseDocumentCostCard - Common Errors and Warnings


    ErrorNumber

    ErrorCode

    ErrorText

    137

    CostCardDescriptionTruncated

    The specified cost card description exceeded the maximum length of 4000 characters and was truncated.

    19001CostCardErrorsOne or more cost cards could not be saved. The expense document was not created. Check CostCardResults for specific errors.
    19012NewCostCardProjectIdentityRequiredNew project identity is required for the cost card transfer.
    19020ExpenseDocumentNotSpecifiedForSaveCostCardNo expense document was specified.
    19033InvalidValueForCostCardIncurredDateThe value specified for the cost card incurred date is invalid. Dates must be specified in UTC, with no time component (e.g. midnight UTC).
    19038CostCardIdentityRequiredForReceiptCostCardCost card identity is required.
    19045CostCardIdentitiesRequiredOne or more cost card identities must be specified.
    19059CostCardIdentityRequiredA cost card identity must be specified.
    65152UnexpectedCostCardUdfValueUnexpected UDF value provided (UDF metadata may have changed)
    65153CostCardIncurredDateRangeNotValidSpecified incurred date outside the supported date range.
    65196ReceiptsMayNotBeAssociatedWithIndividualCostCardsAccount is configured not to allow receipts to be attached to individual cost cards.
    65200CostCardHasBeenChangedCost card has been changed by another user.
    65336CannotChangeSubmittedCostCardsApClosedCannot save changes to submitted cost card because the accounting period is closed for expenses.
    65374CostCardHasBeenDeletedOne or more referenced cost card(s) have been deleted.
    65379SaveCardCostCardHasBeenDeletedReferenced cost card has been deleted.
    65385SaveReceiptCostCardHasBeenDeletedReferenced cost card has been deleted.
    65393SelectCardCostCardHasBeenDeletedReferenced cost card has been deleted.
    65470SpecifiedCostCardDoesNotBelongToSpecifiedExpenseDocumentCost card/expense document mismatch
    65487LocationInactiveOrNotEnabledForCostCardsSpecified location is inactive or not enabled for cost cards.
    65489CostCardRefInvalidCostCardRef is required
    65491CostCardNotFoundCostCard not found
    65492ExpenseDocumentRefInvalidExpenseDocumentRef is required
    65494ExpenseDocumentNotFoundExpense document not found
    65495ExpenseDocumentHasBeenUpdatedByAnotherUserExpense document has been changed.
    65502ReceiptRefInvalidReceiptRef is required
    65504ReceiptNotFoundReceipt not found
    65510ReceivedFlagIsRequiredReceived flag must not be null
    65519CostCardAlreadyApprovedThis cost card cannot be saved because it is already approved
    65520IncurredDateIsRequiredForNewCostCardsIncurred date is required for new cost cards
    65521TotalAmountDisbursedCurrencyIsRequiredForNewCostCardsTotal amount in disbursed currency is required for new cost cards
    65522IncurredAmountIsRequiredForNewFxCostCardsIncurred amount is required for new cost cards with differing incurred and disbursed currencies
    65523IncurredAndDisbursedAmountMismatchIncurred/disbursed total amount mismatch
    65525UserDefinedFieldValueUnavailableSpecified user defined field value is unavailable on at least one selected cost card.
    65529ExpenseReportResourceMustMatchCostCardResourceExpense report resource must match cost card resource