Versions Compared

Key

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

Overview

This web service can be used to create a web invoice. You specify the attributes to use for invoice creation by providing a InvoiceSpec, an instance of PwsCandidateInvoiceSpec. This structure allows you to specify the name, scope and content of the invoice, the approval statuses and other invoice attributes. See below for full details. The caller can optionally request that the full invoice detail PwsInvoiceElement be included in the response.

Note that this service will create web invoices only, and cannot be used to create Management Portal invoices.

Request Format

Panel
titlePwsCreateInvoice Request
* PwsCreateInvoiceRq
	* InvoiceSpec
		* InvoiceName : String(100)
		* ClientIdentity : PwsClientRef
		* PurchaseOrderNumber : String(50)
		* EngagementIdentity : PwsEngagementRef
		* ProjectIdentity : PwsProjectRef
		* ApprovedByFinanceFlag : Boolean
		* ApprovedByProjectManagerFlag : Boolean
		* ApprovedByManagementFlag : Boolean
		* EngagementCurrencyIdentity : PwsCurrencyRef
		* CostCenterIdentity : PwsCostCenterRef
		* BillingCultureIdentity : PwsCultureRef
		* EngagementInvoiceContent : String(1)
		* InvoiceScope : String(1)
		* InvoiceContent : String(1)
		* CardBeginDate : Date
		* CardEndDate : Date
	* NotifyFinanceTeamFlag : Boolean
	* NotifyPmTeamFlag : Boolean
	* NotifyManagementTeamFlag : Boolean
	* NewInvoiceMessages: String(1000)
	* AddCommentsToInvoiceMessagesFlag : Boolean
	* ExcludeZeroAmountTimeCardsFlag : Boolean
	* ExcludeZeroAmountCostCardsFlag : Boolean
	* FullDetailFlag : Boolean
	* IncludeAdjustmentHistoryFlag : Boolean
	* IncludeFullAdjustmentHistoryFlag : Boolean

Request Elements

...

Element

...

Click here for more information

...

Click here for more information

...

Request Usage Example(s)

Response Format

...

titlePwsCreateProjectCostBaseline 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-01-29T21:55:08.7579802Z

...

EngagementLockStolenFromUserIdentity

...

PwsUserRef

...

**deprecated**

...

EngagementTimestamp

...

String

...

**deprecated**

...

AAAAAA62DGw=

...

ProjectCostBaseline

...

PwsProjectCostBaselineElement

...

The complete set of information about the project cost baseline. Specify FullDetailFlag = true in request to get this value returned in the response.

...

ProjectCostBaselineIdentity

...

PwsProjectCostBaselineRef

...

The unique keys used to identify the project cost baseline

...

Response Usage Example(s)

...

languagexml
titleExample 01
collapsetrue

...

Overview


This web service can be used to create a web invoice. You specify the attributes to use for invoice creation by providing a InvoiceSpec, an instance of PwsCandidateInvoiceSpec. This structure allows you to specify the name, scope and content of the invoice, the approval statuses and other invoice attributes. See below for full details. The caller can optionally request that the full invoice detail PwsInvoiceElement be included in the response.  Note that this service will create web invoices only, and cannot be used to create Management Portal invoices.

Request Format


Panel
titlePwsCreateInvoice Request
  • PwsCreateInvoiceRq
    • RequestId: Int32
    • SessionTicket: String
    • AddCommentsToInvoiceMessagesFlag: Boolean
    • ExcludeZeroAmountCostCardsFlag: Boolean
    • ExcludeZeroAmountTimeCardsFlag: Boolean
    • FullDetailFlag: Boolean
    • IncludeAdjustmentHistoryFlag: Boolean
    • IncludeFullAdjustmentHistoryFlag: Boolean
    • InvoiceSpec: PwsCandidateInvoiceSpec
    • NewInvoiceMessages: String
    • NotifyFinanceTeamFlag: Boolean
    • NotifyManagementTeamFlag: Boolean
    • NotifyPmTeamFlag: Boolean

Request Elements


Element

Data TypeRequired?DefaultDescription
RequestIdInt32No

Click here for more information


SessionTicketStringYes

Click here for more information


AddCommentsToInvoiceMessagesFlagBooleanNoFalseTrue to prepend comments (NewInvoiceMessages) to invoice message
ExcludeZeroAmountCostCardsFlagBooleanNoFalseTrue to exclude time cards with no value from invoice
ExcludeZeroAmountTimeCardsFlagBooleanNoFalseTrue to exclude cost cards with no value from invoice
FullDetailFlagBooleanNoFalseTrue to include the full details of the invoice in the response
IncludeAdjustmentHistoryFlagBooleanNoFalseIf FullDetailsFlag is set, true to include adjustment history in invoice detail
IncludeFullAdjustmentHistoryFlagBooleanNoFalseIf FullDetailsFlag is set and IncludeAdjustmentHistoryFlag is set, true to include full card breakdown with each
InvoiceSpecPwsCandidateInvoiceSpecYes
Attributes of the new invoice to be created
NewInvoiceMessagesString (1000)No
Invoice message to include workflow email. May also be added to invoice messages for the new invoice
NotifyFinanceTeamFlagBooleanNoFalseTrue to send an e-mail to the finance team response for finance approval of invoice upon creation
NotifyManagementTeamFlagBooleanNoFalseTrue to send an e-mail to the management team response for management approval of invoice upon creation
NotifyPmTeamFlagBooleanNoFalseTrue to send an e-mail to the PM team response for project manager approval of invoice upon creation

