Models

Email

Email delivery options. When Peppol recipient is provided, email is optional and you can choose to always send the email, or only when Peppol delivery fails. When Peppol recipient is null, email becomes the primary delivery method and `email.to` is required. Each sent email is counted towards your document quota.

Properties

NameTypeRequiredDescription
whenalways | on_peppol_failureNoWhen to send the email. If the provided Peppol recipient is null, email becomes the primary delivery method and emails are always sent. Default: on_peppol_failure. Values: always, on_peppol_failure
tostring[]YesThe email addresses to send the document to. Example: ["support@recommand.eu"]
subjectstringNoThe subject of the email. If not provided, the subject will be autogenerated based on the document type. Example: "Invoice SI-001"
htmlBodystringNoThe HTML body of the email. If not provided, the body will be autogenerated based on the document type. Example: "Dear customer, you can find your invoice attached."

Used by

On this page