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 | ||
---|---|---|
| ||
* 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
Request Usage Example(s)
...
language | xml |
---|---|
title | Example 01 |
collapse | true |
...
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 | ||
---|---|---|
| ||
|
Request Elements
Element | Data Type | Required? | Default | Description | |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information | ||
SessionTicket | String | Yes | Click here for more information | ||
AddCommentsToInvoiceMessagesFlag | Boolean | No | False | True to prepend comments (NewInvoiceMessages) to invoice message | |
ExcludeZeroAmountCostCardsFlag | Boolean | No | False | True to exclude time cards with no value from invoice | |
ExcludeZeroAmountTimeCardsFlag | Boolean | No | False | True to exclude cost cards with no value from invoice | |
FullDetailFlag | Boolean | No | False | True to include the full details of the invoice in the response | |
IncludeAdjustmentHistoryFlag | Boolean | No | False | If FullDetailsFlag is set, true to include adjustment history in invoice detail | |
IncludeFullAdjustmentHistoryFlag | Boolean | No | False | If FullDetailsFlag is set and IncludeAdjustmentHistoryFlag is set, true to include full card breakdown with each | |
InvoiceSpec | PwsCandidateInvoiceSpec | Yes | Attributes of the new invoice to be created | ||
NewInvoiceMessages | String (1000) | No | Invoice message to include workflow email. May also be added to invoice messages for the new invoice | ||
NotifyFinanceTeamFlag | Boolean | No | False | True to send an e-mail to the finance team response for finance approval of invoice upon creation | |
NotifyManagementTeamFlag | Boolean | No | False | True to send an e-mail to the management team response for management approval of invoice upon creation | |
NotifyPmTeamFlag | Boolean | No | False | True to send an e-mail to the PM team response for project manager approval of invoice upon creation |
Request Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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> <pws:serviceRequest><bil:IncludeAdjustmentHistoryFlag>true</bil:IncludeAdjustmentHistoryFlag> <req<bil:RequestId>1<IncludeFullAdjustmentHistoryFlag>true</reqbil:RequestId>IncludeFullAdjustmentHistoryFlag> <req:SessionTicket>AXoSoNYPC/IRu5ISV3f2Ew==</req:SessionTicket><bil:InvoiceSpec> <sch:ActualsCutoffDate>2018-03-31T00:00:00.000Z</sch:ActualsCutoffDate><bil:ApprovedByFinanceFlag>false</bil:ApprovedByFinanceFlag> <sch<bil:Basis>N<ApprovedByManagementFlag>false</sch:Basis> bil:ApprovedByManagementFlag> <sch:Dimension>E</sch:Dimension> <sch:FullDetailFlag>true</sch:FullDetailFlag><bil:ApprovedByProjectManagerFlag>false</bil:ApprovedByProjectManagerFlag> <sch:IntervalCount>2</sch:IntervalCount> <bil:BillingCultureIdentity> <sch:ProjectCostBaseline> <com:ActiveProjectCostBaselineFlag>true<CultureName>en-US</com:ActiveProjectCostBaselineFlag>CultureName> <com:CaMetricActiveFlag>true<</combil:CaMetricActiveFlag>BillingCultureIdentity> <com:DaMetricActiveFlag>false</com:DaMetricActiveFlag><bil:CardBeginDate>2022-07-01T00:00:00.000Z</bil:CardBeginDate> <com:Description>Client Amount Cost Baseline</com:Description><bil:CardEndDate>2022-07-05T00:00:00.000Z</bil:CardEndDate> <bil:ClientIdentity> <com:EaMetricActiveFlag>false</com:EaMetricActiveFlag> <com:PrimaryMetric>C<ClientNumber>Amazon</com:PrimaryMetric>ClientNumber> <com:ProjectCostBaselineName>Client Amount Budget</com:ProjectCostBaselineName></bil:ClientIdentity> <com<bil:ProjectCostBaselineBuckets>CostCenterIdentity> <com:PwsProjectCostBaselineBucket>:CostCenterName>Executive Team (USA)</com:CostCenterName> </bil:CostCenterIdentity> <com:ClientAmount>2000</com:ClientAmount> <bil:EngagementCurrencyIdentity> <com:EndDate>2018-01-31T00:00:00.000Z< <com:CurrencyCode>USD</com:EndDate>CurrencyCode> </bil:EngagementCurrencyIdentity> <com:ExpenseTypeIdentity> <bil:EngagementIdentity> <com:ExpenseTypeName>Per Diem<EngagementCode>P001666</com:ExpenseTypeName> EngagementCode> </combil:ExpenseTypeIdentity>EngagementIdentity> <com:StartDate>2018-01-01T00:00:00.000Z</com:StartDate><bil:EngagementInvoiceContent>B</bil:EngagementInvoiceContent> </com:PwsProjectCostBaselineBucket><bil:InvoiceContent>B</bil:InvoiceContent> <bil:InvoiceName>Invoice - <com:PwsProjectCostBaselineBucket>WS</bil:InvoiceName> <bil:InvoiceScope>P</bil:InvoiceScope> <com:ClientAmount>2000</com:ClientAmount> <bil:ProjectIdentity> <com:EndDate>2018-02-28T00:00:00.000Z<ProjectCode>P001666-001</com:EndDate>ProjectCode> </bil:ProjectIdentity> <com:ExpenseTypeIdentity> <bil:PurchaseOrderNumber>Invoice - WS</bil:PurchaseOrderNumber> <com:ExpenseTypeName>Per Diem</com:ExpenseTypeName></bil:InvoiceSpec> <bil:NewInvoiceMessages>Invoice - WS</bil:NewInvoiceMessages> <<bil:NotifyFinanceTeamFlag>true</com:ExpenseTypeIdentity>bil:NotifyFinanceTeamFlag> <bil:NotifyManagementTeamFlag>true</bil:NotifyManagementTeamFlag> <com:StartDate>2018-02-01T00:00:00.000Z</com:StartDate> <bil:NotifyPmTeamFlag>true</bil:NotifyPmTeamFlag> </compws:PwsProjectCostBaselineBucket> serviceRequest> </com:ProjectCostBaselineBuckets> pws:PwsCreateInvoice> </schsoapenv:ProjectCostBaseline> <sch:ProjectIdentity> <com:ProjectCode>P001407-001</com:ProjectCode> </sch:ProjectIdentity> <sch:StartDate>2018-01-01T00:00:00.000Z</sch:StartDate> <sch:StealEngagementLockFlag>false</sch:StealEngagementLockFlag> <sch:TimePhase>M</sch:TimePhase> </pws:serviceRequest> </pws:PwsCreateProjectCostBaseline> </soapenv:Body> </soapenv:Envelope> | ||||||
Code Block | ||||||
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:sch="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:comBody> </soapenv:Envelope> |
Response Format
Panel | ||
---|---|---|
| ||
|
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
ResponseId | Int32 | Click here for more information | 1 |
Status | Click here for more information. | Ok | |
ServerTimestampUtc | DateTime | Click here for more information | 2018-01-29T21:55:08.7579802Z |
Invoice | PwsInvoiceElement | The complete details if FullDetailFlag is specified on request | |
InvoiceIdentity | PwsInvoiceRef | The identity of the newly created invoice | |
InvoiceTimeStamp | String | This is an optimisitc locking timestamp for the newly created invoice |
Response Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <PwsCreateInvoiceResponse xmlns="http://projectorpsa.com/DataContractsPwsProjectorServices/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <PwsCreateInvoiceResult <pws:PwsCreateProjectCostBaseline>xmlns:a="http://projectorpsa.com/DataContracts/Shared/Billing/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <pws:serviceRequest> <Messages <req:RequestId>1</req:RequestId>xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/> <ResponseId <req:SessionTicket>Ade8vXDjCIr0kcDpdVTbCw==</req:SessionTicket>xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId> <Status <sch:ActualsCutoffDate>2018-12-31T00:00:00.000Z</sch:ActualsCutoffDate>xmlns="http://projectorpsa.com/CommonServices/">Ok</Status> <sch:Basis>N</sch:Basis> <sch:Dimension>E</sch:Dimension><ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2022-07-12T15:26:20.1132902Z</ServerTimestampUtc> <sch:FullDetailFlag>true</sch:FullDetailFlag><a:Invoice xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <sch<b:ProjectCostBaseline>AdjustmentHistory/> <com<b:ActiveProjectCostBaselineFlag>true<AllowAccountingPeriodOverrideFlag>false</comb:ActiveProjectCostBaselineFlag>AllowAccountingPeriodOverrideFlag> <com<b:CaMetricActiveFlag>true<ApprovedByFinanceFlag>false</comb:CaMetricActiveFlag>ApprovedByFinanceFlag> <com:DaMetricActiveFlag>false</com:DaMetricActiveFlag><b:ApprovedByFinanceTimestamp i:nil="true"/> <com<b:Description>Client Amount Cost Baseline</com:Description>ApprovedByFinanceUser i:nil="true"/> <com<b:EaMetricActiveFlag>false<ApprovedByManagementFlag>false</comb:EaMetricActiveFlag>ApprovedByManagementFlag> <com:PrimaryMetric>C</com:PrimaryMetric><b:ApprovedByManagementTimestamp i:nil="true"/> <com<b:ProjectCostBaselineName>Client Amount Budget</com:ProjectCostBaselineName>ApprovedByManagementUser i:nil="true"/> <com:ProjectCostBaselineBuckets><b:ApprovedByProjectManagerFlag>false</b:ApprovedByProjectManagerFlag> <b:ApprovedByProjectManagerTimestamp i:nil="true"/> <com:PwsProjectCostBaselineBucket> <b:ApprovedByProjectManagerUser i:nil="true"/> <com:ClientAmount>2000</com:ClientAmount> <b:AutoManagementApprovalFlag>true</b:AutoManagementApprovalFlag> <com:ExpenseTypeIdentity> <b:AvailableBalances> <b:PwsInvoiceAvailableBalance> <com:ExpenseTypeName>Per Diem-AA</com:ExpenseTypeName> <b:ContractLineItem> </com:ExpenseTypeIdentity> </com:PwsProjectCostBaselineBucket> <b:ContractLineItemCode>P001666-CL1</b:ContractLineItemCode> <com:PwsProjectCostBaselineBucket> <b:ContractLineItemId i:nil="true"/> <com:ClientAmount>2000</com:ClientAmount> <b:ContractLineItemUid>1152921504607167042</b:ContractLineItemUid> <com:ExpenseTypeIdentity> <b:ContractLineItemName>R23 - 2022</b:ContractLineItemName> <com:ExpenseTypeName>Travel-AR</com:ExpenseTypeName> <b:EngagementIdentity> </com:ExpenseTypeIdentity> <<b:EngagementCode>P001666</comb:PwsProjectCostBaselineBucket>EngagementCode> </com:ProjectCostBaselineBuckets> </sch:ProjectCostBaseline><b:EngagementId i:nil="true"/> <sch:ProjectIdentity> <com:ProjectCode>P001125-001</com:ProjectCode><b:EngagementUid>1152921504607393774</b:EngagementUid> </sch:ProjectIdentity> <!--sch:StartDate>2018-11-01T00:00:00.000Z</sch:StartDate-->/b:EngagementIdentity> <sch:StealEngagementLockFlag>false</sch:StealEngagementLockFlag> <sch:TimePhase>N</sch:TimePhase></b:ContractLineItem> <sch:LocksToSteal> <b:EditableFlag>true</b:EditableFlag> <com:PwsEntityLockSummary> <com:EntityIdentity><b:UnappliedPrepaidAmount>0</b:UnappliedPrepaidAmount> <com:EntityCode>P001125-001</com:EntityCode></b:PwsInvoiceAvailableBalance> </b:AvailableBalances> <com:LockType>P</com:LockType> <b:AvailableMilestones/> </com:EntityIdentity> <b:CardBeginDate>2022-07-01T00:00:00</b:CardBeginDate> <com:EntityLockSummary> <b:CardEndDate>2022-07-05T00:00:00</b:CardEndDate> <com<b:PwsEntityLockSummaryItem>Client> <b:ClientId i:nil="true"/> <com:LockCount>1</com:LockCount> <b:ClientNumber>AMAZON</b:ClientNumber> <com:LockHolderUserIdentity> <b:ClientUid>1152921504606971723</b:ClientUid> <com:UserDisplayName>Krakauer, Larry</com:UserDisplayName><b:ClientName>Amazon</b:ClientName> <b:InactiveFlag>false</b:InactiveFlag> </com:LockHolderUserIdentity> <b:ParentClientIdentity i:nil="true"/> <com:MostRecentLockAcquisitionTimestamp>2018-11-14T17:59:52.2Z</com:MostRecentLockAcquisitionTimestamp> </b:Client> </com:PwsEntityLockSummaryItem><b:CompanyIdentity> </com<b:EntityLockSummary> CompanyId i:nil="true"/> </com:PwsEntityLockSummary> <b:CompanyName>USA</b:CompanyName> </sch:LocksToSteal> <<b:CompanyUid>1152921504606850739</pwsb:serviceRequest>CompanyUid> </pws:PwsCreateProjectCostBaseline> <b:CompanyNumber>USA</b:CompanyNumber> </soapenv:Body> </soapenv:Envelope> |
Response Format
...
title | PwsCreateProjectCostBaseline Response |
---|
...
Response Elements
...
Element
...
Data Type
...
Description
...
Sample Data
...
Messages
...
...
The web service response status and message. Click here for more information.
...
ResponseId
...
Int32
...
Click here for more information
...
1
...
Status
...
...
Click here for more information.
...
Ok
...
ServerTimestampUtc
...
DateTime
...
Click here for more information
...
2018-01-29T21:55:08.7579802Z
...
EngagementLockStolenFromUserIdentity
...
...
**deprecated**
...
EngagementTimestamp
...
String
...
**deprecated**
...
AAAAAA62DGw=
...
ProjectCostBaseline
...
...
The complete set of information about the project cost baseline. Specify FullDetailFlag = true in request to get this value returned in the response.
...
ProjectCostBaselineIdentity
...
...
The unique keys used to identify the project cost baseline
...
Response Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <PwsCreateProjectCostBaselineResponse xmlns="http://projectorpsa.com/PwsProjectorServices/"> b:CompanyIdentity> <b:CostCardAdjustmentAmount>0</b:CostCardAdjustmentAmount> <b:CostCardExclusionsAmount>0</b:CostCardExclusionsAmount> <b:CostCardInvoicedAmount>0</b:CostCardInvoicedAmount> <b:CostCardRequireLocationFlag>false</b:CostCardRequireLocationFlag> <b:CostCenterIdentity> <b:CostCenterId i:nil="true"/> <b:CostCenterName>Executive Team (USA)</b:CostCenterName> <b:CostCenterNumber>Executive Team (USA)</b:CostCenterNumber> <b:CostCenterUid>1152921504606867363</b:CostCenterUid> </b:CostCenterIdentity> <b:CreatedByUser> <b:UserDisplayName>Bettina</b:UserDisplayName> <b:UserId i:nil="true"/> <b:UserReferenceSystemId>QA - 01</b:UserReferenceSystemId> <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:UserUid>1152921504607011056</b:UserUid> <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId> <b:EmailAddress>bettina@projectorpsa.com</b:EmailAddress> <Status xmlns="http<b://projectorpsa.com/CommonServices/">Ok</Status>FirstName>Bettina</b:FirstName> <ServerTimestampUtc xmlns="http<b://projectorpsa.com/CommonServices/">2018-01-29T21:55:08.7579802Z</ServerTimestampUtc>LastName>Borces</b:LastName> <a<b:EngagementLockStolenFromUserIdentityMiddleName i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>/> <a:EngagementTimestamp>AAAAAA62DGw=</a:EngagementTimestamp>b:CreatedByUser> <a:ProjectCostBaseline xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"><b:CreatedTimestamp>2022-07-12T15:26:19.99Z</b:CreatedTimestamp> <b:Basis>N<DeletedFlag>false</b:Basis>DeletedFlag> <b:CreatedByUser> :DraftCostCardCount>0</b:DraftCostCardCount> <b:UserDisplayName>Web Services<DraftInvoiceNumber>DRAFT00764</b:UserDisplayName>DraftInvoiceNumber> <b:UserId i:nil="true"/>DraftTimeCardCount>0</b:DraftTimeCardCount> <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId><b:Engagement> <b:UserUid>1152921504607067736<EngagementCode>P001666</b:UserUid>EngagementCode> <b:EmailAddress>webservices@revcorp.bb</b:EmailAddress>:EngagementId i:nil="true"/> <b:FirstName>Web<EngagementUid>1152921504607393774</b:FirstName>EngagementUid> <b:LastName>Services</b:LastName>ClientIdentity> <b:MiddleNameClientId i:nil="true"/> </b:CreatedByUser> <b:ClientNumber>AMAZON</b:ClientNumber> <b:CreatedTimestamp>2018-01-29T21:55:02.573Z</b:CreatedTimestamp> <b:Dimension>E<ClientUid>1152921504606971723</b:Dimension>ClientUid> <b:EndDate>2018-02-28T00:00:00Z<</b:EndDate>ClientIdentity> <b:EngagementTimestamp>AAAAAA62DGw=<EngagementName>R23 - 2022</b:EngagementTimestamp>EngagementName> <b</b:LastUpdatedByUser>Engagement> <b:UserDisplayName>Web Services<ExcludeZeroAmountCostCardsFlag>false</b:UserDisplayName>ExcludeZeroAmountCostCardsFlag> <b:UserId i:nil="true"/> ExcludeZeroAmountTimeCardsFlag>false</b:ExcludeZeroAmountTimeCardsFlag> <b:UserReferenceSystemId>WS01<ExcludedCostCardAmount>10</b:UserReferenceSystemId>ExcludedCostCardAmount> <b:UserUid>1152921504607067736<ExcludedCostCardCount>1</b:UserUid>ExcludedCostCardCount> <b:EmailAddress>webservices@revcorp.bb<ExcludedMilestoneAmount>0</b:EmailAddress> ExcludedMilestoneAmount> <b:FirstName>Web<ExcludedMilestoneCount>0</b:FirstName> ExcludedMilestoneCount> <b:LastName>Services<ExcludedTimeCardAmount>800</b:LastName>ExcludedTimeCardAmount> <b:MiddleName i:nil="true"/>ExcludedTimeCardCount>1</b:ExcludedTimeCardCount> <<b:GrossInvoiceAmount>0</b:LastUpdatedByUser>GrossInvoiceAmount> <b:LastUpdatedTimestamp>2018-01-29T21:55:02.573Z<IncludedCostCardCount>0</b:LastUpdatedTimestamp>IncludedCostCardCount> <b:ProjectCostBaselineBucketDateIntervals> IncludedMilestoneCount>0</b:IncludedMilestoneCount> <b:PwsDateInterval> IncludedMilestones/> <b:EndDate>2017-12-31T00:00:00Z<IncludedTimeCardCount>0</b:EndDate> IncludedTimeCardCount> <b:StartDate i:nil="true"/>InvoiceContent>B</b:InvoiceContent> <<b:InvoiceCurrencyDecimalDigits>2</b:PwsDateInterval> InvoiceCurrencyDecimalDigits> <b:PwsDateInterval>InvoiceCurrencyIdentity> <b:EndDate>2018-01-31T00:00:00Z<CurrencyCode>USD</b:EndDate> CurrencyCode> <b:StartDate>2018-01-01T00:00:00Z</b:StartDate>CurrencyId i:nil="true"/> <<b:CurrencyUid>1152921504606851838</b:PwsDateInterval>CurrencyUid> <b:PwsDateInterval></b:InvoiceCurrencyIdentity> <b:EndDate>2018-02-28T00:00:00Z</b:EndDate> <b:InvoiceDetail> <b:StartDate>2018-02-01T00:00:00Z</b:StartDate>InvoiceId i:nil="true"/> <<b:InvoiceNumber>DRAFT00764</b:PwsDateInterval>InvoiceNumber> <b:PwsDateInterval>InvoiceUid>1152921504607847047</b:InvoiceUid> <b:EndDateInvoiceDate i:nil="true"/> <b:StartDate>2018-03-01T00:00:00Z</b:StartDate>InvoiceName>Invoice - WS</b:InvoiceName> </b<b:PwsDateInterval>BillingAddress> </b:ProjectCostBaselineBucketDateIntervals> <b:AddressLine1>98 N. Washingtong Street</b:AddressLine1> <b:ProjectCostBaselineDetail> <b:AddressLine2>Suite 400</b:AddressLine2> <b:ExternalSystemIdentifier i:nil="true"/> <b:ProjectCostBaselineIdAttention i:nil="true"/> <b:ProjectCostBaselineUid>1152921504607272102<City>Boston</b:ProjectCostBaselineUid>City> <b:ActiveProjectCostBaselineFlag>true<CompanyName>R23</b:ActiveProjectCostBaselineFlag>CompanyName> <b:CaMetricActiveFlag>true<Country>USA</b:CaMetricActiveFlag>Country> <b:DaMetricActiveFlag>false<StateOrProvince>MA</b:DaMetricActiveFlag>StateOrProvince> <b:Description>Cost Budget Baseline<ZipOrPostalCode>02130</b:Description>ZipOrPostalCode> <b:EaMetricActiveFlag>false<</b:EaMetricActiveFlag>BillingAddress> <b:PrimaryMetric>C</b:PrimaryMetric>BillingCultureIdentity> <b:ProjectCostBaselineName>Client Amount Budget</b:ProjectCostBaselineName>:CultureId i:nil="true"/> <b:ProjectCostBaselineBuckets>CultureName>en-US</b:CultureName> <b:PwsProjectCostBaselineBucket>CultureUid>1152921504606851419</b:CultureUid> <b:ClientAmount>2000<</b:ClientAmount>BillingCultureIdentity> <b:DisbursedAmountBillingInstructions i:nil="true"/> <b:EndDate>2018-01-31T00:00:00Z</b:EndDate> ClientMessage i:nil="true"/> <b:ExpenseAmountClientMessagePlain i:nil="true"/> <b:ContractLineItems/> <b:ExpenseTypeGroupIdentity i:nil="true"/> <b:CostGrossAmtOption>C</b:CostGrossAmtOption> <b:ExpenseTypeIdentity> <b:DistributionSettings> <b:ExpenseTypeId i:nil="true"/> EmailSettings> <b:ExpenseTypeName>PerEmailFromUserIdentity> Diem</b:ExpenseTypeName> <b:ExpenseTypeUid>1152921504606881747<UserDisplayName>Bettina</b:ExpenseTypeUid>UserDisplayName> </b:ExpenseTypeIdentity><b:UserId i:nil="true"/> <b:StartDate>2018-01-01T00:00:00Z<UserReferenceSystemId>QA - 01</b:StartDate> UserReferenceSystemId> </b:PwsProjectCostBaselineBucket> <b:UserUid>1152921504607011056</b:UserUid> <b</b:PwsProjectCostBaselineBucket>EmailFromUserIdentity> <b:ClientAmount>2000</b:ClientAmount>EmailInvoiceTemplateIdentity> <b:DisbursedAmountInvoiceTemplateId i:nil="true"/> <b:EndDate>2018-02-28T00:00:00Z<InvoiceTemplateName>E001</b:EndDate>InvoiceTemplateName> <b:ExpenseAmount i:nil="true"/>InvoiceTemplateUid>1152921504606878906</b:InvoiceTemplateUid> <b:ExpenseTypeGroupIdentity i:nil="true"/></b:EmailInvoiceTemplateIdentity> <b:ExpenseTypeIdentity>InvoiceEmailEnabledFlag>true</b:InvoiceEmailEnabledFlag> <b:InvoiceEmailType>W</b:InvoiceEmailType> <b:ExpenseTypeId i:nil="true"/> <b:Recipients> <b:ExpenseTypeName>Per Diem</b:ExpenseTypeName> <b:PwsInvoiceEmailRecipient> <b:ExpenseTypeUid>1152921504606881747</b:ExpenseTypeUid> <<b:RecipientType>T</b:ExpenseTypeIdentity>RecipientType> <b:StartDate>2018-02-01T00:00:00Z</b:StartDate> <b:UserIdentity> </b:PwsProjectCostBaselineBucket> <b:UserDisplayName>Fitzgerald <Grant</b:ProjectCostBaselineBuckets>UserDisplayName> <b:Timestamp>AAAAAA62DG8=</b:Timestamp> </b:ProjectCostBaselineDetail><b:UserId i:nil="true"/> <b:StartDate>2018-01-01T00:00:00Z</b:StartDate> <b:TimePhase>M<UserReferenceSystemId>Client11</b:TimePhase>UserReferenceSystemId> </a:ProjectCostBaseline> <a:ProjectCostBaselineIdentity xmlns<b:UserUid>1152921504607061857</b="http://projectorpsa.com/DataContracts/Shared/Common/">:UserUid> <b:ExternalSystemIdentifier i:nil="true"/> <b:ProjectCostBaselineId i:nil="true"/></b:UserIdentity> <b:ProjectCostBaselineUid>1152921504607272102</b:ProjectCostBaselineUid> </ab:ProjectCostBaselineIdentity>PwsInvoiceEmailRecipient> <a:ProjectTimestamp>AAAAAA62DHA=</a:ProjectTimestamp> <a:StolenLocks xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/></b:Recipients> </PwsCreateProjectCostBaselineResult> </PwsCreateProjectCostBaselineResponse> </sb:Body> </s:Envelope> | ||||||
Code Block | ||||||
| ||||||
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">EmailSettings> <s:Body> <PwsCreateProjectCostBaselineResponse xmlns="http://projectorpsa.com/PwsProjectorServices/"> <b:SubjectText>Invoice - WS</b:SubjectText> <PwsCreateProjectCostBaselineResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"></b:DistributionSettings> <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/><b:InvoiceMessages>[Bettina, 12 Jul 2022 11:26 (Create Invoice)] Invoice - WS</b:InvoiceMessages> <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId> <b:InvoiceTemplateIdentity> <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status> <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-11-14T18:00:35.249869Z</ServerTimestampUtc><b:InvoiceTemplateId i:nil="true"/> <b:InvoiceTemplateName>A100</b:InvoiceTemplateName> <a:EngagementLockStolenFromUserIdentity xmlns<b:InvoiceTemplateUid>1152921504606878901</b="http://projectorpsa.com/DataContracts/Shared/Common/">:InvoiceTemplateUid> <b:UserDisplayName>Krakauer, Larry<</b:UserDisplayName>InvoiceTemplateIdentity> <b:UserIdOverrideAccountingPeriodIdentity i:nil="true"/> <b:UserReferenceSystemId>097</b:UserReferenceSystemId>PaymentTermIdentity> <b:UserUid>1152921504606944254</b:UserUid> </a:EngagementLockStolenFromUserIdentity><b:PaymentTermId i:nil="true"/> <a:EngagementTimestamp>AAAAABFHYZY=</a:EngagementTimestamp> <a:ProjectCostBaseline xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:PaymentTermName>Net 15</b:PaymentTermName> <b:Basis>N</b:Basis> <b:PaymentTermUid>1152921504606856053</b:CreatedByUser>PaymentTermUid> <b:UserDisplayName>Krakauer, Larry<</b:UserDisplayName>PaymentTermIdentity> <b:UserIdPurchaseOrderNumber i:nil="true"/> <b:UserReferenceSystemId>097<RenderReceiptsFlag>false</b:UserReferenceSystemId>RenderReceiptsFlag> <b:UserUid>1152921504606944254<RenderedInvoiceFormat>P</b:UserUid>RenderedInvoiceFormat> <b:EmailAddress>Larry@revcorp.min</b:EmailAddress>Taxes/> <b:FirstName>Larry<TimeBillingType>H</b:FirstName>TimeBillingType> <b:LastName>Krakauer<TimeGrossAmtOption>S</b:LastName>TimeGrossAmtOption> <b:MiddleName>A<Timestamp>AAAAAB4/Y0s=</b:MiddleName>Timestamp> </b:CreatedByUser>InvoiceDetail> <b:CreatedTimestamp>2018-11-14T18:00:35.573Z<InvoiceNumberHistory>DRAFT00764</b:CreatedTimestamp>InvoiceNumberHistory> <b:Dimension>E</b:Dimension>InvoiceRecipients> <b:EndDate i:nil="true"/>PwsUserSummary> <b:EngagementTimestamp>AAAAABFHYZY=<UserDisplayName>Bettina</b:EngagementTimestamp>UserDisplayName> <b:LastUpdatedByUser>:UserId i:nil="true"/> <b:UserDisplayName>Krakauer, Larry<UserReferenceSystemId>QA - 01</b:UserDisplayName>UserReferenceSystemId> <b:UserId i:nil="true"/>:UserUid>1152921504607011056</b:UserUid> <b:UserReferenceSystemId>097<EmailAddress>bettina@projectorpsa.com</b:UserReferenceSystemId>EmailAddress> <b:UserUid>1152921504606944254<FirstName>Bettina</b:UserUid>FirstName> <b:EmailAddress>Larry@revcorp.min<LastName>Borces</b:EmailAddress>LastName> <b:FirstName>Larry</b:FirstName>MiddleName i:nil="true"/> <b:LastName>Krakauer<</b:LastName>PwsUserSummary> <b:MiddleName>A</b:MiddleName>PwsUserSummary> <b:UserDisplayName>Fitzgerald <Grant</b:LastUpdatedByUser>UserDisplayName> <b:LastUpdatedTimestamp>2018-11-14T18:00:35.573Z</b:LastUpdatedTimestamp>UserId i:nil="true"/> <b:ProjectCostBaselineBucketDateIntervals>UserReferenceSystemId>Client11</b:UserReferenceSystemId> <b:UserUid>1152921504607061857</b:PwsDateInterval>UserUid> <b:EndDate i:nil="true"/>EmailAddress>fitzgerald@usagov.bb</b:EmailAddress> <b:StartDate i:nil="true"/>FirstName>Fitzgerald</b:FirstName> <<b:LastName>Grant</b:PwsDateInterval>LastName> </b:ProjectCostBaselineBucketDateIntervals> <b:MiddleName i:nil="true"/> <b:ProjectCostBaselineDetail> </b:PwsUserSummary> <b:ExternalSystemIdentifier i:nil="true"/> </b:InvoiceRecipients> <b:ProjectCostBaselineId i:nil="true"/>InvoiceScope>P</b:InvoiceScope> <b:ProjectCostBaselineUid>1152921504607284872<InvoiceStatus>D</b:ProjectCostBaselineUid>InvoiceStatus> <b:ActiveProjectCostBaselineFlag>true</b:ActiveProjectCostBaselineFlag><b:IssuedByUser i:nil="true"/> <b:CaMetricActiveFlag>true</b:CaMetricActiveFlag><b:IssuedTimestamp i:nil="true"/> <b:DaMetricActiveFlag>false</b:DaMetricActiveFlag>LastUpdatedByUser> <b:Description>Client Amount Cost Baseline<UserDisplayName>Bettina</b:Description>UserDisplayName> <b:EaMetricActiveFlag>false</b:EaMetricActiveFlag>UserId i:nil="true"/> <b:PrimaryMetric>C<UserReferenceSystemId>QA - 01</b:PrimaryMetric>UserReferenceSystemId> <b:ProjectCostBaselineName>Client Amount Budget<UserUid>1152921504607011056</b:ProjectCostBaselineName>UserUid> <b:ProjectCostBaselineBuckets> EmailAddress>bettina@projectorpsa.com</b:EmailAddress> <b:PwsProjectCostBaselineBucket> FirstName>Bettina</b:FirstName> <b:ClientAmount>2000<LastName>Borces</b:ClientAmount>LastName> <b:DisbursedAmountMiddleName i:nil="true"/> </b:LastUpdatedByUser> <b:EndDate i:nil="true"/> <b:LastUpdatedTimestamp>2022-07-12T15:26:19.99Z</b:LastUpdatedTimestamp> <b:ExpenseAmount i:nil="true"/>ManagementApprovalThresholdAmount>10</b:ManagementApprovalThresholdAmount> <b:ManagementApprovalThresholdPercent>0.5</b:ManagementApprovalThresholdPercent> <b:ExpenseTypeGroupIdentity i:nil="true"/> <b:MilestoneInvoicedAmount>0</b:MilestoneInvoicedAmount> <b:NetInvoiceAmount>0</b:NetInvoiceAmount> <b:ExpenseTypeIdentity> <b:PaidByUser i:nil="true"/> <b:ExpenseTypeIdPaidTimestamp i:nil="true"/> <b:PaymentComment i:nil="true"/> <b:ExpenseTypeName>Travel-AR<PostFailedFlag>false</b:ExpenseTypeName>PostFailedFlag> <b:PostFailureStatusMessage i:nil="true"/> <b:ExpenseTypeUid>1152921504606861209<PostStatus>U</b:ExpenseTypeUid>PostStatus> <b:PostedByUser i:nil="true"/> </b:ExpenseTypeIdentity> <b:PostedFlag>false</b:PostedFlag> <b:StartDatePostedTimestamp i:nil="true"/> <b:Project> </b:PwsProjectCostBaselineBucket> <b:ProjectCode>P001666-001</b:ProjectCode> <b:PwsProjectCostBaselineBucket> <b:ProjectId i:nil="true"/> <b:ClientAmount>2000<ProjectUid>1152921504607524352</b:ClientAmount>ProjectUid> <b:EngagementIdentity> <b:DisbursedAmount i:nil="true"/> <b:EngagementCode>P001666</b:EngagementCode> <b:EndDate i:nil="true"/> <b:ExpenseAmountEngagementId i:nil="true"/> <b:EngagementUid>1152921504607393774</b:EngagementUid> <b:ExpenseTypeGroupIdentity i:nil="true"/> </b:EngagementIdentity> <b:ExpenseTypeIdentity> <b:ProjectName>R23 - Time and Materials</b:ProjectName> <b:ExpenseTypeId i:nil="true"/></b:Project> <b:RejectedCostCardCount>0</b:RejectedCostCardCount> <b:ExpenseTypeName>Per Diem-AA<RejectedTimeCardCount>0</b:ExpenseTypeName>RejectedTimeCardCount> <b:RevaluePlEffect>0</b:RevaluePlEffect> <b:ExpenseTypeUid>1152921504606869373<SendFailedFlag>false</b:ExpenseTypeUid>SendFailedFlag> <b:SendFailureStatusMessage i:nil="true"/> </b:ExpenseTypeIdentity> <b:SendStatus>U</b:SendStatus> <b:StartDateSentByUser i:nil="true"/> <<b:SentFlag>false</b:PwsProjectCostBaselineBucket>SentFlag> </b:ProjectCostBaselineBuckets> <b:SentTimestamp i:nil="true"/> <b:Timestamp>AAAAABFHYc0=<TimeCardAdjustmentAmount>0</b:Timestamp>TimeCardAdjustmentAmount> <<b:TimeCardExclusionsAmount>0</b:ProjectCostBaselineDetail>TimeCardExclusionsAmount> <b:StartDate i:nil="true"/>TimeCardInvoicedAmount>0</b:TimeCardInvoicedAmount> <b:TimePhase>N<TimeCardRequireLocationFlag>false</b:TimePhase>TimeCardRequireLocationFlag> <<b:UnapprovedCostCardCount>0</ab:ProjectCostBaseline>UnapprovedCostCardCount> <a:ProjectCostBaselineIdentity xmlns<b:UnapprovedTimeCardCount>0</b="http://projectorpsa.com/DataContracts/Shared/Common/">:UnapprovedTimeCardCount> <b:ExternalSystemIdentifierVoidedByUser i:nil="true"/> <b:ProjectCostBaselineIdVoidedTimestamp i:nil="true"/> <b:ProjectCostBaselineUid>1152921504607284872<WebInvoiceFlag>true</b:ProjectCostBaselineUid>WebInvoiceFlag> <<b:WriteUpWriteDownPlEffect>0</ab:ProjectCostBaselineIdentity>WriteUpWriteDownPlEffect> <a:ProjectTimestamp>AAAAABFHYc4=</a:ProjectTimestamp>Invoice> <a:StolenLocksInvoiceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:EntityIdentity> InvoiceId i:nil="true"/> <b:EntityCode>P001125-001<InvoiceNumber>DRAFT00764</b:EntityCode>InvoiceNumber> <b:InvoiceUid>1152921504607847047</b:InvoiceUid> <b:EntityId i:nil="true"/> <b:EntityUid>1152921504607425735</b:EntityUid> <b:LockType>P</b:LockType> </b:EntityIdentity> <b:EntityLockSummary> <b:PwsEntityLockSummaryItem> <b:LockCount>1</b:LockCount> <b:LockHolderUserIdentity> <b:UserDisplayName>Krakauer, Larry</b:UserDisplayName> <b:UserId i:nil="true"/> <b:UserReferenceSystemId>097</b:UserReferenceSystemId> <b:UserUid>1152921504606944254</b:UserUid> </b:LockHolderUserIdentity> <b:MostRecentLockAcquisitionTimestamp>2018-11-14T17:59:52.2Z</b:MostRecentLockAcquisitionTimestamp> </b:PwsEntityLockSummaryItem> </b:EntityLockSummary> </a:StolenLocks> </PwsCreateProjectCostBaselineResult> </PwsCreateProjectCostBaselineResponse> </s:Body> </s:Envelope> |
PwsCreateProjectCostBaseline - Common Errors and Warnings
...
ErrorNumber
...
ErrorCode
...
ErrorText
...
</a:InvoiceIdentity>
<a:InvoiceTimestamp>AAAAAB4/Y0s=</a:InvoiceTimestamp>
</PwsCreateInvoiceResult>
</PwsCreateInvoiceResponse>
</s:Body>
</s:Envelope> |
PwsCreateInvoice - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10111 | RequiredFieldMissing | A required field is missing: BillingCultureIdentity. |
10115 | FieldExceedsMaxLength | The value specified in the field "InvoiceName" in the class "PwsCandidateInvoiceSpec" exceeds the maximum allowable length of 100 characters. |
10126 | InvalidEnumerationValueSpecified | An invalid value was specified for EngagementInvoiceContent. Valid values are B, S. |
10126 | InvalidEnumerationValueSpecified | An invalid value was specified for InvoiceContent. Valid values are B, F, A, M, S, C, T. |
10126 | InvalidEnumerationValueSpecified | An invalid value was specified for InvoiceScope. Valid values are C, E, N, P. |
50024 | EntityNotFound | Project was not found. Another user may have deleted it. |
57528 | CultureNotValidForAccount | Error 57528, State 1: Specified culture not valid for this installation (installation = 2378, culture name = en-USA, culture number = (null)) |
50046 | UpdatePermissionDenied | You do not have permission to update this item. |