PwsInvoiceDistributionSettings

Overview

This data structure includes the email setting on an invoice that can be distributed after being issued. 

Format


PwsInvoiceDistributionSettings

Elements


Element

Data Type

Required?

Description

Sample Data

EmailSettings

PwsInvoiceEmailSettings

Yes

This data structure includes the invoice email information such as sent by user, email template, email type and recipients. 


SubjectText

String

No

The subject of the invoice email. 


Usage Example(s)


Example 01
  					<b:DistributionSettings>
                     <b:EmailSettings>
                        <b:EmailFromUserIdentity>
                           <b:UserDisplayName>Min Zeng</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId>ID-MZ</b:UserReferenceSystemId>
                           <b:UserUid>1152921504606944258</b:UserUid>
                        </b:EmailFromUserIdentity>
                        <b:EmailInvoiceTemplateIdentity>
                           <b:InvoiceTemplateId i:nil="true"/>
                           <b:InvoiceTemplateName>E003</b:InvoiceTemplateName>
                           <b:InvoiceTemplateUid>1152921504606878415</b:InvoiceTemplateUid>
                        </b:EmailInvoiceTemplateIdentity>
                        <b:InvoiceEmailEnabledFlag>true</b:InvoiceEmailEnabledFlag>
                        <b:InvoiceEmailType>H</b:InvoiceEmailType>
                        <b:Recipients>
                           <b:PwsInvoiceEmailRecipient>
                              <b:RecipientType>T</b:RecipientType>
                              <b:UserIdentity>
                                 <b:UserDisplayName>Clark, William</b:UserDisplayName>
                                 <b:UserId i:nil="true"/>
                                 <b:UserReferenceSystemId i:nil="true"/>
                                 <b:UserUid>1152921504607172137</b:UserUid>
                              </b:UserIdentity>
                           </b:PwsInvoiceEmailRecipient>
                        </b:Recipients>
                     </b:EmailSettings>
                     <b:SubjectText>Van Gogh and Nature exhibit</b:SubjectText>
                  </b:DistributionSettings>