Telmex Validation service

Telmex Service

Telmex service allows to validate a proof of fiscal data and address data.

Web Service description

Validate Telmex

This method performs the validation of telmex proof address and information about fiscal data with the telmex proof address.

~/api/telmex/address

Parameters

Tag Type Requires Description
telmexFrontFile file yes Photo or pdf of the front of a Telmex proof of address. The first field must show the data of the owner of the contract and you can send in a single field the front and back of the Telmex receipt in a PDF.
telmexBackFile file optional Photo or pdf of the back of a Telmex proof of address. In the second field you must send the back of the Telmex receipt where the tax data must be shown to carry out validation before the sat.

Headers

Tag Type Required Description
apiKey string yes Customer Key
Answers Document
Name Type Description
Data:
OCR:
name string Name of the person who Telmex service was billed.
address string Address of the owner
zipcode string Postal code address
totalpay string Monthly payment
phoneNumber string Phone Number
invoiceNumber string Invoice Number receipt
folio string UUID number of receipt
rfcEmisor string RFC Emisor
rfcOwner string RFC Owner
certificateDate string Certificate issuance date
infoSat:
rfcEmisor string RFC Emisor
rfcOwner string RFC Owner
uuid string UUID of the address telmex
expeditionDate string expedition date sat
certificationDate string certification date sat
pac string pac
total string total pay
voucherEffect string Voucher Effect sat
voucherStatus string Voucher satatus sat
cancelable string cancelable voucher
cancelableStatus string cancelable status voucher
GeoLocal:
lng string lng coordinates
lon string lon coordinates
url string url google maps

JSON

  "value": {
    "valid": true,
    "data": {
      "ocr": {
        "name": "string",
        "address": "string",
        "zipcode": "string",
        "totalPay": "string",
        "phoneNumber": "string",
        "invoiceNumber": "string",
        "rfcOwner": "string",
        "rfcEmisor": "string",
        "folio":"string",
        "certificateDate": "string"
      },
      "infoSat": {
        "rfcEmisor": "string",
        "rfcOwner": "string",
        "uuid": "string",
        "expeditionDate": "string",
        "certificationDate": "string",
        "pac": "string",
        "total": "string",
        "voucherEffect": "string",
        "voucherStatus": "string",
        "cancelable": "string",
        "cancelableStatus": "string"
      },
      "geoLocal": {
        "lat": 0,
        "lon": 0,
        "url": "string"
      }
    },
    "warnings": [
      {
        "code": "string",
        "message": "string"
      }
    ]
  }

Service Messages

Code Message Description
TELS001 Front file is required The first parameter on post request is required
TELS002 Classify document failed The document could not be classified because the match percentage is low
TELS003 OCR document failed The document could not be scaned by OCR process
TELS004 The document can not be read The OCR process responded with null data
TELS005 Server response failed. There is an error getting the response from the server.
TELS009 Can´t validate fiscal data with source
TELS010 Failed to get data The information was validated but the response does not provide information.
TELS030 Old file, the file is older than the certification date obtained from the official source The proof of address is old or expired
TELS031 Can´t validate fiscal data, RFC Emisor does not match The RFC Emisor is not the same as the one OCR found
TELS032 Can´t validate fiscal data, RFC Recive does not match The RFC Recive is not the same as the one OCR found
TELS033 Can´t validate fiscal data, UUID does not match The UUID is not the same as the one OCR found
TELS034 Can´t validate fiscal data, Total Pay does not match The Total pay is not the same as the one OCR found
TELS035 Can't validate Address Geolocation data, it was not found in the source. Can´t get Geolocation because the process response was null