To test CFDI stamping you need to use test values for the following elements - values that you will find on this page:
Web service URL
Issuer RFC in the CFDI to be stamped
Recipient RFC and other RFCs that are registered within the CFDI
Test certificate that corresponds to the Issuer RFC to sign the CFDI
Navigation menu
Documentación en español
The following is the link for CFDI stamping in the test environment.
Test environment
https://test.timbra.mx/WCFTimbrador/DetecnoPac.svc
Login credentials
User: AAAAAA\wsTIMBRADOR
Password: GlMkm9F=b+
The CFDI stamping test environment has the following methods:
TimbrarCFDi
It receives the XML to be stamped as an input parameter.
It delivers the TFD complement (Digital Fiscal Stamp) for the CFDI.
RecuperarTFD
It receives the stamped CFDI's identifier and its UUID.
It delivers the TFD complement (Digital Fiscal Stamp) of a previously stamped CFDI.
ObtenerHoraServidor
No input parameters required.
It delivers the stamping server's hour (Mexico central standard time)
ObtenerClaveConfirmacion
It receives the issuer's RFC (Mexican tax id) as an input parameter.
It delivers the confirmation code to be able to issue a CFDI with big amounts or exchange rates that are out of the established range.
RecuperarAcuseEnvio
It receives the UUID (fiscal number) of the stamped invoice.
It delivers the acknowledgment of receipt that the SAT returns when a stamped CFDI is delivered.
RecuperarXmlPesado
It receives the identity number assigned to the invoice when a very long XML was attempted to be stamped.
It delivers the stamped XML and the TFD complement (Digital Fiscal Stamp) that could not be recovered at the time of stamping.
They describe the flow, URL, methods, parameters, and examples of the web service:
Digital Signature Certificates (CSD) authorized by the SAT to carry out tests.
These certificates were downloaded from the SAT website and include the .Cer file, the .Key file and the password.
The password for all certificates is 12345678a
SAT information from test certificates
You can download this same package of certificates directly from the SAT page, as well as find more information about Digital Signature Certificates.
http://omawww.sat.gob.mx/tramitesyservicios/Paginas/certificado_sello_digital.htm
The RFC, company name and postal code values of both the Issuer and the Receiver must be taken from the following list of test data authorized by the SAT.
Additionally, these data must correspond to the selected test certificate.
Natural person
RFC
CACX7605101P8
FUNK671228PH6
IAÑL750210963
JUFA7608212V6
KAHO641101B39
KICR630120NX3
MISC491214B86
RAQÑ7701212M3
WATM640917J45
WERX631016S30
XAMA620210DQ5
XIQB891116QE4
XOJI740919U48
Legal name
XOCHILT CASAS CHAVEZ
KARLA FUENTE NOLASCO
LUIS IAN ÑUZCO
ADRIANA JUAREZ FERNANDEZ
OSCAR KALA HAAK
RODRIGO KITIA CASTRO
CECILIA MIRANDA SANCHEZ
ÑEVES RAMIREZ QUEZADA
MARIA WATEMBER TORRES
XAIME WEIR ROJO
ALBA XKARAJAM MENDEZ
BERENICE XIMO QUEZADA
INGRID XODAR JIMENEZ
Postal
code
36257
01160
85256
01160
76074
36246
01010
78905
43543
01279
01219
40968
76028
Tax
regime
621
621, 605
608
614
612
622
612
605
622
608
612
606
612, 605
SCNF
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
Validity of
obligations
2
1
1
1
1
1
1
1
1
1
1
4
1
Legal entity
RFC
EKU9003173C9
IIA040805DZ4
H&E951128469
IVD920810GU2
IXS7607092R5
JES900109Q90
KIJ0906199R1
OÑO120726RX3
URE180429TM6
XIA190128J61
ZUÑ920208KL4
Legal name
ESCUELA KEMPER URGATE
INDISTRIA ILUMINADORA DE ALMACENES
HERRERIA & ELECTRICOS
INNOVACION VALOR Y DESARROLLO
INTERNACIONAL XIMBO Y SABORES
JIMENEZ ESTRADA SALAS
KERNEL INDUSTIA JUGUETERA
ORGANICOS ÑAVEZ OSORIO
UNIVERSIDAD ROBOTICA ESPAÑOLA
XENON INDUSTRIAL ARTICLES
ZAPATERIA URTADO ÑERI
Postal
code
42501
62661
06002
63901
23004
37161
28971
40501
86991
76343
34541
Regi
me
601
601
601
601
603
601
603
601
603
624
601
SCNF
NO
NO
NO
NO
NO
NO
NO
SI
NO
NO
NO
Validity of
obligations
1
1
1
1
1
1
1
1
1
1
1
Validity of obligations
1 - Enabled to invoice (VAT exempt, rate 0% and 16%)
2 - Enabled to invoice (VAT exempt, rate 0%, 8% and 16%) - Northern border zone
3 - Enabled to invoice (VAT exempt, rate 0%, 8% and 16%) - Southern border zone
4 - Enabled to invoice (VAT exempt, rate 0%, 8% and 16%) - North and south border zone
You will be able to test the stamping process without any development on your side using the SoapUI tool. We share a preconfigured SoapUI project with the web service URL, parameters, and CFDI, ready to run the stamping test.
To test CFDI stamping through SoapUI, perform the following steps:
1. Download the project file (Timbrado-CFDI-Puebas-soapui-project.xml).
2. Run the SoapUI program.
3. Select the "File" menu and the "Import Project" option.
4. Select the project file you downloaded from this page.
5. The project will be created to test the stamping web service.
6. The request payload of each method contains the information necessary to test the web service.
7. The project for SoapUI already includes the necessary configuration for invoking the secure web service.