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 | ||
---|---|---|
| ||
|
...
Element | Data Type | Required? | Default | Description | Sample Data | |
---|---|---|---|---|---|---|
InvoiceTemplateId | Int32Invoice Template | No | The invoice template ID. For internal use only. | |||
InvoiceTemplateName | String | Invoice Template Name. | A200(10) | One of InvoiceTemplateName or InvoiceTemplateUid is required | The invoice template name is a unique identifier for an invoice template. | E001 |
InvoiceTemplateUid | Int64 | See InvoiceTemplateName | A unique and immutable Id identifier for an Invoice Templateinvoice template. | 11529215046068789041152921504606878906 |
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> |