Send an E-Invoice via Email

Send an Email

You can send an E-Invoice via Email by sending a POST request to the below API

x-cleartax-auth-token: {{USER_AUTH_TOKEN}}
gstin: GSTIN

Request URL

POST: {{HOST}}/einv/v0/communication/send

Sample Request Body

{
  "attachment_details": {
   "printTemplate": "62cfd0a9-d1ed-47b0-b260-f8y6f57e9c5e",
   "invoice_details": {
      "invoice_id": "DOC-1",
      "invoice_date": "17/12/2020",
      "invoice_type": "INV"
    }
  },
  "communication_details": {
    "template": {
      "template_type": "INVOICE_GENERATED"
    },
    "contacts": [
      {
        "recipients": [
          {
            "name": "Contact Person Name",
            "email": "recipient@gmail.com",
            "email_recipient_type": "TO"
          }
        ]
      }
    ]
  }
}

Request Parameters:

Attachment Details

Invoice Details

Communication Details

Template Details

Contact Details

Email Recipient Details

Sample Response

{
    "success": true,
    "errors": null
}

Response Parameters

  • For Successful request

  • For Failed requests

Error Detail

Last updated