Request Usage Example(s)


Code Block
languagexml
titleRequest 01
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:bil="http://projectorpsa.com/DataContracts/Shared/Billing/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsCreateInvoice>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AcDDhcCta4Wna3CCTQ5Fng==</req:SessionTicket>
            <bil:AddCommentsToInvoiceMessagesFlag>true</bil:AddCommentsToInvoiceMessagesFlag>
            <bil:ExcludeZeroAmountCostCardsFlag>false</bil:ExcludeZeroAmountCostCardsFlag>
            <bil:ExcludeZeroAmountTimeCardsFlag>false</bil:ExcludeZeroAmountTimeCardsFlag>
            <bil:FullDetailFlag>true</bil:FullDetailFlag>
            <bil:IncludeAdjustmentHistoryFlag>true</bil:IncludeAdjustmentHistoryFlag>
            <bil:IncludeFullAdjustmentHistoryFlag>true</bil:IncludeFullAdjustmentHistoryFlag>
            <bil:InvoiceSpec>
               <bil:ApprovedByFinanceFlag>false</bil:ApprovedByFinanceFlag>
               <bil:ApprovedByManagementFlag>false</bil:ApprovedByManagementFlag>
               <bil:ApprovedByProjectManagerFlag>false</bil:ApprovedByProjectManagerFlag>
               <bil:BillingCultureIdentity>
                  <com:CultureName>en-US</com:CultureName>
               </bil:BillingCultureIdentity>
              <PwsCreateProjectCostBaselineResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <bil:CardBeginDate>2022-07-01T00:00:00.000Z</bil:CardBeginDate>
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>   <bil:CardEndDate>2022-07-05T00:00:00.000Z</bil:CardEndDate>
              <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId><bil:ClientIdentity>
                 <Status xmlns="http<com:ClientNumber>Amazon<//projectorpsa.com/CommonServices/">Ok</Status>com:ClientNumber>
              <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-01-29T21:55:08.7579802Z</ServerTimestampUtc></bil:ClientIdentity>
               <a:EngagementLockStolenFromUserIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/><bil:CostCenterIdentity>
                  <a:EngagementTimestamp>AAAAAA62DGw=<com:CostCenterName>Executive Team (USA)</a:EngagementTimestamp>com:CostCenterName>
               <a:ProjectCostBaseline xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"></bil:CostCenterIdentity>
                 <b:Basis>N</b:Basis><bil:EngagementCurrencyIdentity>
               <b:CreatedByUser>   <com:CurrencyCode>USD</com:CurrencyCode>
               <b:UserDisplayName>Web Services</b:UserDisplayName></bil:EngagementCurrencyIdentity>
                  <b:UserId i:nil="true"/><bil:EngagementIdentity>
                  <b<com:UserReferenceSystemId>WS01<EngagementCode>P001666</bcom:UserReferenceSystemId>EngagementCode>
               </bil:EngagementIdentity>
    <b:UserUid>1152921504607067736</b:UserUid>           <bil:EngagementInvoiceContent>B</bil:EngagementInvoiceContent>
       <b:EmailAddress>webservices@revcorp.bb</b:EmailAddress>                   <b:FirstName>Web</b:FirstName><bil:InvoiceContent>B</bil:InvoiceContent>
               <bil:InvoiceName>Invoice -  <b:LastName>Services</b:LastName>WS</bil:InvoiceName>
               <bil:InvoiceScope>P</bil:InvoiceScope>
  <b:MiddleName i:nil="true"/>             <bil:ProjectIdentity>
  </b:CreatedByUser>                <b<com:CreatedTimestamp>2018-01-29T21:55:02.573Z</b:CreatedTimestamp>ProjectCode>P001666-001</com:ProjectCode>
               <b:Dimension>E<</bbil:Dimension>ProjectIdentity>
               <b<bil:EndDate>2018-02-28T00:00:00Z</b:EndDate>
 PurchaseOrderNumber>Invoice - WS</bil:PurchaseOrderNumber>
             <b:EngagementTimestamp>AAAAAA62DGw=</bbil:EngagementTimestamp>InvoiceSpec>
            <bil:NewInvoiceMessages>Invoice -  <b:LastUpdatedByUser>WS</bil:NewInvoiceMessages>
            <bil:NotifyFinanceTeamFlag>true</bil:NotifyFinanceTeamFlag>
     <b:UserDisplayName>Web Services</b:UserDisplayName>      <bil:NotifyManagementTeamFlag>true</bil:NotifyManagementTeamFlag>
            <b:UserId i:nil="true"/><bil:NotifyPmTeamFlag>true</bil:NotifyPmTeamFlag>
         </pws:serviceRequest>
        <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId></pws:PwsCreateInvoice>
                  <b:UserUid>1152921504607067736</b:UserUid>
                  <b:EmailAddress>webservices@revcorp.bb</b:EmailAddress>
                  <b:FirstName>Web</b:FirstName>
                  <b:LastName>Services</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </b:LastUpdatedByUser>
               <b:LastUpdatedTimestamp>2018</soapenv:Body>
