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
  • PwsCreateInvoice
    • serviceRequest: PwsCreateInvoiceRq
      • RequestId: Int32
      • SessionTicket: String
      • AddCommentsToInvoiceMessagesFlag: Boolean
      • ExcludeZeroAmountCostCardsFlag: Boolean
      • ExcludeZeroAmountTimeCardsFlag: Boolean
      • FullDetailFlag: Boolean
      • IncludeAdjustmentHistoryFlag: Boolean
      • IncludeFullAdjustmentHistoryFlag: Boolean
      • InvoiceSpec: 
      • NewInvoiceMessages: String
      • NotifyFinanceTeamFlag: Boolean
      • NotifyManagementTeamFlag: Boolean
      • NotifyPmTeamFlag: Boolean

Request Elements

...

Element

...

Click here for more information

...

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
titlePwsCreateInvoiceRequest 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>
               <bil:CardBeginDate>2022-07-01T00:00:00.000Z</bil:CardBeginDate>
               <bil:CardEndDate>2022-07-05T00:00:00.000Z</bil:CardEndDate>
               <bil:ClientIdentity>
                  <com:ClientNumber>Amazon</com:ClientNumber>
               </bil:ClientIdentity>
               <bil:CostCenterIdentity>
                  <com:CostCenterName>Executive Team (USA)</com:CostCenterName>
               </bil:CostCenterIdentity>
               <bil:EngagementCurrencyIdentity>
                  <com:CurrencyCode>USD</com:CurrencyCode>
               </bil:EngagementCurrencyIdentity>
               <bil:EngagementIdentity>
                  <com:EngagementCode>P001666</com:EngagementCode>
               </bil:EngagementIdentity>
               <bil:EngagementInvoiceContent>B</bil:EngagementInvoiceContent>
               <bil:InvoiceContent>B</bil:InvoiceContent>
               <bil:InvoiceName>Invoice - WS</bil:InvoiceName>
               <bil:InvoiceScope>P</bil:InvoiceScope>
               <bil:ProjectIdentity>
                  <com:ProjectCode>P001666-001</com:ProjectCode>
               </bil:ProjectIdentity>
               <bil:PurchaseOrderNumber>Invoice - WS</bil:PurchaseOrderNumber>
            </bil:InvoiceSpec>
            <bil:NewInvoiceMessages>Invoice - WS</bil:NewInvoiceMessages>
            <bil:NotifyFinanceTeamFlag>true</bil:NotifyFinanceTeamFlag>
            <bil:NotifyManagementTeamFlag>true</bil:NotifyManagementTeamFlag>
            <bil:NotifyPmTeamFlag>true</bil:NotifyPmTeamFlag>
         </pws:serviceRequest>
      </pws:PwsCreateInvoice>
   </soapenv:Body>
</soapenv:Envelope>

...

{panel:title=PwsCreateInvoice Response}

* PwsCreateInvoiceResponse

** PwsCreateInvoiceResult: [PwsCreateInvoiceRs]

*** Messages: [PwsMessage][]

*** [ResponseId]: Int32

*** [Status]: RequestStatus

*** [ServerTimestampUtc]: DateTime

*** Invoice: [PwsInvoiceElement]

*** InvoiceIdentity: [PwsInvoiceRef]

*** InvoiceTimestamp: String

{panel}
Panel
titlePwsCreateInvoice RS
Response


Response Elements


PwsEntityLockSummary[1..100]

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
Invoice

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

ProjectTimestampStringThis is an optimistic locking timestamp that, if provided on update request, will cause the request to fail when the timestamp stored in the database does not match the provided value.AAAAABFFCOw=
StolenLocksThis structure contains information about the locks that were stolen in order to complete this request, Will be included only when LocksToSteal is specified in the request.

Response Usage Example(s)

...

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

PwsCreateProjectCostBaseline - Common Errors and Warnings

...

ErrorNumber

...

ErrorCode

...

ErrorText

...

           <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.