...
- Add the digital signature to the document definition by adding following line:
- For invoices: {#showFiscalSignatureRestitution($document $document.invoice.orders.get(0))}
- For order summary and order receipt: {#showFiscalSignatureRestitution($document $document.order)}
- For order receipts
#if($orderReceipt.fiscalSignatureRestitution.length() > 0)#space(5)#display($orderReceipt.fiscalSignatureRestitutionStr, $orderReceipt.fiscalSignatureRestitutionStr.length() ,'LEFT') <QR>$orderReceipt.fiscalSignatureRestitution|9|CENTER<QR>#end
- Check if other information needs to be added to the document (for example: operator, sales channel)
Get credentials from the provider of the Technical Security Element (TSE)
...