</soapenv:Envelope>

Response Format


Panel
titlePwsCreateInvoice 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-01-29T21:55:

...

08.7579802Z
InvoicePwsInvoiceElementThe complete details if FullDetailFlag is specified on request
InvoiceIdentityPwsInvoiceRefThe identity of the newly created invoice
InvoiceTimeStampStringThis is an optimisitc locking timestamp for the newly created invoice

Response Usage Example(s)


Code Block
languagexml
titleResponse 01
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
          <b:ProjectCostBaselineBucketDateIntervals><PwsCreateInvoiceResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsCreateInvoiceResult         <b:PwsDateInterval>xmlns:a="http://projectorpsa.com/DataContracts/Shared/Billing/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                     <b:EndDate>2017-12-31T00:00:00Z</b:EndDate><Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <b:StartDate i:nil="true"/><ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
                  </b:PwsDateInterval><Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
                  <b:PwsDateInterval><ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2022-07-12T15:26:20.1132902Z</ServerTimestampUtc>
            <a:Invoice xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
         <b:EndDate>2018-01-31T00:00:00Z</b:EndDate>      <b:AdjustmentHistory/>
               <b:StartDate>2018-01-01T00:00:00Z<AllowAccountingPeriodOverrideFlag>false</b:StartDate>AllowAccountingPeriodOverrideFlag>
                  <<b:ApprovedByFinanceFlag>false</b:PwsDateInterval>
