PwsInvoiceDetail
Overview
This structure contains the complete set of information about an invoice. The structure is used both to retrieve detailed invoice information and to pass information about an invoice back to the server to get updated.
Format
- PwsInvoiceDetail
- InvoiceId: Int32
- InvoiceNumber: String
- InvoiceUid: Int64
- InvoiceDate: DateTime
- InvoiceName: String
- BillingAddress: PwsAddress
- BillingCultureIdentity: PwsCultureRef
- BillingInstructions: String
- ClientMessage: String
- ClientMessagePlain: String
- ContractLineItems: PwsInvoiceContractLineItem[]
- CostGrossAmtOption: String
- DistributionSettings: PwsInvoiceDistributionSettings
- InvoiceMessages: String
- InvoiceTemplateIdentity: PwsInvoiceTemplateRef
- OverrideAccountingPeriodIdentity: PwsAccountingPeriodRef
- PaymentTermIdentity: PwsPaymentTermRef
- PurchaseOrderNumber: String
- RenderReceiptsFlag: Boolean
- RenderedInvoiceFormat: String
- Taxes: PwsInvoiceTax[]
- TimeBillingType: String
- TimeGrossAmtOption: String
- Timestamp: String
- UserDefinedFields: PwsUserDefinedFieldDetail [0..100]
Elements
Element | Data Type | Required? | Default | Description |
---|---|---|---|---|
InvoiceId | Int32 | On Insert: No On Update: One of InvoiceId, InvoiceNumber or InvoiceUid is required | The invoice id is a unique identifier for an invoice. For internal use only. | |
InvoiceNumber | String | On Insert: No On Update: One of InvoiceId, InvoiceNumber or InvoiceUid is required | The invoice number is a unique identifier for an invoice | |
InvoiceUid | Int64 | On Insert: No On Update: One of InvoiceId, InvoiceNumber or InvoiceUid is required | A unique and immutable Id for an invoice | |
InvoiceDate | DateTime | No | The invoice date | |
InvoiceName | String | On Insert: Yes On Update: No | The invoice name | |
BillingAddress | No | The complete billing address on the invoice | ||
BillingCultureIdentity | On Insert: Yes On Update: No | The invoice culture | ||
BillingInstructions | String | No | Specific billing instructions for this client. The person that prepares the client's invoice will see these instructions, but the client will not. | |
ClientMessage | String | No | An optional message to be displayed on the client's invoice | |
ClientMessagePlain | String | No | An optional message (without formatting) to be displayed on the client's invoice | |
ContractLineItems | Yes | This data structure reprensents one contract line item that is associated with the invoice | ||
CostGrossAmtOption | String | |||
DistributionSettings | No | This data structure includes the email setting on an invoice that can be distributed after being issued | ||
InvoiceMessages | String | No | The invoice tab message for this specified project | |
InvoiceTemplateIdentity | On Insert: Yes On Update: No | The layout that will be used for this client's invoices | ||
OverrideAccountingPeriodIdentity | Only available if Allow user to override accounting period on invoices is checked on the Billing tab in System Settings. Used to select the desired accounting period for associated AR transactions related to this invoice. Only accounting periods open for AR are available in this list. | |||
PaymentTermIdentity | On Insert: Yes On Update: No | Payment Terms define when payment of an invoice is due | ||
PurchaseOrderNumber | String | No | The invoice purchase order number | |
RenderReceiptsFlag | Boolean | On Insert: Yes On Update: No | false | If set to 'true' associated receipts will be rendered with this invoice |
RenderedInvoiceFormat | String | On Insert: Yes On Update: No | The format of the invoice when rendered | |
Taxes | No | The taxes associated with this invoice | ||
TimeBillingType | String | On Insert: Yes On Update: No | The time billing type: "D" for daily "H" for hourly | |
TimeGrossAmtOption | String | |||
Timestamp | String | No | The date/time the invoice was created | |
UserDefinedFields | PwsUserDefinedFieldDetail [0...100] | On Insert: Dependent on UDF Definition On Update: No | The client user defined field values associated with this client. |