Signing contracts inside your product: which electronic signature holds up, and what it takes to integrate
Teams that want contracts signed inside their product usually start by picking a vendor, but the decision happens earlier: what level of signature does this document actually need? In the EU, only a qualified electronic signature automatically carries the legal effect of a handwritten one, and the same is true in Türkiye for a secure electronic signature. Everything else, from a checkbox to an email-verified click-to-sign flow to a finger-drawn squiggle on a PDF, is not invalid. It simply is not a deed, and its weight in a dispute comes from the evidence record you build around it. That split also decides your budget. The first group is a few days of work. The second brings certificates, timestamps and an archive you have to keep verifiable for years.
Three levels, and two of them get confused constantly
The EU framework splits electronic signatures into simple, advanced and qualified. A qualified signature is an advanced signature created with a qualified signature creation device and based on a qualified certificate. Turkish law uses a different vocabulary for the same idea. Law 5070 defines an electronic signature broadly in Article 3, loosely enough that a name typed at the bottom of an email fits, and then defines a secure electronic signature in Article 4 with four conditions: it is linked exclusively to the signatory, created with a secure device under the signatory's sole control, based on a qualified certificate that establishes identity, and able to reveal whether the signed data was altered afterwards.
In practice the difference is not technology, it is who is on the other side. If you require the qualified level, the signer must already hold a certificate. Corporate counterparties usually do. Consumers usually do not, and that is exactly where a signing flow dies.
Some documents cannot be signed this way at all
Article 5 of Law 5070 states the rule and then the limit. A secure electronic signature produces the same legal effect as a handwritten signature. However, legal acts that statute subjects to an official form or a special ceremony cannot be carried out with it, and neither can guarantee contracts, except bank letters of guarantee and surety bonds issued by insurance companies established in Türkiye. That exclusion has been narrowed twice, in 2016 for bank letters of guarantee and in 2021 for surety bonds. The BTK FAQ gives property sales, inheritance and marriage as examples of acts that stay offline.
The product implication is a filter you apply before any integration work: a document that requires a notary or a statutory form is not an engineering problem. For document types near the boundary, the call belongs to counsel. What follows here is meant to guide technical design, not to replace legal advice.
In court, the gap is between a document and a deed
The Turkish Code of Civil Procedure treats data in electronic form as a document (Article 199). Being a document and being a deed are not the same thing. Electronic data created with a secure electronic signature in the proper manner counts as a deed (Article 205/2), and the judge examines on their own motion whether a signed document submitted as evidence was in fact created with a secure electronic signature (Article 205/3).
That last clause has a direct engineering consequence. The file itself has to stay verifiable years later: not a screenshot of the PDF, but the original carrying the signature and the certificate chain. The Code of Obligations points the same way. Text sent and storable with a secure electronic signature satisfies the written form requirement (Article 14), and a secure electronic signature produces all the legal effects of a handwritten one (Article 15). One more detail worth knowing: above a monetary threshold that is revised every year, certain transactions have to be proven by a deed. Do not design on the assumption that your contracts are small ones.
In a click-to-sign flow, you are the one producing the evidence
At the simple level there is no cryptographic signature inside the file. What you hold is exactly what you recorded, and six items usually cover it: a hash and an immutable copy of the signed document, the exact version and consent text shown to the user, the time, the IP address and client details, the authentication method used and its result, and the identity of the account that signed.
Authentication is the line that decides how much the rest is worth. A link sent by email is the weakest link in the chain; an SMS or app-based one-time code is a step up. All of it belongs in an audit trail that cannot be edited after the fact, because when a signature is challenged the argument is about the record, not about the document. Pasting a drawn signature image into the PDF adds nothing to that list. It looks convincing and proves nothing.
The signature lives inside the file, not beside it
Once you move to the qualified level you start talking about formats: PAdES for PDF, XAdES for XML, CAdES for binary data, ASiC when several of them travel in one container. If you have touched e-invoicing you have already seen XAdES. For contracts the equivalent is PAdES.
PAdES has four baseline levels, and the difference between them is whether the signature can still be validated five years from now. B-B carries the signature and the signing certificate, B-T adds a timestamp, B-LT embeds validation material such as the certificate chain and revocation data inside the file, and B-LTA adds a document timestamp on top (ETSI EN 319 142-1). One number explains why this matters: according to BTK, qualified certificates are typically valid for one to three years. An expired certificate does not retroactively void a signature, but if the proof that it was valid at signing time is not inside the file, nobody can validate it. That is what a timestamp is for, and Law 5070 defines it as a separate service in Article 3. Signing a ten-year contract at B-B means a file nobody can verify in year eight. Decide this together with your PDF generation and archive format choices.
Who issues the certificate in Türkiye
Only certificate service providers that have notified BTK may issue qualified certificates, and BTK states plainly that certificates should not be obtained from organisations outside the list published on its site. Identity is verified against official documents or remotely through the Turkish ID card, an option added to the law in 2021. Mobile signature falls under the same legislation; the only difference is that the signature is created on the SIM card, and its legal standing is identical.
There is one more constraint that shapes design directly. BTK says qualified certificates cannot be used for user authentication such as logging into a system, and that a separate certificate is needed for that. So "let customers log in with their e-signature" does not work as stated. Authentication stays its own layer, and the signing certificate appears only at the signing step.
Five questions to answer before you write the flow
- Who signs? For a company, the signer's authority matters as much as the contract. Record the title and the document that proves the authority alongside the signature.
- Is there an order? Customer first then you, or both in parallel? In a multi-signer flow each signature is added to the file; the file is not regenerated.
- Which version was signed? The document has to be locked the moment it goes out for signature. If editing continues on the same record, the signature means nothing. Model that lock as a state in your approval workflow.
- How long does the invite live? Signing links should be single-use and time-limited. A link sent by email keeps circulating for months.
- How do cancellation and re-signing work? Expired, declined and cancelled requests are distinct states. Report all of them over webhooks and make the handling safe to repeat.
Buy the service or build the plumbing
For most teams a hosted signing service is the right answer. Invitation emails, reminders, mobile signing flows and the evidence report come in the box; you send the document and the signers. If you do want to produce signatures yourself, the European Commission's open-source DSS library covers most of the work: it creates, extends and validates PAdES, XAdES, CAdES and ASiC signatures, and ships under LGPL 2.1.
Whichever way you go, set one rule up front: buy the flow, keep the archive. The original signed file, the evidence report and the validation result captured at signing time belong in your own storage. If switching providers would leave you with nothing but a link to someone's dashboard, you have tied your retention obligations to another company's product lifecycle.
Cross-border work changes the picture
In the EU, Article 25 of eIDAS sets the frame in three sentences. An electronic signature cannot be denied legal effect or admissibility as evidence solely because it is electronic or because it does not meet the requirements for qualified signatures. A qualified electronic signature has the equivalent legal effect of a handwritten signature. A qualified signature based on a qualified certificate issued in one member state is recognised as qualified in all the others. For cross-border contracts, that third sentence is the useful one.
The 2024 revision adds the European Digital Identity Wallet, with every member state expected to offer at least one wallet in 2026, though national rollouts are moving at different speeds. In the United States the pair to know is ESIGN and UETA: intent to sign, a specific electronic consent procedure for consumer transactions, and records that can be retained and accurately reproduced. The bar is more flexible than the Turkish one, which is why click-to-sign flows are the norm there.
A first step that fits in one afternoon
List the document types your company signs on a single page: quotes, order confirmations, framework agreements, NDAs, onboarding paperwork, supplier contracts, reseller agreements. Next to each one write three things: is the counterparty a business or an individual, would this document stand alone as the basis of a claim, and how many years will it be kept. Then sort them into three buckets. Click-to-sign is enough. A qualified signature is required. Cannot be signed electronically at all.
In most companies the first bucket takes more than half the list, and that part is a few days of development. The second needs certificates, timestamping and archiving planned together. Once the list exists, the integration you actually need becomes obvious. Bring that list and the conversation starts at flow design instead of vendor selection.
Need help with this topic?