ApprovedByFinanceFlag>
                 <b:PwsDateInterval>
    ApprovedByFinanceTimestamp i:nil="true"/>
                <b:EndDate>2018-02-28T00:00:00Z</b:EndDate>ApprovedByFinanceUser i:nil="true"/>
               <b:ApprovedByManagementFlag>false</b:ApprovedByManagementFlag>
     <b:StartDate>2018-02-01T00:00:00Z</b:StartDate>          <b:ApprovedByManagementTimestamp i:nil="true"/>
       </b:PwsDateInterval>        <b:ApprovedByManagementUser i:nil="true"/>
         <b:PwsDateInterval>      <b:ApprovedByProjectManagerFlag>false</b:ApprovedByProjectManagerFlag>
               <b:EndDateApprovedByProjectManagerTimestamp i:nil="true"/>
               <b:ApprovedByProjectManagerUser i:nil="true"/>
               <b:StartDate>2018-03-01T00:00:00Z<AutoManagementApprovalFlag>true</b:StartDate>AutoManagementApprovalFlag>
               <b:AvailableBalances>
  </b:PwsDateInterval>                </b:ProjectCostBaselineBucketDateIntervals><b:PwsInvoiceAvailableBalance>
                     <b:ProjectCostBaselineDetail>ContractLineItem>
                        <b:ExternalSystemIdentifier i:nil="true"/>:ContractLineItemCode>P001666-CL1</b:ContractLineItemCode>
                        <b:ProjectCostBaselineIdContractLineItemId i:nil="true"/>
                  <b:ProjectCostBaselineUid>1152921504607272102</b:ProjectCostBaselineUid>             <b:ContractLineItemUid>1152921504607167042</b:ContractLineItemUid>
     <b:ActiveProjectCostBaselineFlag>true</b:ActiveProjectCostBaselineFlag>                   <b:CaMetricActiveFlag>true<ContractLineItemName>R23 - 2022</b:CaMetricActiveFlag>ContractLineItemName>
                  <b:DaMetricActiveFlag>false</b:DaMetricActiveFlag>        <b:EngagementIdentity>
          <b:Description>Cost Budget Baseline</b:Description>                   <b:EaMetricActiveFlag>false<EngagementCode>P001666</b:EaMetricActiveFlag>EngagementCode>
                  <b:PrimaryMetric>C</b:PrimaryMetric>         <b:EngagementId i:nil="true"/>
        <b:ProjectCostBaselineName>Client Amount Budget</b:ProjectCostBaselineName>                   <b:EngagementUid>1152921504607393774</b:ProjectCostBaselineBuckets>EngagementUid>
                     <b:PwsProjectCostBaselineBucket>   </b:EngagementIdentity>
                     <b:ClientAmount>2000<</b:ClientAmount>
 ContractLineItem>
                      <b:DisbursedAmount i:nil="true"/>
  EditableFlag>true</b:EditableFlag>
                     <b:EndDate>2018-01-31T00:00:00Z<UnappliedPrepaidAmount>0</b:EndDate>UnappliedPrepaidAmount>
                  </b:PwsInvoiceAvailableBalance>
     <b:ExpenseAmount i:nil="true"/>         </b:AvailableBalances>
               <b:ExpenseTypeGroupIdentity i:nil="true"AvailableMilestones/>
               <b:CardBeginDate>2022-07-01T00:00:00</b:CardBeginDate>
        <b:ExpenseTypeIdentity>            <b:CardEndDate>2022-07-05T00:00:00</b:CardEndDate>
               <b:ExpenseTypeId i:nil="true"/>Client>
                  <b:ClientId i:nil="true"/>
        <b:ExpenseTypeName>Per Diem</b:ExpenseTypeName>         <b:ClientNumber>AMAZON</b:ClientNumber>
                  <b:ExpenseTypeUid>1152921504606881747<ClientUid>1152921504606971723</b:ExpenseTypeUid>ClientUid>
                        <<b:ClientName>Amazon</b:ExpenseTypeIdentity>ClientName>
                        <b:StartDate>2018-01-01T00:00:00Z<InactiveFlag>false</b:StartDate>InactiveFlag>
                     </b:PwsProjectCostBaselineBucket><b:ParentClientIdentity i:nil="true"/>
                     <b:PwsProjectCostBaselineBucket>
        </b:Client>
               <b:ClientAmount>2000</b:ClientAmount>
     CompanyIdentity>
                  <b:DisbursedAmountCompanyId i:nil="true"/>
                        <b:EndDate>2018-02-28T00:00:00Z<CompanyName>USA</b:EndDate>CompanyName>
                  <b:CompanyUid>1152921504606850739</b:CompanyUid>
     <b:ExpenseAmount i:nil="true"/>             <b:CompanyNumber>USA</b:CompanyNumber>
             <b:ExpenseTypeGroupIdentity i:nil="true"/>  </b:CompanyIdentity>
               <b:CostCardAdjustmentAmount>0</b:CostCardAdjustmentAmount>
               <b:ExpenseTypeIdentity>:CostCardExclusionsAmount>0</b:CostCardExclusionsAmount>
               <b:CostCardInvoicedAmount>0</b:CostCardInvoicedAmount>
               <b:ExpenseTypeId i:nil="true"/>CostCardRequireLocationFlag>false</b:CostCardRequireLocationFlag>
               <b:CostCenterIdentity>
           <b:ExpenseTypeName>Per Diem</b:ExpenseTypeName>      <b:CostCenterId i:nil="true"/>
                  <b:CostCenterName>Executive  <b:ExpenseTypeUid>1152921504606881747<Team (USA)</b:ExpenseTypeUid>CostCenterName>
                  <b:CostCenterNumber>Executive      Team (USA)</b:ExpenseTypeIdentity>
     CostCenterNumber>
                  <b:StartDate>2018-02-01T00:00:00Z<CostCenterUid>1152921504606867363</b:StartDate>
     CostCenterUid>
               </b:PwsProjectCostBaselineBucket>CostCenterIdentity>
                  </b:ProjectCostBaselineBuckets><b:CreatedByUser>
                  <b:Timestamp>AAAAAA62DG8=<UserDisplayName>Bettina</b:Timestamp>UserDisplayName>
                   </b:ProjectCostBaselineDetail><b:UserId i:nil="true"/>
                  <b:StartDate>2018-01-01T00:00:00Z<UserReferenceSystemId>QA - 01</b:StartDate>UserReferenceSystemId>
                  <b:TimePhase>M<UserUid>1152921504607011056</b:TimePhase>UserUid>
                  </a:ProjectCostBaseline><b:EmailAddress>bettina@projectorpsa.com</b:EmailAddress>
                 <a:ProjectCostBaselineIdentity xmlns<b:FirstName>Bettina</b="http://projectorpsa.com/DataContracts/Shared/Common/">:FirstName>
                  <b:ExternalSystemIdentifier i:nil="true"/>:LastName>Borces</b:LastName>
                  <b:ProjectCostBaselineIdMiddleName i:nil="true"/>
               <b:ProjectCostBaselineUid>1152921504607272102<</b:ProjectCostBaselineUid>
  CreatedByUser>
         </a:ProjectCostBaselineIdentity>             <a:ProjectTimestamp>AAAAAA62DHA=</a:ProjectTimestamp><b:CreatedTimestamp>2022-07-12T15:26:19.99Z</b:CreatedTimestamp>
              <a:StolenLocks xmlns<b:DeletedFlag>false</b="http://projectorpsa.com/DataContracts/Shared/Common/"/>:DeletedFlag>
               </PwsCreateProjectCostBaselineResult><b:DraftCostCardCount>0</b:DraftCostCardCount>
           </PwsCreateProjectCostBaselineResponse>    <<b:DraftInvoiceNumber>DRAFT00764</s:Body>
