📩 Mailing Rules

While producing a document or receipt through API it is possible to send an original link of the PDF signed digitally,

This will also provide the URL in the method response and will save it in the system reports for future view.


📘

To receive an original document/receipt with a digital signature in the method response (not regarding emailing) just send the parameter value as 'true'


send the relevant parameter values for original document and email activation:

'email_to = true'

The customer email address


'email_bcc'

The bcc email address

will be sent only if there is a value in 'email_to'


'send_mail'

true - send the document/receipt (default value)

False - don’t send the document/receipt


'digital_signature = true'

true - add digital signature to the document/receipt

False - don’t add the digital signature to the document/receipt

The document/receipt will be sent without the digital signature


'signature_pin'

The digital signature password

Send only by the instructions of the support (this is not relevant for most accounts)


'default_email'

true - pull the email address from the customer ascribed to the document/receipt

False - don’t pull the email address from the customer (default value)

This option will work only if there isn't a value in 'email_to'


'thermal_print'

true - return the document/receipt URL as a terminal print

false - return the document/receipt in normal view (default value)