Stamp V4 – Email

Stamp your CFDI 4.0 and send the invoice by email in the same request, using the email header. The service sends the XML and the PDF with a generic template or with your custom template, if you have one.

✓Before you start
1Get a Bearer Token with your SW username and password. We recommend using an infinite token.
2Choose the endpoint in the Endpoint section: Issue Stamping and Stamp receive an XML; Issue Stamping JSON receives the CFDI as JSON.
3If you use Issue Stamping or Issue Stamping JSON, load the issuer’s CSDs in the ADT portal or with the Load certificates method of the API.
4Add the email header with one or more email addresses to receive the invoice.
💡 Note: This is the documentation for adding the extra email parameter to the 3 stamping services: Stamp, Issue Stamping and Issue Stamping JSON.

URLs

Choose the environment: the URL applies to all the examples on this page.

🔗 Endpoint

This article covers 3 endpoints. Choose the tab for the one you need; all three accept the email header.

💡 Note: Although the path says /cfdi33, the service supports the current CFDI version. The name is kept for compatibility. Segments in braces, such as {version}, are path parameters you must replace.

Request Example


    
💡 Note: These examples are based on the SW SDKs, but you can build the request directly against the REST API in the language you prefer.

Response

💡 Note: The message and messageDetail texts returned by the API are in Spanish. The examples show them exactly as you will receive them.

    
This service only receives version; it has no format parameter.

In SW® we strive to be the best for You, which is why your opinion is very important. Please help us by rating this article and leaving your comments.

How useful was this post?

Click on a star to rate it!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Updated on noviembre 26, 2026

Related Articles