Digital signing¶
With digital signing, a contract acceptance is signed by you and by the customer contact before you create the contract. Contract Management 365 sends the attachments you mark For Signature to the signing provider, follows the status, and attaches the signed PDF to the acceptance when both have signed. The first signing provider is Penneo, and both parties sign with MitID.
flowchart LR
A[Contract acceptance<br/>with PDF attachments] --> B[Send for Signing]
B --> C[You sign<br/>with MitID]
C --> D[Customer contact signs<br/>with MitID]
D --> E[Signed PDF attached<br/>Status: Signed]
E --> F[Create Contract]
Set up digital signing¶
- Open Contract Setup. On the Digital Signing FastTab, choose the Signing Provider. Leave it blank if acceptances are not signed digitally.
- Set Signing Reminder Days (after how many days a signer who has not signed is reminded) and Signing Expiry Days (after how many days an unsigned case expires). New setups start with 1 and 5. Both must be more than 0, and the reminder must come before the expiry.
- Choose Signing Provider Setup and fill in the setup of the provider. For Penneo, see Penneo Setup.
- Choose Test Signing Connection to check that Business Central can reach the provider.
- Give every user who sends acceptances for signing an email address in User Setup. The sender signs first, so the sender needs an email address.
- Create a recurring job queue entry that runs codeunit 6102708 CUR Signing Status Job, for example every 15 minutes. It reads the status of all sent cases. Without it, the status is only read when someone chooses Update Signing Status.
- On each contract type whose acceptances must be signed, turn on Requires Signature. The value is copied to the acceptance when the contract type is chosen.
Penneo Setup¶
| Field | What to enter |
|---|---|
| Base URL | The address of the Penneo environment, https://app.penneo.com by default. Only https addresses under penneo.com are allowed. |
| API Key, API Secret | The API key and secret from your Penneo account. They are stored securely and cannot be shown again; API Key Set and API Secret Set show whether they are stored. |
| Case File Type Id | The Penneo case file type to use. It must have two signer roles that sign in order. |
| Signable Doc. Type Id | The Penneo document type for documents that are signed. |
| Attachment Doc. Type Id | The Penneo document type for appendices that are not signed. |
| Signer Type Id 1, Signer Type Id 2 | The Penneo signer roles for the first signer (you, the sender) and the second signer (the customer contact). |
You find the ids in your Penneo account. They are specific to each Penneo account.
Send a contract acceptance for signing¶
- Open the contract acceptance. Check that Requires Signature is on, and that the acceptance has a customer contact with an email address. The contact signs for the customer.
- Attach the contract as PDF files. Turn on For Signature on each attachment that must be signed. Only PDF files can be signed.
- Choose Send for Signing.
The case is sent to the signing provider. You sign first, then the customer contact. Both receive an email from the provider and sign with MitID.
While the case is with the provider, the acceptance is locked: the header, the lines and the attachments cannot be changed. To change something, withdraw the case first.
Follow the status¶
The job queue reads the status automatically. To read it now, choose Update Signing Status on the acceptance. Signing Cases shows the cases of the acceptance and their status.
| Status | Meaning |
|---|---|
| Sent | The case is with the signing provider and waits for the signers. The acceptance is locked. |
| Signed | Both have signed. The signed PDF is attached to the acceptance. The acceptance stays locked. |
| Rejected | A signer rejected the case. Status Message shows the reason, if the provider gave one. |
| Expired | The case was not signed within Signing Expiry Days. |
| Withdrawn | You withdrew the case. |
When the case is Rejected, Expired or Withdrawn, the acceptance is unlocked, and you can change it and send it again.
Create the contract¶
When the case is Signed, choose Create Contract as usual. The signed PDF follows the acceptance to the contract.
If Acceptance administration is on in Contract Setup, the signed acceptance stays after the contract is created, and it stays locked: what was signed cannot be changed.
Withdraw from signing¶
Choose Withdraw from Signing to cancel a sent case. The case is cancelled at the signing provider, its status becomes Withdrawn, and the acceptance is unlocked.
When something goes wrong¶
| Message | What to do |
|---|---|
| Acceptance … has no customer contact. | Choose the contact who signs for the customer. |
| Contact … has no email address. | Add an email address to the contact. |
| You have no email address in User Setup. | Add your email address in User Setup. |
| There are no attachments marked For Signature. | Turn on For Signature on the attachments to sign. |
| The attachment … is marked For Signature but is not a PDF file. | Attach the document as PDF. |
| Acceptance … is locked because it has a signing case with status Sent. | Withdraw the case before you change the acceptance. |
| … signing cases could not be updated. | The job queue could not read some cases. Last Error on Signing Cases shows why. |