</s:Envelope>
Code Block
languagexml
titleExample 02 - lock stolen
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>b:DraftInvoiceNumber>
               <b:DraftTimeCardCount>0</b:DraftTimeCardCount>
               <b:Engagement>
      <PwsCreateProjectCostBaselineResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">          <PwsCreateProjectCostBaselineResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:EngagementCode>P001666</b:EngagementCode>
                  <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/><b:EngagementId i:nil="true"/>
             <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>     <b:EngagementUid>1152921504607393774</b:EngagementUid>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>     <b:ClientIdentity>
       <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-11-14T18:00:35.249869Z</ServerTimestampUtc>             <a<b:EngagementLockStolenFromUserIdentityClientId xmlnsi:bnil="http://projectorpsa.com/DataContracts/Shared/Common/">"true"/>
                     <b:UserDisplayName>Krakauer, Larry<ClientNumber>AMAZON</b:UserDisplayName>ClientNumber>
                     <b:UserId i:nil="true"/>ClientUid>1152921504606971723</b:ClientUid>
                  <b:UserReferenceSystemId>097<</b:UserReferenceSystemId>ClientIdentity>
                  <b:UserUid>1152921504606944254<EngagementName>R23 - 2022</b:UserUid>EngagementName>
               </a:EngagementLockStolenFromUserIdentity>b:Engagement>
               <a<b:EngagementTimestamp>AAAAABFHYZY=<ExcludeZeroAmountCostCardsFlag>false</ab:EngagementTimestamp>ExcludeZeroAmountCostCardsFlag>
              <a:ProjectCostBaseline xmlns<b:ExcludeZeroAmountTimeCardsFlag>false</b="http://projectorpsa.com/DataContracts/Shared/Common/">:ExcludeZeroAmountTimeCardsFlag>
               <b:Basis>N<ExcludedCostCardAmount>10</b:Basis>ExcludedCostCardAmount>
               <b:CreatedByUser>ExcludedCostCardCount>1</b:ExcludedCostCardCount>
               <b:ExcludedMilestoneAmount>0</b:ExcludedMilestoneAmount>
               <b:UserDisplayName>Krakauer, Larry<ExcludedMilestoneCount>0</b:UserDisplayName>
 ExcludedMilestoneCount>
                <b:UserId i:nil="true"/>
  ExcludedTimeCardAmount>800</b:ExcludedTimeCardAmount>
               <b:UserReferenceSystemId>097<ExcludedTimeCardCount>1</b:UserReferenceSystemId>
 ExcludedTimeCardCount>
                <b:UserUid>1152921504606944254<GrossInvoiceAmount>0</b:UserUid>
  GrossInvoiceAmount>
               <b:EmailAddress>Larry@revcorp.min<IncludedCostCardCount>0</b:EmailAddress>
  IncludedCostCardCount>
               <b:FirstName>Larry<IncludedMilestoneCount>0</b:FirstName>
  IncludedMilestoneCount>
               <b:LastName>Krakauer</b:LastName>
  IncludedMilestones/>
               <b:MiddleName>A<IncludedTimeCardCount>0</b:MiddleName>IncludedTimeCardCount>
               <<b:InvoiceContent>B</b:CreatedByUser>InvoiceContent>
               <b:CreatedTimestamp>2018-11-14T18:00:35.573Z</b:CreatedTimestamp>InvoiceCurrencyDecimalDigits>2</b:InvoiceCurrencyDecimalDigits>
               <b:InvoiceCurrencyIdentity>
                  <b:Dimension>E<CurrencyCode>USD</b:Dimension>CurrencyCode>
                  <b:EndDateCurrencyId i:nil="true"/>
                  <b:EngagementTimestamp>AAAAABFHYZY=<CurrencyUid>1152921504606851838</b:EngagementTimestamp>CurrencyUid>
               <b:LastUpdatedByUser>
 </b:InvoiceCurrencyIdentity>
                <b:UserDisplayName>Krakauer, Larry</b:UserDisplayName>InvoiceDetail>
                  <b:UserIdInvoiceId i:nil="true"/>
                  <b:UserReferenceSystemId>097<InvoiceNumber>DRAFT00764</b:UserReferenceSystemId>InvoiceNumber>
                  <b:UserUid>1152921504606944254<InvoiceUid>1152921504607847047</b:UserUid>InvoiceUid>
                  <b:EmailAddress>Larry@revcorp.min</b:EmailAddress>:InvoiceDate i:nil="true"/>
                  <b:FirstName>Larry<InvoiceName>Invoice - WS</b:FirstName>InvoiceName>
                  <b:LastName>Krakauer</b:LastName>BillingAddress>
                     <b:MiddleName>A<AddressLine1>98 N. Washingtong Street</b:MiddleName>AddressLine1>
                </b:LastUpdatedByUser>     <b:AddressLine2>Suite 400</b:AddressLine2>
         <b:LastUpdatedTimestamp>2018-11-14T18:00:35.573Z</b:LastUpdatedTimestamp>            <b:Attention i:nil="true"/>
  <b:ProjectCostBaselineBucketDateIntervals>                   <b:City>Boston</b:PwsDateInterval>City>
                     <b:EndDate i:nil="true"/>CompanyName>R23</b:CompanyName>
                     <b:StartDate i:nil="true"/>Country>USA</b:Country>
                     <<b:StateOrProvince>MA</b:PwsDateInterval>StateOrProvince>
                     <<b:ZipOrPostalCode>02130</b:ProjectCostBaselineBucketDateIntervals>ZipOrPostalCode>
                  <b</b:ProjectCostBaselineDetail>BillingAddress>
                  <b:ExternalSystemIdentifier i:nil="true"/>BillingCultureIdentity>
                     <b:ProjectCostBaselineIdCultureId i:nil="true"/>
                     <b:ProjectCostBaselineUid>1152921504607284872<CultureName>en-US</b:ProjectCostBaselineUid>CultureName>
                     <b:ActiveProjectCostBaselineFlag>true<CultureUid>1152921504606851419</b:ActiveProjectCostBaselineFlag>CultureUid>
                  <b:CaMetricActiveFlag>true<</b:CaMetricActiveFlag>BillingCultureIdentity>
                  <b:DaMetricActiveFlag>false</b:DaMetricActiveFlag>:BillingInstructions i:nil="true"/>
                  <b:Description>Client Amount Cost Baseline</b:Description>ClientMessage i:nil="true"/>
                  <b:EaMetricActiveFlag>false</b:EaMetricActiveFlag>:ClientMessagePlain i:nil="true"/>
                  <b:PrimaryMetric>C<ContractLineItems/b:PrimaryMetric>>
                  <b:ProjectCostBaselineName>Client Amount Budget<CostGrossAmtOption>C</b:ProjectCostBaselineName>CostGrossAmtOption>
                  <b:ProjectCostBaselineBuckets>DistributionSettings>
                     <b:PwsProjectCostBaselineBucket>EmailSettings>
                        <b:ClientAmount>2000</b:ClientAmount>EmailFromUserIdentity>
                           <b:DisbursedAmount i:nil="true"/>:UserDisplayName>Bettina</b:UserDisplayName>
                           <b:EndDateUserId i:nil="true"/>
                           <b:ExpenseAmount i:nil="true"/>UserReferenceSystemId>QA - 01</b:UserReferenceSystemId>
                           <b:ExpenseTypeGroupIdentity i:nil="true"/>:UserUid>1152921504607011056</b:UserUid>
                        </b:EmailFromUserIdentity>
                        <b:ExpenseTypeIdentity>EmailInvoiceTemplateIdentity>
                           <b:ExpenseTypeIdInvoiceTemplateId i:nil="true"/>
                           <b:ExpenseTypeName>Travel-AR<InvoiceTemplateName>E001</b:ExpenseTypeName>InvoiceTemplateName>
                           <b:ExpenseTypeUid>1152921504606861209<InvoiceTemplateUid>1152921504606878906</b:ExpenseTypeUid>InvoiceTemplateUid>
                        </b:ExpenseTypeIdentity>EmailInvoiceTemplateIdentity>
                        <b:StartDate i:nil="true"/>:InvoiceEmailEnabledFlag>true</b:InvoiceEmailEnabledFlag>
                        <<b:InvoiceEmailType>W</b:PwsProjectCostBaselineBucket>InvoiceEmailType>
                        <b:PwsProjectCostBaselineBucket>Recipients>
                           <b:ClientAmount>2000</b:ClientAmount>PwsInvoiceEmailRecipient>
                              <b:DisbursedAmount i:nil="true"/>:RecipientType>T</b:RecipientType>
                              <b:EndDate i:nil="true"/>UserIdentity>
                                 <b:ExpenseAmountUserDisplayName>Fitzgerald i:nil="true"/>Grant</b:UserDisplayName>
                                 <b:ExpenseTypeGroupIdentityUserId i:nil="true"/>
                        <b:ExpenseTypeIdentity>         <b:UserReferenceSystemId>Client11</b:UserReferenceSystemId>
                  <b:ExpenseTypeId i:nil="true"/>                            <b:ExpenseTypeName>Per Diem-AA<<b:UserUid>1152921504607061857</b:ExpenseTypeName>UserUid>
                              <b:ExpenseTypeUid>1152921504606869373<</b:ExpenseTypeUid>UserIdentity>
                           </b:ExpenseTypeIdentity>PwsInvoiceEmailRecipient>
                        <b</b:StartDate i:nil="true"/>
