Overview
This structure contains the complete set of information about a Client (less any subordinate entities). The structure is used both to retrieve detailed Client information and to pass information about a Client back to the server to get updated.
Format
- PwsClientDetail
- ClientName: String
- InactiveFlag: Boolean
- ClientId: Int32
- ClientNumber: String
- ClientUid: Int64
- ParentClientIdentity: PwsClientRef
- Address: PwsAddress
- BillingCycleIdentity: PwsBillingCycleRef
- BillingInstructions: String
- ClientMessage: String
- ClientMessagePlain: String
- InheritAddressFlag: Boolean
- InheritBillingCycleFlag: Boolean
- InheritBillingInstructionsFlag: Boolean
- InheritClientMessageFlag: Boolean
- InheritInvoiceContentFlag: Boolean
- InheritInvoiceScopeFlag: Boolean
- InheritInvoiceTemplateFlag: Boolean
- InheritPaymentTermFlag: Boolean
- InheritPurchaseOrderNumberFlag: Boolean
- InheritStandardRatesFlag: Boolean
- InheritTimeBillingTypeFlag: Boolean
- InvoiceContent: String
- InvoiceScope: String
- InvoiceTemplateIdentity: PwsInvoiceTemplateRef
- NewClientNumber: String
- PaymentTermIdentity: PwsPaymentTermRef
- PurchaseOrderNumber: String
- StandardBillingAdjustedDiscountPercent: Double
- StandardContractDiscountPercent: Double
- StandardRateCardIdentity: PwsRateCardRef
- TimeBillingType: String
- Timestamp: String
- UserDefinedFields: PwsUserDefinedFieldDetail
- InheritInvoiceEmailSettingsFlag: Boolean
- InvoiceEmailSettings: PwsInvoiceEmailSettings
- InheritRenderReceiptsFlag: Boolean
- RenderReceiptsFlag: Boolean
- AutoApplyAvailableBalanceFlag: Boolean
- InheritAutoApplyAvailableBalanceFlag: Boolean
- InheritTaxTypesFlag: Boolean
- TaxType1Identity: PwsTaxTypeRef
- TaxType2Identity: PwsTaxTypeRef
- TaxType3Identity: PwsTaxTypeRef
Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
ClientName | String | Client Name | Projector PSA |
InactiveFlag | Boolean | If set to "true", the Client has a status of inactive. | true / false |
ClientId | Int32 | The Client Id is a unique identifier for a Client. For internal use only. | |
ClientNumber | String | The Client Number is a unique identifier for a Client. See "NewClientNumber" for guidance on how to change the client number of an existing client. | C000117 |
ClientUid | Int64 | The Client Uid is a unique and immutable identifier for a Client. | 1152921504606961482 |
ParentClientIdentity | The identity of this client's parent, if any. Circular relationships are not permitted (a client cannot be it's own parent, nor can a client's parent refer back to the client as it's parent, and so forth.). | ||
Address | The billing address for the client. | ||
BillingCycleIdentity | The billing cycle set up for the client. | ||
BillingInstructions | String | Billing instructions associated with the Client. | Please bill on the 15th of every month |
ClientMessage | String | A per-invoice message to appear on the invoice. This may include RTF markup. | Thank you for choosing Projector PSA |
ClientMessagePlain | String | A per-invoice message to appear on the invoice in plain text format. | Thank you for choosing Projector PSA |
InheritAddressFlag | Boolean | Inherit Address from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritBillingCycleFlag | Boolean | Inherit Billing Cycle from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritBillingInstructionsFlag | Boolean | Inherit Billing Instructions from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritClientMessageFlag | Boolean | Inherit Client Message from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritInvoiceContentFlag | Boolean | Inherit Invoice Content from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritInvoiceScopeFlag | Boolean | Inherit Invoice Scope from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritInvoiceTemplateFlag | Boolean | Inherit invoice Template from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritPaymentTermFlag | Boolean | Inherit Payment Term from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritPurchaseOrderNumberFlag | Boolean | Inherit Purchase Order Number from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritStandardRatesFlag | Boolean | Inherit Standard Rates Flag from Parent Client (if any). Please see Inheritance for more information. | true / false |
InheritTimeBillingTypeFlag | Boolean | Inherit Time Billing Type from Parent Client (if any). Please see Inheritance for more information. | true / false |
InvoiceContent | String | Invoice Content "B" for time and cost together "S" for separately | B |
InvoiceScope | String | Invoice Scope "C" for client "N" for purchase order number "E" for engagement "P" for project | C |
InvoiceTemplateIdentity | The invoice template id associated with the client. | ||
NewClientNumber | String | This is used by PwsSaveClient to support re-numbering clients. You can both identify a client by client number and modify the client number by specifying the original client number in ClientNumber and the new value in NewClientNumber. NewClientNumber will always be null in responses from PwsGetClient. Note that the client number may only be changed if numbering for clients is configured as Manual or Hybrid. | C000117-New |
PaymentTermIdentity | The payment terms set up for the client. | ||
PurchaseOrderNumber | String | Purchase Order Number | PO-1234 |
StandardBillingAdjustedDiscountPercent | Double | Standard Billing Adjusted Discount Percent | 0.725 |
StandardContractDiscountPercent | Double | Standard Contract Discount Percent | .10 |
StandardRateCardIdentity | Standard Rate Card Identity | SR2018-2019 | |
TimeBillingType | String | Time Billing Type "D" for daily "H" for hourly | H |
Timestamp | String | Row version in Base64 format | AAAAAA9Dhpo= |
UserDefinedFields | Client user defined field values associated with this client. | ||
InheritInvoiceEmailSettingsFlag | Boolean | Inherit Invoice Email Settings from Parent Client (if any). Please see Inheritance for more information. | true/false |
InvoiceEmailSettings | Settings that control whether email distribution of invoices is enabled for this client, and if so, who the sender and recipients of the email are, the subject line, the email template and other related settings that are in effect. | ||
InheritRenderReceiptsFlag | Boolean | Inherit Render Receipts Settings from Parent Client (if any). Please see Inheritance for more information. | |
RenderReceiptsFlag | Boolean | If set to "true" Receipts will be rendered on the invoice | true/false |
AutoApplyAvailableBalanceFlag | Boolean | For engagements with a pre-payment balance, if set to "true" automatically apply the balance to new invoices. | true/false |
InheritAutoApplyAvailableBalanceFlag | Boolean | Inherit Auto Apply Available Balance flag from Parent Client (if any). Please see Inheritance for more information. | true/false |
InheritTaxTypesFlag | Boolean | Inherit Tax Types flag from Parent Client (if any). Please see Inheritance for more information. | true/false |
TaxType1Identity | The tax types that apply for invoices under this client. | ||
TaxType2Identity | The tax types that apply for invoices under this client. | ||
TaxType3Identity | The tax types that apply for invoices under this client. |