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, engagement and project data. 

...

Element

Data Type

Required?Default

Description

ApprovedByFinanceFlag

Boolean

No

If this flag is set to true, it indicates that the Finance team has approved the invoice.

ApprovedByManagementFlag

Boolean

No

If this flag is set to true, it indicates that the Management team has approved the invoice.  This flag can only be set to true when both ApprovedByFinanceFlag and ApprovedByProjectManagerFlag are set to true first. 

ApprovedByProjectManagerFlag

Boolean

No

If this flag is set to true, it indicates that the Project Manager has approved the invoice.

BillingCultureIdentity

PwsCultureRef

Yes

This structure represents the unique key fields associated with identifying a culture.  For example, en-US is a valid culture name for invoice issued in USD. 

CardBeginDate

DateTime

No

The begin date of a range.  Any time card with work date or cost card with incurred date within this date range could be included on the invoice. 

CardEndDate

DateTime

No

The end date of a range.  Any time card with work date or cost card with incurred date within this date range could be included on the invoice. 

ClientIdentity

PwsClientRef

Yes

This structure is used to uniquely identify a client.

CostCenterIdentity

PwsCostCenterRef

Yes

This structure is used to uniquely identify a cost center.

EngagementCurrencyIdentity

PwsCurrencyRef

Yes

This structure is used to uniquely identify a currency.

EngagementIdentity

PwsEngagementRef

Yes

This structure is used to uniquely identify an engagement. 

EngagementInvoiceContent

String

???

Valid values are B (blank), S (???).

InvoiceContent

String

Yes

Valid values are B (blank), F (???), A (all included), M (milestone only), S (???), C (cost only), T (time only).

InvoiceName

String

Yes

The name of the invoice with maximum length at 100 char. 

InvoiceScope

String

Yes

The scope of the invoice. Valid values are C (client), E (engagement), N (purchase order), P (project).

ProjectIdentity

PwsProjectRef

Yes (if  invoice scope is P)

This structure is used to uniquely identify a project. 

PurchaseOrderNumber

String

???

The purchase order number of the invoice. 

...