Recipients>
                     </b:PwsProjectCostBaselineBucket>EmailSettings>
                     <b:SubjectText>Invoice - <WS</b:ProjectCostBaselineBuckets>SubjectText>
                  <b:Timestamp>AAAAABFHYc0=</b:Timestamp>DistributionSettings>
               </b:ProjectCostBaselineDetail>   <b:InvoiceMessages>[Bettina, 12 Jul 2022 11:26 (Create Invoice)] Invoice    - WS</b:InvoiceMessages>
 <b:StartDate i:nil="true"/>                <b:TimePhase>N</b:TimePhase>
  InvoiceTemplateIdentity>
         </a:ProjectCostBaseline>             <a<b:ProjectCostBaselineIdentityInvoiceTemplateId xmlnsi:bnil="true"http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ExternalSystemIdentifier i:nil="true"/>     <b:InvoiceTemplateName>A100</b:InvoiceTemplateName>
          <b:ProjectCostBaselineId i:nil="true"/>                <b:ProjectCostBaselineUid>1152921504607284872<<b:InvoiceTemplateUid>1152921504606878901</b:ProjectCostBaselineUid>InvoiceTemplateUid>
            </a:ProjectCostBaselineIdentity>       </b:InvoiceTemplateIdentity>
     <a:ProjectTimestamp>AAAAABFHYc4=</a:ProjectTimestamp>             <a<b:StolenLocksOverrideAccountingPeriodIdentity xmlnsi:bnil="http://projectorpsa.com/DataContracts/Shared/Common/""true"/>
               <b:EntityIdentity>      <b:PaymentTermIdentity>
            <b:EntityCode>P001125-001</b:EntityCode>                   <b:EntityIdPaymentTermId i:nil="true"/>
                     <b:EntityUid>1152921504607425735<PaymentTermName>Net 15</b:EntityUid>PaymentTermName>
                   <b  <b:LockType>P<PaymentTermUid>1152921504606856053</b:LockType>PaymentTermUid>
                  </b:EntityIdentity>PaymentTermIdentity>
                  <b:EntityLockSummary>:PurchaseOrderNumber i:nil="true"/>
                  <b:PwsEntityLockSummaryItem>
  :RenderReceiptsFlag>false</b:RenderReceiptsFlag>
                  <b:LockCount>1<RenderedInvoiceFormat>P</b:LockCount>
  RenderedInvoiceFormat>
                  <b:LockHolderUserIdentity>Taxes/>
                        <b:UserDisplayName>Krakauer, Larry<TimeBillingType>H</b:UserDisplayName>
     TimeBillingType>
                  <b:UserId i:nil="true"/>
 TimeGrossAmtOption>S</b:TimeGrossAmtOption>
                      <b:UserReferenceSystemId>097<Timestamp>AAAAAB4/Y0s=</b:UserReferenceSystemId>Timestamp>
               </b:InvoiceDetail>
               <b:UserUid>1152921504606944254<InvoiceNumberHistory>DRAFT00764</b:UserUid>InvoiceNumberHistory>
               <b:InvoiceRecipients>
                  </b<b:LockHolderUserIdentity>PwsUserSummary>
                     <b:MostRecentLockAcquisitionTimestamp>2018-11-14T17:59:52.2Z<UserDisplayName>Bettina</b:MostRecentLockAcquisitionTimestamp>UserDisplayName>
                  </b:PwsEntityLockSummaryItem>   <b:UserId i:nil="true"/>
           </b:EntityLockSummary>          <b:UserReferenceSystemId>QA -  <01</ab:StolenLocks>UserReferenceSystemId>
          </PwsCreateProjectCostBaselineResult>       </PwsCreateProjectCostBaselineResponse>    </s:Body>
