Service that signing and stamping a Retenciones CFDI (the Mexican withholding and payments-information tax document) in XML format, accepts complements and is compatible with the current version.
The Sello, Certificado and NoCertificado attributes must be sent empty. We recommend using the test certificates.
✓
Before you start
1
Get a Bearer Token with your SW username and password. We recommend using an infinite token.
2
Send your XML with the
Sello, Certificado and NoCertificado attributes empty. SW fills them in for you.
3
Upload the issuer’s CSDs in the ADT portal or with the Upload Certificates method of the API. In the testing environment you can use the test certificates.
💡 Scope: this method only sign and stamps Retenciones CFDI. To sign and stamp invoices, payment or payroll CFDI, use Issue Stamping.
💡 Note: we recommend using test certificates in the testing environment.
URLs
Select your active environment. The copy buttons and the code examples below are built with the base URL you choose here.
🔗 Endpoint
Response
The service returns the error texts (message, messageDetail) in Spanish, so they are shown here exactly as received.
In SW® we strive to be the best for You, wich is why your opinion is very important. Please help us by rating this article and leaving your comments.