跳到主要内容
Docs/Features/E Sign

E-Signature

Send any Anvil-generated document (Quote, PI, CI, contract) for legally-binding e-signature via DocuSign, HelloSign, 法大大 (Fadada), or e-签宝 (E-qianbao). The signed PDF flows back into the document timeline automatically.

![E-Signature](/docs-img/e-sign.png)

What It Does

  • One-click "Send for signature" from any document.
  • Tracks status (`SENT`, `VIEWED`, `SIGNED`, `DECLINED`, `EXPIRED`).
  • Accepts provider webhook callbacks and updates the document automatically.
  • Multi-signer support with ordered or parallel signing.
  • When to Use

    Whenever a document needs a signature — sales contracts, NDAs, distributor agreements, large quotes that act as commitments.

    Sending for Signature

    curl -X POST https://api.anvilhk.com/api/v1/esign/send \
      -H "Authorization: Bearer $ANVIL_KEY" \
      -H "X-Tenant-ID: $TENANT" \
      -H "Content-Type: application/json" \
      -d '{
        "documentId": "doc_01H...",
        "provider": "docusign",
        "signers": [
          { "email": "buyer@example.com", "name": "Buyer Name", "order": 1 },
          { "email": "seller@yourcompany.com", "name": "You", "order": 2 }
        ]
      }'

    Provider Options

    ProviderBest forCompliance
    DocuSignGlobal / USeIDAS, ESIGN
    HelloSignSMB / startupESIGN
    Fadada (法大大)China mainland电子签名法
    E-qianbao (e-签宝)China mainland电子签名法

    API Endpoints

  • `POST /api/v1/esign/send`.
  • `GET /api/v1/esign/envelopes` — list.
  • `GET /api/v1/esign/envelopes/:id` — detail + status.
  • `POST /api/v1/esign/envelopes/:id/cancel`.
  • Public webhook receivers at /webhooks/esign/:provider handle the providers' callbacks (signature verified at the service edge).

    Pricing & Limits

    PlanEnvelopes / month
    Starter5
    Pro100
    Enterpriseunlimited

    Gotchas

  • Each provider has its own pricing on top of Anvil's. DocuSign envelopes are billed by DocuSign once you exceed your plan's bundled allotment.
  • For China mainland, Fadada / E-qianbao are the only providers recognised by Chinese courts. Don't use DocuSign for a domestic Chinese contract you might enforce in court.
  • The signed PDF is fetched and stored in Anvil's S3. Even if you delete the envelope at the provider, Anvil keeps the audit copy unless you explicitly purge.