Legacy Text Examples - Communicating with Mexico (DQ/DR, KQ/KR & RQ/RR)
Communicating with Mexico Legacy Specifications
This section describes the Legacy format and provides examples for Mexican Commercial Driver's License queries and responses (DQ/DR), Driver History queries and responses (KQ/KR) and Mexican Commercial License Plate records (RQ/RR).
Users can inquire to the Licencia Federal Information System (LIFIS) to obtain license and status information about federally issued Mexican commercial driver licenses, just as such driver license queries (DQ/KQ) can be made to U.S. state driver license files for any U.S. issued license.
- A license status inquiry to the LIFIS is made by addressing a driver license query (DQ/KQ) message to the destination address of "MX".
- All inquiries and responses are in a fixed format.
- At this time, the LIFIS application only supports requests using the operator license number (OLN).
- Name and date of birth inquiries are not currently supported, but are anticipated in the future.
Other search criteria that may also be added include the following:
- RFC number, a number that has been used by Mexico and is somewhat similar to the U.S. social security number (SSN); and/or
- A new identification number Mexico is planning to issue called the CURP.
Query Formats
To send a Driver Query (DQ/KQ) to the Mexican LIFIS application the following entries are required:
- Standard Nlets header, message type, sending ORI
- Destination code MX
- License number from the license document (must always include the alphabetic characters which are the beginning of the license number)
- Category(s).
- No spaces or non-alphanumeric characters are allowed.
- The control field and control characters are optional.
The table below provides a description of the Mexican driver's license number requirement.
Legacy
Prefix:
Field
Size:
Explanation:
Mexican
OLN/
plus up to 4
category(s)
8-15
plus
4
i.e.,
8-19
Combination of DL# and "CATEGORY" of Mexican driver license
in DL#/CAT order.
DL# must begin with the alpha letters shown as the beginning of
the number on the document.
If there is more than one "category" shown on the license, they
may all be included in the OLN field after the DL#.
This combination currently is the required equivalent of the U.S.
OLN for the Mexican LIFIS.
Free form fields such as "RSTR/", "STATUS/", "OLT/", etc., are used to provide information on any restrictions, status of the license, the U.S. equivalent CDL class and explanations regarding verifications in process.
All information will be provided in English.
If there are any questions on this or any other parts of the response:
Consult the LIFIS HELP file by sending a DQ message addressed to MX with an OLN value of HELP or send an Administrative Message (AM) to MXOLNHELP.
Mexican Driver's License Responses from LIFIS (DR)
The sections below provide examples of various possible responses to Driver's License Queries.
Driver's License Response Example - Valid License (DR)
Response indicating the queried driver is in the database, has a valid license and no restrictions.
Response (DR)
DR.MXOLN0000
01:09 11/01/2000 01572
01:09 11/01/2000 01433 GA0250300
TXT
MSG # 3. TEST RECORD. RESPONSE FROM VERSION 2.2, LIFIS.
MUESTRA-EJEMPLO, JUAN GARCIA
ORIGINAL LICENSING OFFICE/NUEVO LAREDO, TAMAULIPAS, MEXICO.
SEX/M. DOB/011546. HGT/5'10". WGT/180. EYE/BROWN. RFC/MUEJ460115.
OLN/GOOD123456.
CATEGORY/A. EXPIRES/10142001. STATUS/VALID.
OLT/A - ANY BUS.
CATEGORY/C. EXPIRES/10142001. STATUS/VALID.
OLT/C - STRAIGHT TRUCKS (MAXIMUM OF 3 AXLES INCLUDING ANY TOWED TRAILER)
EXCLUDING HAZMATS.
Driver's License Response Example - First Check/Interim (DR)
It is possible a driver can be stopped and checked who may have a valid licencia federal, but has not yet been added to the current database.
The officer will receive a response like the following example.
Response indicating this is the first inquiry ever received for that driver who may not yet in the database.
Response (DR)
DR.MXOLN0000.(standard Nlets header)
TXT
MSG # 1. RESPONSE FROM VERSION 2.2, LIFIS.
OLN/FIRST123456.
CATEGORY/C. STATUS/CHECKING.
OLT/C - THIS CATEGORY IS FOR STRAIGHT TRUCKS (MAXIMUM OF 3 AXLES INCLUDING ANY
TOWED TRAILER) EXCLUDING HAZMATS.
THIS LICENSE NUMBER IS NEW TO THE INTERIM LIFIS, AND WILL BE VERIFIED WITHIN 15
DAYS. IF THE MEXICO CITY SCT HEADQUARTERS DOES NOT SEND THE NECESSARY LICENSE
INFORMATION WITHIN 15 DAYS, THE COMPUTER WILL BEGIN ANSWERING THAT THE LICENSE
IS ASSUMED NOT VALID.
IF THE LICENSE DOCUMENT SAYS "LICENCIA FEDERAL DE CONDUCTOR," AND CONTAINS
EMBOSSMENTS ON ALL YEARS IN THE REF FIELD, UP TO AND INCLUDING THE MOST RECENT
YEAR REQUIRED, THEN ADVISE DRIVER THE COMPUTER SYSTEM IS VERIFYING THE LICENSE.
The driver should be advised that if the Mexico City SCT headquarters does not verify to the computer system within 15 days that the license is valid, he or she will then be placed out of service.
Driver's License Response Example - Subsequent Check (DR)
It is possible a subsequent inquiry could be made on a driver during the currently allowed 15 day computer validation period while waiting on the data to be obtained and placed in the database. In such cases the officer will receive a response indicating how many days remain from the original 15 days, as indicated in the following example.
Response on a subsequent inquiry on a driver who was previously inquired about, but has not yet been verified by Mexico, and is within the currently allowed 15 day grace period.
Response (DR)
DR.MXOLN0000.(standard Nlets header)
TXT
MSG # 2. TEST RECORD. RESPONSE FROM VERSION 2.2, LIFIS.
OLN/SUBSE123456.
CATEGORY/C. STATUS/CHECKING.
OLT/C - THIS CATEGORY IS FOR STRAIGHT TRUCKS (MAXIMUM OF 3 AXLES INCLUDING ANY
TOWED TRAILER) EXCLUDING HAZMATS.
THIS LICENCIA FEDERAL WAS RECENTLY INQUIRED ABOUT AND IS IN THE PROCESS OF BEING
VERIFIED. IF THE MEXICO CITY SCT HEADQUARTERS OFFICE DOES NOT RESPOND WITHIN
(x) DAYS, THE LIFIS WILL BEGIN REPORTING THE STATUS OF THIS CATEGORY AS ASSUMED
NOT VALID.
IF LICENSE DOCUMENT SAYS "LICENCIA FEDERAL DE CONDUCTOR," AND CONTAINS
EMBOSSMENTS ON ALL YEARS IN REF FIELD, UP TO AND INCLUDING THE MOST RECENT YEAR
REQUIRED, THEN ADVISE DRIVER ONLY (x) DAYS REMAIN FOR THE MEXICO CITY SCT OFFICE
TO VERIFY THIS LICENCIA FEDERAL.
The value for (x) is the number of days calculated by the program as remaining from the original 15 days, i.e., since the original inquiry was made and the computer record created.
Driver's License Response Example - No Response Within 15 Days (DR)
If the Mexican SCT/DGAF headquarters office in Mexico City does not provide the interim agreed information about a licencia federal driver license number within the agreed 15 days, the LIFIS database will be updated to show the status of that driver license number as ASSUMED NOT VALID.
When the U.S. has failed to receive a response within the agreed interim 15 days, the officer would receive a response like the following:
Response records where the driver has been encountered in the U.S., an inquiry made on the status of the driver, and the record was either not in the database, or needed to be updated, e.g. to verify whether the driver obtained the necessary two-year re-validation, and Mexico City headquarters failed to respond within the interim 15 days allowed.
Response (DR)
DR. MXOLN0000.(standard Nlets header)
TXT
MSG # 12. TEST RECORD. RESPONSE FROM VERSION 2.2, LIFIS.
OLN/NORSP123456.
CATEGORY/C. STATUS/ASSUME NOT VALID.
OLT/C - THIS CATEGORY IS FOR STRAIGHT TRUCKS (MAXIMUM OF 3 AXLES INCLUDING ANY
TOWED TRAILER) EXCLUDING HAZMATS.
THIS LICENSE NUMBER/CLASS COMBINATION WAS NOT VALIDATED BY THE MEXICO CITY SCT
HEADQUARTERS WITHIN THE 15 DAY AGREE TIME PERIOD. UNTIL THE MEXICO CITY SCT
HEADQUARTERS VALIDATES THIS LICENSE NUMBER/CLASS COMBINATION, IT SHOULD BE
TREATED AS NOT VALID IN THE U.S.
EVEN IF THE DRIVER HAS A LETTER OR DOCUMENT FROM A LOCAL SCT OFFICE TO THE
CONTRARY, THIS LICENSE SHOULD BE TREATED AS NOT VALID IN THE U.S. IT IS AGAINST
MEXICO CITY HEADQUARTERS POLICY FOR LOCAL SCT OFFICES TO ISSUE A LETTER
CONTRADICTING THE LICENSE DOCUMENT. ALL LICENCIA FEDERAL VALIDATIONS MUST COME
THROUGH MEXICO CITY HEADQUARTERS OFFICIAL CHANNELS, AND BE INCLUDED IN THE LIFIS
DATABASE TO BE VALID IN THE U.S.
Mexico Commercial License Plate File
The format for vehicle registration query on a license number is:
Entry:
# Char.:
Explanation:
RQ.
2
Message type followed by a period.
Message Header
13 - 24
Standard input message header may include control field.
TXT
3
Fixed filed prefix to beginning of message.
CR,LF,DEL
3
Control characters (optional).
LIC/
4
Prefix to identify license plate.
License number
1-10
License number, alphanumeric only, followed by a period.
LIY/
4
Prefix to identify license year.
License year
2-4
License year followed by a period; 2-4 numeric digits.
LIT/
4
Prefix to identify license type.
License type
2
License type; 2 character designating type of license.
Queries can be only be run by license plate, VIN queries are currently not supported.
Communicating with Mexico Legacy Examples
Example 1: Drivers query to Mexico.
DQ.AZNLETS20.MX.TXT
OLN/AAAA111111
Example 2: Drivers response from Mexico.
DR.MXLIC0000
09:00 01/01/2012 11234
09:00 01/01/2012 61230 AZNLETS20
TXT
GARCIA-MARTINEZ@JUAN</syntaxhighlight>
LICENSING OFFICE/, , MEXICO.
MAILING ADDR/USUMACINTAS, AZTECA, JUAREZ,
JUAREZ, CHIHUAHUA 31111, MEXICO.
SEX/M. DOB/01011950. HGT/5 10. WGT/236. EYE/. RFC/XXXX111111.
RSTR/EYE GLASSES.
OLN/AAAA111111.
CATEGORY/A. EXPIRES/01012020. STATUS/VALID.
OLT/B - TRUCK & TRACTOR WITH MORE THAN 3 AXLES, DOUBLES/TRIPLES,
TANKS; NO HAZARDOUS MATERIAL.
NOTE: MX ELICENCIA IS UP: RESPONSE COMES FROM MX ELICENCIA
Example 3: Commercial License Plate query to Mexico.
RQ.AZNLETS20.MX.TXT
LIC/111XX1.LIY/2013.LIT/PC
Example 4: Commercial License Plate query response from Mexico.
RR.MXLIC0000
11:00 01/01/2011 01239
11:00 01/01/2011 81239 AZNLETS20
TXT
LIC/111XX1</syntaxhighlight>
TRANSPORTES JUAN GARCIA, S.A. DE C.V.
AV. HECTOR MARTINEZ, FRACC. ALAMEDA, CD. JUAREZ, CHIH 32000.
VIN/1XXXXXXX1XXX11111.VYR/2000.ENGINE_NO/11111111
LIT/TRACTOR - 3 AXLES.VMA/MEXICO
LIC_STATUS/ASSIGNED.LIC_ISSUED/01012005
REGISTRANT_RFC/AAA1111111A1.REGISTRANT_STATUS/REGISTERED
LIC_CLASS/FREIGHT MOTOR.VST/TRACTOR
LIC_SERVICE/GENERAL
NOTE: THIS IS A RESPONSE FROM MX AUTHORIZATIONS INFORMATION SYSTEM
Example 5: Drivers History query to Mexico.
KQ.AZNLETS20.MX.TXT
OLN/AAAA111111
Example 6: Drivers History response from Mexico.
KR.MXOLN0000
11:22 01/01/2015 00231
11:22 01/01/2015 00231 AZNLETS20
TXT
NAME: JUAN GARCIA-MARTINEZ
PRIMARY CONTACT ADDRESS: USUMACINTAS, AZTECA, JUAREZ, CHIHUAHUA 31111, MEXICO.
COUNTRY: 1
COUNTY: HUMBERTO VALDEZ RICHAUD
LOCATION COUNTY: HUMBERTO VALDEZ RICHAUD
DATE OF BIRTH: 1950-01-01
GENDER: Male
*** DRIVER LICENSE DETAILS ***
DRIVER AUTHORIZATION ID: AAAA111111
JURISDICTION AUTHORITY CODE: MX
ISSUE DATE: 2015-01-01
EXPIRATION DATE: 2016-01-01
DRIVER ENDORSEMENT: Doubles/Triples
DRIVER ENDORSEMENT: Tank
DRIVER LICENSE COMMERCIAL CLASS CODE: A
LICENSED COMMERCIAL DRIVER: YES
DRIVER LICENSE COMMERCIAL STATUS: Valid
DRIVER HISTORY CONVICTION QUANTITY: 0
DRIVER HISTORY WITHDRAWAL QUANTITY: 0