Versions Compared

Key

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

Overview

This data structure is part of the method PwsCreateInvoice. It captures the information that is used to create an invoice such as time and cost cards date range, client and engagement data. 

Format


Panel
titlePwsCandidateInvoiceSpec
  • PwsCandidateInvoiceSpec
    • ApprovedByFinanceFlag: Boolean
    • ApprovedByManagementFlag: Boolean
    • ApprovedByProjectManagerFlag: Boolean
    • BillingCultureIdentity: PwsCultureRef
    • CardBeginDate: DateTime
    • CardEndDate: DateTime
    • ClientIdentity: PwsClientRef
    • CostCenterIdentity: PwsCostCenterRef
    • EngagementCurrencyIdentity: PwsCurrencyRef
    • EngagementIdentity: PwsEngagementRef
    • EngagementInvoiceContent: String
    • InvoiceContent: String
    • InvoiceName: String
    • InvoiceScope: String
    • ProjectIdentity: PwsProjectRef
    • PurchaseOrderNumber: String

Elements

Element

Data Type

Required?

Default

Description

ApprovedByFinanceFlag

Boolean




ApprovedByManagementFlag

Boolean




ApprovedByProjectManagerFlag

Boolean




BillingCultureIdentity

PwsCultureRef




CardBeginDate

DateTime




CardEndDate

DateTime




ClientIdentity

PwsClientRef




CostCenterIdentity

PwsCostCenterRef




EngagementCurrencyIdentity

PwsCurrencyRef




EngagementIdentity

PwsEngagementRef




EngagementInvoiceContent

String




InvoiceContent

String




InvoiceName

String




InvoiceScope

String




ProjectIdentity

PwsProjectRef




PurchaseOrderNumber

String




Usage Example(s)


Code Block
languagexml
titleRequest 01
collapsetrue
			<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>

...