Mexico payment-complement response mapping for Avalara
Information on the PaymentEReportingData fields and how to use them to construct the SAT verification URL.
For Avalara Mexico payment complements, response values are mapped to fields on PaymentEReportingData. These values are separate from the e-invoice response values stored in EInvoiceData.
The following field mappings are specified for the Mexico payment-complement flow:
|
|
Avalara response value |
|---|---|
Field1 | Issuer RFC: //cfdi:Emisor/@Rfc |
Field2 | Recipient RFC: //cfdi:Receptor/@Rfc |
Field3 | Total: //cfdi:Comprobante/@Total |
Field4 | CFDI seal: //tfd:TimbreFiscalDigital/@SelloCFD |
AuthorizationCode | UUID: //tfd:TimbreFiscalDigital/@UUID |
Field5 | noCertificado from the ELR status response |
Field6 | selloSAT from the ELR status response |
Field7 | selloCFDI from the ELR status response |
Field8 | fechaTimbrado from the ELR status response |
ReferenceNumber | UUID from the ELR status response |
The values used in the SAT verification URL correspond to the following response data:
|
URL parameter |
Value |
|---|---|
id | CFDI UUID |
re | Issuer RFC (Field1) |
rr | Recipient RFC (Field2) |
tt | Total (Field3) |
fe | CFDI seal (Field4) |
Use the mapped values to construct the SAT verification URL in this format:
https://verificacfdi.facturaelectronica.sat.gob.mx/default.aspx?id={UUID}&re={issuerRFC}&rr={recipientRFC}&tt={total}&fe={CFDISeal}