Hello,
DocuSign isn’t built into BC, but you can integrate it with AL. The flow is simple:
1. Run your report → get PDF as Base64 using Report.SaveAs + Base64 Convert.
2. Get OAuth token with a POST request to DocuSign’s /oauth/token (client_credentials).
3. Build the envelope JSON (documents + recipients + status="sent").
4. POST to /accounts/{id}/envelopes using HttpClient.
5. DocuSign sends the email automatically.
6. Later, call
/envelopes/{id} → get status
/envelopes/{id}/documents/1 → download signed PDF.
It’s all doable with a single service codeunit and a small setup table.
BC provides all needed tools: HttpClient, JsonObject, Temp Blob, and Base64 Convert.
Regards,
Oussama Sabbouh