In order for the conversion of the Order into a human-readable equivalent and the sending via email to be successful the sender needs to follow a number of rules.
Email: the sender must provide the email address of the recipient in the element <Order/SellerSupplierParty/Party/Contact/ElectronicMail>. i. Example: <ElectronicMail languageID="NL">email </ElectronicMail>
Language: The sender must pass a language code (only “FR” or “NL”) in attribute "Lang" of UBL data element <Order/SellerSupplierParty/Party/Contact/ElectronicMail> . The Language code is compulsory. There is no default/backup language. Example: <ElectronicMaillanguageID="NL"> email </ElectronicMail>
Own PDF: Mercurius foresees a mechanism to prioritize the customer's own PDF versus the Mercurius generated PDF. This offers a solution:
for those who wish to use their own layout
when a more extensive or complicated order is used
if another language (then NL or FR) is needed
The sender must use <additionalDocumentReference> with "human-readable equivalent order" in the DocumentType element.
Exception handling: If Mercurius detects an error in the transformation process into a PDF then an exception handling process will kick in. This means that the Mercurius servicedesk gets notified and will contact the sender to notify of the error.