</s:Envelope>

PwsCreateProjectCostBaseline - Common Errors and Warnings

...

ErrorNumber

...

ErrorCode

...

ErrorText

...

<b:UserUid>1152921504607011056</b:UserUid>
                     <b:EmailAddress>bettina@projectorpsa.com</b:EmailAddress>
                     <b:FirstName>Bettina</b:FirstName>
                     <b:LastName>Borces</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </b:PwsUserSummary>
                  <b:PwsUserSummary>
                     <b:UserDisplayName>Fitzgerald Grant</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>Client11</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607061857</b:UserUid>
                     <b:EmailAddress>fitzgerald@usagov.bb</b:EmailAddress>
                     <b:FirstName>Fitzgerald</b:FirstName>
                     <b:LastName>Grant</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </b:PwsUserSummary>
               </b:InvoiceRecipients>
               <b:InvoiceScope>P</b:InvoiceScope>
               <b:InvoiceStatus>D</b:InvoiceStatus>
               <b:IssuedByUser i:nil="true"/>
               <b:IssuedTimestamp i:nil="true"/>
               <b:LastUpdatedByUser>
                  <b:UserDisplayName>Bettina</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>QA - 01</b:UserReferenceSystemId>
                  <b:UserUid>1152921504607011056</b:UserUid>
                  <b:EmailAddress>bettina@projectorpsa.com</b:EmailAddress>
                  <b:FirstName>Bettina</b:FirstName>
                  <b:LastName>Borces</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </b:LastUpdatedByUser>
               <b:LastUpdatedTimestamp>2022-07-12T15:26:19.99Z</b:LastUpdatedTimestamp>
               <b:ManagementApprovalThresholdAmount>10</b:ManagementApprovalThresholdAmount>
               <b:ManagementApprovalThresholdPercent>0.5</b:ManagementApprovalThresholdPercent>
               <b:MilestoneInvoicedAmount>0</b:MilestoneInvoicedAmount>
               <b:NetInvoiceAmount>0</b:NetInvoiceAmount>
               <b:PaidByUser i:nil="true"/>
               <b:PaidTimestamp i:nil="true"/>
               <b:PaymentComment i:nil="true"/>
               <b:PostFailedFlag>false</b:PostFailedFlag>
               <b:PostFailureStatusMessage i:nil="true"/>
               <b:PostStatus>U</b:PostStatus>
               <b:PostedByUser i:nil="true"/>
               <b:PostedFlag>false</b:PostedFlag>
               <b:PostedTimestamp i:nil="true"/>
               <b:Project>
                  <b:ProjectCode>P001666-001</b:ProjectCode>
                  <b:ProjectId i:nil="true"/>
                  <b:ProjectUid>1152921504607524352</b:ProjectUid>
                  <b:EngagementIdentity>
                     <b:EngagementCode>P001666</b:EngagementCode>
                     <b:EngagementId i:nil="true"/>
                     <b:EngagementUid>1152921504607393774</b:EngagementUid>
                  </b:EngagementIdentity>
                  <b:ProjectName>R23 - Time and Materials</b:ProjectName>
               </b:Project>
               <b:RejectedCostCardCount>0</b:RejectedCostCardCount>
               <b:RejectedTimeCardCount>0</b:RejectedTimeCardCount>
               <b:RevaluePlEffect>0</b:RevaluePlEffect>
               <b:SendFailedFlag>false</b:SendFailedFlag>
               <b:SendFailureStatusMessage i:nil="true"/>
               <b:SendStatus>U</b:SendStatus>
               <b:SentByUser i:nil="true"/>
               <b:SentFlag>false</b:SentFlag>
               <b:SentTimestamp i:nil="true"/>
               <b:TimeCardAdjustmentAmount>0</b:TimeCardAdjustmentAmount>
               <b:TimeCardExclusionsAmount>0</b:TimeCardExclusionsAmount>
               <b:TimeCardInvoicedAmount>0</b:TimeCardInvoicedAmount>
               <b:TimeCardRequireLocationFlag>false</b:TimeCardRequireLocationFlag>
               <b:UnapprovedCostCardCount>0</b:UnapprovedCostCardCount>
               <b:UnapprovedTimeCardCount>0</b:UnapprovedTimeCardCount>
               <b:VoidedByUser i:nil="true"/>
               <b:VoidedTimestamp i:nil="true"/>
               <b:WebInvoiceFlag>true</b:WebInvoiceFlag>
               <b:WriteUpWriteDownPlEffect>0</b:WriteUpWriteDownPlEffect>
            </a:Invoice>
            <a:InvoiceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:InvoiceId i:nil="true"/>
               <b:InvoiceNumber>DRAFT00764</b:InvoiceNumber>
               <b:InvoiceUid>1152921504607847047</b:InvoiceUid>
            </a:InvoiceIdentity>
            <a:InvoiceTimestamp>AAAAAB4/Y0s=</a:InvoiceTimestamp>
         </PwsCreateInvoiceResult>
      </PwsCreateInvoiceResponse>
   </s:Body>
</s:Envelope>

PwsCreateInvoice - Common Errors and Warnings

ErrorNumber

ErrorCode

ErrorText

10111RequiredFieldMissingA required field is missing: BillingCultureIdentity.
10115FieldExceedsMaxLengthThe value specified in the field "InvoiceName" in the class "PwsCandidateInvoiceSpec" exceeds the maximum allowable length of 100 characters.
10126InvalidEnumerationValueSpecifiedAn invalid value was specified for EngagementInvoiceContent. Valid values are B, S.
10126InvalidEnumerationValueSpecifiedAn invalid value was specified for InvoiceContent. Valid values are B, F, A, M, S, C, T.
10126InvalidEnumerationValueSpecifiedAn invalid value was specified for InvoiceScope. Valid values are C, E, N, P.
50024EntityNotFoundProject was not found. Another user may have deleted it.
57528CultureNotValidForAccountError 57528, State 1: Specified culture not valid for this installation (installation = 2378, culture name = en-USA, culture number = (null))
50046UpdatePermissionDeniedYou do not have permission to update this item.