Overview
This specifies the invoice template to be used for invoices that are to be emailedstructure represents the unique key fields associated with identifying an invoice template. Invoice Templates can be identified by InvoiceTemplateName or InvoiceTemplateUid. When specifying a PwsInvoiceTemplateRef as an input to a web service, you may specify one or both the InvoiceTemplateName and/or InvoiceTemplateUid. However, if you do specify both, they must both refer to the same invoice template or the invoice template reference will not be considered valid. When a PwsInvoiceTemplateRef is returned in the response to a web service, both the InvoiceTemplateName and InvoiceTemplateUid will be populated, and guaranteed to refer to a single invoice template.
Format
Panel | ||
---|---|---|
| ||
|
Elements
Element | Data Type | Required? |
---|
Description | Sample Data | |
---|---|---|
InvoiceTemplateId | Int32 |
No | The invoice template ID. For internal use only. | |
InvoiceTemplateName | String |
Invoice Template Name.
(10) | One of InvoiceTemplateName or InvoiceTemplateUid is required | The invoice template name is a unique identifier for an invoice template. | E001 |
InvoiceTemplateUid | Int64 |
Invoice Template Unique ID. For internal use only.
See InvoiceTemplateName | A unique and immutable identifier for an invoice template. | 1152921504606878906 |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<InvoiceTemplateIdentity> <b:EmailInvoiceTemplateIdentity> <InvoiceTemplateId>31928</InvoiceTemplateId><b:InvoiceTemplateId i:nil="true"/> <InvoiceTemplateName>A200<<b:InvoiceTemplateName>E001</b:InvoiceTemplateName> <InvoiceTemplateUid>1152921504606878904<<b:InvoiceTemplateUid>1152921504606878906</b:InvoiceTemplateUid> </InvoiceTemplateIdentity>b:EmailInvoiceTemplateIdentity> |