Visionary API (1.7.0)
Download OpenAPI specification:Download
Visionary es una API que permite a los usuarios enviar imágenes y obtener una descripción de las mismas usando modelos de lenguaje avanzados.
El objetivo de esta API, es permitir leer documentos no estructurados, como imágenes, y convertirlos en texto estructurado, para que puedan ser utilizados en otros sistemas.
- Address Proof: Documentos de identificación que contienen información de dirección.
- Bank Statement: Estados de cuenta bancarios.
- Carta Libranza: Cartas de libranza.
- CIF: Constancias de identificación fiscal.
- Constitutive Act: Actas constitutivas de empresas.
- Credit Report: Reportes de crédito.
- CSF: Constancias de situación fiscal.
- CURP: Clave Única de Registro de Población.
- FM: Formato Migratorio 2 y 3.
- Generic ID Front: Tarjetas de identificación oficiales.
- Generic ID Back: Tarjetas de identificación oficiales (parte trasera).
- INE Front: Parte frontal de la credencial de elector.
- INE Back: Parte trasera de la credencial de elector.
- NSS: Documento y tarjeta de Seguro Social.
- PASSPORT: Pasaportes.
- Payroll: Recibos de nómina.
Esta API requiere un API key para ser utilizada. Pasa la API key en el header Rem-Apikey.
Para más información, visita la documentación.
Extract information from an address proof image
Endpoint to extract information from an address proof image
Authorizations:
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "Address proof OCR completed",
- "data": {
- "name": "Juan Perez",
- "type": "ELECTRICITY",
- "issued_by": "CFE",
- "date": "2023-01-01",
- "end_date": "2023-02-01",
- "likely_recent": true,
- "address": {
- "street": "Avenida Reforma",
- "ext_num": "1234",
- "int_num": "apt 123",
- "postal_code": "06000",
- "neighborhood": "Colonia Centro",
- "municipality": "Delegación Cuauhtémoc",
- "state": "Estado de México",
- "country": "México"
}
}
}Extract bank statement information from an image or PDF file.
Endpoint to extract information from a bank statement image
Authorizations:
query Parameters
| validate_rfc | boolean (Validate Rfc) Default: false |
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "Bank statement information extracted",
- "data": {
- "name": "Juan Perez",
- "entity": "CFE",
- "rfc_person": "ABCD123456AB0",
- "rfc_person_structure_valid": true,
- "rfc_entity": "ABCD123456AB0",
- "rfc_entity_structure_valid": true,
- "date_start": "2023-01-01",
- "date_end": "2023-01-31",
- "account_number": "1234567890",
- "clabe": "123456789012345678",
- "average_amount": 1234.56,
- "total_amount": 12345.67
}
}Extract information from a CURP image or PDF file
Endpoint to extract information from a CURP image
Authorizations:
query Parameters
| validate_curp | boolean (Validate Curp) Default: false |
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "CURP OCR completed",
- "data": {
- "full_name": "JUAN PEREZ HERNANDEZ",
- "curp": "PEHJ950101HDFRRL09",
- "curp_structure_valid": true,
- "birthdate": "1995-01-01",
- "state_of_birth": "DF",
- "state_of_registration": "Distrito Federal",
- "asociated_curps": [
- "PERJ900101HDFXXX01",
- "HUCA900101HDFXXX01"
], - "qr_found": true,
- "qr_valid": true,
- "curp_valid": true,
- "curp_response": {
- "curp": "PERJ900101HDFXXX01",
- "valid": true,
- "name": "JUAN",
- "first_last_name": "PÉREZ",
- "second_last_name": "GARCÍA",
- "birth_date": "1990-01-01",
- "gender": "H",
- "nationality": "MEX",
- "birth_federal_entity": "DF",
- "issuing_entity_key": "",
- "curp_status": "AN",
- "curp_status_description": "Alta Normal",
- "registration_year": "1990",
- "certificate_folio": "",
- "registration_entity_number": "01",
- "municipality_key": "001",
- "foreign_registration_number": "",
- "provatory_document": "Acta de Nacimiento",
- "probatory_document_data": {
- "id": "1",
- "name": "Acta de nacimiento",
- "book": "",
- "act_number": "000000",
- "sheet": "",
- "tome": "",
- "crip": "",
- "letter_folio": ""
}
}
}
}Extract information from a CIF image
Endpoint to extract information from a CIF image
Authorizations:
query Parameters
| validate_rfc | boolean (Validate Rfc) Default: false |
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "CIF OCR completed",
- "data": {
- "cif": {
- "full_name": "John Doe",
- "rfc": "ABCD123456EFG",
- "id": "1234567890"
}, - "identification_data": {
- "curp": "ABCD123456EFG",
- "name": "John",
- "first_lastname": "Doe",
- "second_lastname": "Smith",
- "birthdate": "2023-01-01",
- "start_date": "2023-01-01",
- "situation": "ACTIVO",
- "situation_last_update": "2023-01-01"
}, - "fiscal_address": {
- "street": "Av. Benito Juárez",
- "ext_num": "1000",
- "int_num": "Apto 123",
- "postal_code": "01000",
- "neighborhood": "Buena Vista",
- "municipality": "Venustiano Carranza",
- "state": "Ciudad de México",
- "email": "example@mail.com",
- "al": "CDMX1"
}, - "fiscal_characteristics": {
- "rfc": "ABCD123456EFG",
- "regimes": [
- {
- "regime": "Régimen de Sueldos y Salarios e Ingresos Asimilados a Salarios",
- "start_date": "2023-01-01"
}
]
}, - "qr_found": true,
- "qr_valid": true
}
}Extract information from a CSF image
Endpoint to extract information from a CSF image
Authorizations:
query Parameters
| validate_rfc | boolean (Validate Rfc) Default: false |
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "CSF OCR completed",
- "data": {
- "csf_data": {
- "full_name": "John Doe",
- "rfc": "ABCD123456EFG",
- "id": "1234567890"
}, - "identification_data": {
- "curp": "ABCD123456EFG",
- "name": "John",
- "first_lastname": "Doe",
- "second_lastname": "Smith",
- "birthdate": "2023-01-01",
- "start_date": "2023-01-01",
- "situation": "ACTIVO",
- "situation_last_update": "2023-01-01"
}, - "fiscal_address": {
- "street": "Av. Benito Juárez",
- "ext_num": "1000",
- "int_num": "Apto 123",
- "postal_code": "01000",
- "neighborhood": "Buena Vista",
- "municipality": "Venustiano Carranza",
- "state": "Ciudad de México",
- "email": "example@mail.com",
- "al": "CDMX1"
}, - "fiscal_characteristics": {
- "rfc": "ABCD123456EFG",
- "regimes": [
- {
- "regime": "Régimen de Sueldos y Salarios e Ingresos Asimilados a Salarios",
- "start_date": "2023-01-01"
}
]
}, - "qr_found": true,
- "qr_valid": true,
- "rfc_person_valid": true,
- "rfc_person_status": "Valid"
}
}Extract information from a NSS assignment document
Endpoint to extract information from a NSS assignment document
Authorizations:
query Parameters
| validate_curp | boolean (Validate Curp) Default: false |
| validate_nss | boolean (Validate Nss) Default: false |
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "NSS assignment OCR completed",
- "data": {
- "nss": "12345678901",
- "request_date": "2023-01-01",
- "folio": "1234567890",
- "name": "John Doe",
- "first_lastname": "Doe",
- "second_lastname": "Smith",
- "birthdate": "2023-01-01",
- "curp": "DOEJ850101HDFXXX01",
- "gender": "H",
- "state_of_birth": "Ciudad de México",
- "qr_found": true,
- "qr_valid": true,
- "nss_valid": true,
- "nss_structure_valid": true,
- "nss_response": {
- "success": true,
- "result": {
- "nss": "12345678901",
- "name": "John Doe",
- "first_lastname": "Doe",
- "second_lastname": "Smith",
- "birth_date": "2023-01-01"
}
}, - "curp_structure_valid": true,
- "valid_curp": true,
- "curp_response": {
- "curp": "PERJ900101HDFXXX01",
- "valid": true,
- "name": "JUAN",
- "first_last_name": "PÉREZ",
- "second_last_name": "GARCÍA",
- "birth_date": "1990-01-01",
- "gender": "H",
- "nationality": "MEX",
- "birth_federal_entity": "DF",
- "issuing_entity_key": "",
- "curp_status": "AN",
- "curp_status_description": "Alta Normal",
- "registration_year": "1990",
- "certificate_folio": "",
- "registration_entity_number": "01",
- "municipality_key": "001",
- "foreign_registration_number": "",
- "provatory_document": "Acta de Nacimiento",
- "probatory_document_data": {
- "id": "1",
- "name": "Acta de nacimiento",
- "book": "",
- "act_number": "000000",
- "sheet": "",
- "tome": "",
- "crip": "",
- "letter_folio": ""
}
}
}
}Extract information from a passport document
Extract the information from a passport document and return it in a structured format.
Authorizations:
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "Passport OCR completed",
- "data": {
- "type": "P",
- "number": "123456789",
- "nationality": "MEX",
- "expiration_date": "2023-12-31",
- "issuing_country": "MEX",
- "issuing_date": "2013-12-31",
- "birth_date": "1990-01-01",
- "birth_place": "MEX",
- "name": "Juan",
- "last_name": "Perez Garcia",
- "first_lastname": "Perez",
- "second_lastname": "Garcia",
- "gender": "M",
- "national_id": "123456789",
- "remarks": "Remarks"
}
}Extract information from a FM2 or FM3 document
Extract the information from a FM2 document and return it in a structured format.
Authorizations:
query Parameters
| validate_curp | boolean (Validate Curp) Default: false |
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "FM2 OCR completed",
- "data": {
- "type": "VISITANTE",
- "number": "0000000000001",
- "name": "JOHN DOE",
- "last_name": "DOE",
- "first_lastname": "DOE",
- "second_lastname": "SMITH",
- "country": "USA",
- "birth_date": "2000-01-01",
- "gender": "M",
- "curp": "ABCD900101HXXXXX00",
- "curp_structure_valid": true,
- "curp_valid": true,
- "expedition_date": "2022-01-01",
- "expiration_date": "2023-01-01",
- "curp_response": {
- "curp": "PERJ900101HDFXXX01",
- "valid": true,
- "name": "JUAN",
- "first_last_name": "PÉREZ",
- "second_last_name": "GARCÍA",
- "birth_date": "1990-01-01",
- "gender": "H",
- "nationality": "MEX",
- "birth_federal_entity": "DF",
- "issuing_entity_key": "",
- "curp_status": "AN",
- "curp_status_description": "Alta Normal",
- "registration_year": "1990",
- "certificate_folio": "",
- "registration_entity_number": "01",
- "municipality_key": "001",
- "foreign_registration_number": "",
- "provatory_document": "Acta de Nacimiento",
- "probatory_document_data": {
- "id": "1",
- "name": "Acta de nacimiento",
- "book": "",
- "act_number": "000000",
- "sheet": "",
- "tome": "",
- "crip": "",
- "letter_folio": ""
}
}
}
}Extract information from a carta libranza pdf
Endpoint to extract information from a carta libranza pdf, solo acepta archivos PDF.
- file: Carta libranza PDF file to be processed
- password: Password to unlock the PDF file (if needed)
- validate_curp: Validate the extracted CURP against the government database (default: False)
- pages: Number of pages to process (default: 1, max: 5)
- rem_apikey: API key to access the endpoint (passed in the header)
Authorizations:
query Parameters
| validate_curp | boolean (Validate Curp) Default: false |
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) | |
Pages (integer) or Pages (null) (Pages) Default: 1 |
Responses
Response samples
- 200
- 422
- 500
{- "message": "Carta Libranza OCR completed successfully",
- "data": {
- "business_email": "test@mail.com",
- "business_name": "TEST COMPANY",
- "business_folio": "ABCD123456EFG",
- "business_phone": "5555555555",
- "curp": "XXXX900101XXXXXX00",
- "curp_structure_valid": true,
- "date": "2023-01-01",
- "email": "user@mail.com",
- "first_name": "John",
- "first_lastname": "Doe",
- "second_lastname": "Smith",
- "loan_amount": "$ 1,000.00",
- "loan_amount_to_receive": "$ 1,000.00",
- "loan_cat_with_iva": "0.00 %",
- "loan_first_deduction_date": "2023-01-01",
- "loan_folio_validity_date": "2023-01-01",
- "loan_monthly_deduction": "$ 1,000.00",
- "loan_term": "12 months",
- "loan_total_amount_due": "$ 1,000.00",
- "loans_to_liquidate": [
- {
- "cat_with_iva": "0.00 %",
- "loan_amount": "$ 1,000.00",
- "monthly_deduction": "$ 1,000.00",
- "deductions_term": "12 months",
- "capital_balance": "$ 1,000.00",
- "total_amount_due": "$ 1,000.00",
- "entity_clabe": "123456789012345678",
- "fine_entity": "TEST COMPANY"
}
], - "mobile_number": "5555555555",
- "nss": "12345678901",
- "ooad": "CDMX",
- "promotor": "John Doe"
}
}Extract information from a credit report in PDF format
Authorizations:
Request Body schema: multipart/form-data
Password (string) or Password (null) (Password) | |
| file required | string <binary> (File) |
Responses
Response samples
- 200
- 422
- 500
{- "status": "success",
- "message": "Credit report extracted successfully",
- "data": {
- "type": "PF_CDC",
- "name": "John Doe",
- "rfc": "ABCD123456EFG",
- "curp": "ABCD123456EFGHJKL01",
- "birthdate": "2022-01-01",
- "fiscal_address": {
- "street": "Calle 123",
- "number": "123",
- "neighborhood": "Colonia 123",
- "zip_code": "12345",
- "city": "Ciudad 123",
- "state": "Estado 123",
- "country": "País 123"
}, - "credit_score": 700,
- "shareholders": [
- {
- "name": "John Doe",
- "rfc": "ABCD123456EFG",
- "address": "Calle 123",
- "participation": "50%"
}
], - "guarantors": [
- {
- "name": "John Doe",
- "rfc": "ABCD123456EFG",
- "address": "Calle 123",
- "amount": 1000
}
], - "credits": [
- {
- "institution": "Bank",
- "current_balance": 1000,
- "overdue_balance": 100,
- "status": "CORRIENTE",
- "payment_amount": 100,
- "start_date": "2022-01-01",
- "end_date": "2022-12-31",
- "last_update": "2022-01-01",
- "last_payment_date": "2022-01-01",
- "credit_limit_amount": 1000,
- "max_credit_amount": 1000,
- "type": "COMERCIAL"
}
], - "previous_consultations": [
- {
- "institution": "Bank",
- "date": "2022-01-01",
- "phone": "1234567890",
- "address": "Calle 123, Ciudad 123, Estado 123, País 123"
}
]
}
}Credit Report Async
Async version of credit report endpoint. Use this when processing might take > 60 seconds. Results will be sent to the callback_url via webhook.
Authorizations:
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
| callback_url required | string (Callback Url) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
{- "message": "Success",
- "data": {
- "task_id": "string",
- "status": "string",
- "message": "string"
}, - "error": "string",
- "error_type": "INVALID_REQUEST"
}Extract information from a INE front document
Extract the information from a INE front document and return it in a structured format.
Authorizations:
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "INE OCR completed",
- "data": {
- "name": "JUAN",
- "first_lastname": "PEREZ",
- "second_lastname": "GARCIA",
- "birthdate": "1990-01-01",
- "gender": "H",
- "elector_key": "123456789012345678",
- "curp": "ABCD123456EFG",
- "expiration_date": "2030-01-01",
- "street": "DON CELES",
- "neighborhood": "CENTRO",
- "zip_code": "12345",
- "city": "CUAUHTEMOC",
- "province": "CDMX",
- "emission_number": "01",
- "type": "INE",
- "ine_type": "EFGH",
- "section_id": "0456",
- "register_year": "2023",
- "emission_year": "2023",
- "is_foreign": false
}
}Extract information from INE reverse side document
Extract the information from a INE reverse side document.
Authorizations:
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "Ine reverse side extracted",
- "data": {
- "ocr_number": "123456789012345678",
- "lines": [
- "123456789012345678",
- "123456789012345678",
- "123456789012345678"
], - "cic": "123456789012345678",
- "cic_digit_check": "2",
- "is_cic_digit_check_consistent": true,
- "section_and_consecutive": "123456789012345678",
- "date": "20230101",
- "date_check_digit": "2",
- "gender": "H",
- "expiration_date": "20230101",
- "expiration_date_digit_check": "2",
- "nationality": "MEX",
- "emission_and_fuare": "123456789012345678",
- "name": "JUAN",
- "lastname": "PEREZ GARCIA"
}
}Constitutive Act
Authorizations:
Request Body schema: application/x-www-form-urlencoded
Password (string) or Password (null) (Password) | |
File (string) or File (null) (File) | |
Tmp File Id (string) or Tmp File Id (null) (Tmp File Id) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "Constitutive act information extracted",
- "data": {
- "company": {
- "business_name": "Tech Solutions Ltda",
- "rfc": "ABC123456789",
- "society_type": "S.A.",
- "social_object": "Software development",
- "address": {
- "ext_num": "456",
- "int_num": "A",
- "street": "Tech Street",
- "city": "Silicon Valley",
- "state": "CA",
- "country": "USA",
- "zip_code": "94043",
- "full_address": "456 Tech Street, A, Silicon Valley, CA, USA, 94043"
}, - "duration": "Indefinite"
}, - "shareholders": [
- {
- "name": "John Doe",
- "nationality": "American",
- "rfc": "ABC123456789",
- "share_percentage": 50,
- "shares": 1000,
- "share_type": "ORDINARY",
- "share_description": "Common shares",
- "share_value": 100
}, - {
- "name": "Jane Smith",
- "nationality": "British",
- "rfc": "XYZ987654321",
- "share_percentage": 50,
- "shares": 1000,
- "share_type": "ORDINARY",
- "share_description": "Common shares",
- "share_value": 100
}
], - "capital": {
- "authorized": 1000000,
- "subscribed": 800000,
- "paid": 600000,
- "fixed_minimum": 100000,
- "shares_total": 100,
- "shares_value": 1000,
- "series": [
- {
- "code": "A",
- "description": "Capital fijo"
}, - {
- "code": "B",
- "description": "Capital variable"
}
]
}, - "administratives": {
- "type": "CORPORATION",
- "name": "Alice Smith",
- "powers": [
- {
- "category": "GENERAL_ADMINISTRACION",
- "description": "Poderes para la gestión y administración general de la sociedad."
}, - {
- "category": "GENERAL_PLEITOS_COBRANZAS",
- "description": "Poderes para representar a la sociedad en litigios y cobranzas."
}
]
}, - "legal_representatives": {
- "name": "Carlos Pérez",
- "rfc": "CAR123456789",
- "powers": [
- {
- "category": "GENERAL_ADMINISTRACION",
- "description": "Poderes para la gestión y administración general de la sociedad."
}
]
}, - "vigilance": {
- "type": "COMMISSIONER",
- "rfc": "DGO123456789",
- "commissioner": "David Gómez",
- "powers": [
- {
- "category": "GENERAL_ADMINISTRACION",
- "description": "Poderes para la gestión y administración general de la sociedad."
}
]
}, - "governance": {
- "type": "ASSEMBLY PRESIDENT",
- "name": "Alice Smith",
- "rfc": "ALS123456789",
- "powers": [
- {
- "category": "GENERAL_ADMINISTRACION",
- "description": "Poderes para la gestión y administración general de la sociedad."
}
]
}, - "registration": {
- "notary": "Public Notary John Smith",
- "date": "2023-01-15",
- "instrument_number": "12345",
- "mercantile_registry": "ABC123456",
- "folio": "FOL123456",
- "registry_date": "2023-01-20"
}
}
}Constitutive Act Async
Async version of constitutive act endpoint. Use this when processing might take > 60 seconds. Results will be sent to the callback_url via webhook.
Authorizations:
Request Body schema: application/x-www-form-urlencoded
| callback_url required | string (Callback Url) |
Password (string) or Password (null) (Password) | |
File (string) or File (null) (File) | |
Tmp File Id (string) or Tmp File Id (null) (Tmp File Id) |
Responses
Response samples
- 200
- 422
{- "message": "Success",
- "data": {
- "task_id": "string",
- "status": "string",
- "message": "string"
}, - "error": "string",
- "error_type": "INVALID_REQUEST"
}Extract information from an official ID front document
Extract the information from an official ID front document and return it in a structured format.
Authorizations:
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "ID OCR completed",
- "data": {
- "name": "JUAN",
- "first_lastname": "PEREZ",
- "second_lastname": "GARCIA",
- "birthdate": "1990-01-01",
- "gender": "H",
- "expiration_date": "2030-01-01",
- "national_id": "ABCD123456EFG",
- "street": "DON CELES",
- "neighborhood": "CENTRO",
- "zip_code": "12345",
- "city": "CUAUHTEMOC",
- "province": "CDMX",
- "country": "MEX",
- "emission_year": "2023",
- "document_type": "NATIONAL_ID"
}
}Extract information from an official ID front document
Extract the information from an official ID front document and return it in a structured format.
Authorizations:
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "ID back OCR completed",
- "data": {
- "serial_number": "123456789012345678",
- "lines": [
- "ID12F5G1H3DF2<<<GH1DF",
- "513521351DFG<<FBDF",
- "JUAN<<PEREZ<<<<<<<<<<<"
], - "expiration_date": "2029-01-01",
- "country": "MEX",
- "extra_data": {
- "key": "value"
}, - "document_type": "NATIONAL_ID"
}
}Extract payroll information from an image or PDF file.
Endpoint to extract information from a payroll image
Authorizations:
query Parameters
| validate_rfc | boolean (Validate Rfc) Default: false |
| validate_curp | boolean (Validate Curp) Default: false |
| validate_cfdi | boolean (Validate Cfdi) Default: false |
Request Body schema: multipart/form-data
| file required | string <binary> (File) |
Password (string) or Password (null) (Password) |
Responses
Response samples
- 200
- 422
- 500
{- "message": "Payroll information extracted",
- "data": {
- "documentMetadata": {
- "documentType": "PAYROLL_SLIP",
- "sourceOrganization": "Empresa Ejemplo S.A. de C.V.",
- "uuid": "123e4567-e89b-12d3-a456-426614174000"
}, - "employer": {
- "name": "Empresa Ejemplo S.A. de C.V.",
- "rfc": "GODE561231GR8",
- "address": "Calle Principal 123, Ciudad de México"
}, - "employee": {
- "name": "Juan Pérez López",
- "rfc": "PELJ800101HDFRRN09",
- "curp": "PELJ800101HDFRRN09",
- "employeeId": "EMP12345",
- "socialSecurityNumber": "9988776655",
- "department": "Ventas",
- "jobTitle": "Representante de Ventas"
}, - "period": {
- "payFrequency": "Quincenal",
- "periodStartDate": "2023-08-01",
- "periodEndDate": "2023-08-15",
- "paymentDate": "2023-08-16",
- "daysPaid": 15,
- "daysWorked": 15
}, - "earnings": [
- {
- "code": "001",
- "description": "Sueldo",
- "amount": 7500
}, - {
- "code": "002",
- "description": "Horas Extras",
- "amount": 500
}
], - "deductions": [
- {
- "code": "001",
- "description": "ISR",
- "amount": 1200
}, - {
- "code": "002",
- "description": "IMSS",
- "amount": 400
}
], - "totals": {
- "gross": 8000,
- "deductions": 1600,
- "net": 6400
}, - "rfc_person_structure_valid": true,
- "rfc_person_valid": true,
- "rfc_person_status": "Valid",
- "curp_valid": true,
- "curp_structure_valid": true,
- "curp_response": {
- "curp": "PERJ900101HDFXXX01",
- "valid": true,
- "name": "JUAN",
- "first_last_name": "PÉREZ",
- "second_last_name": "GARCÍA",
- "birth_date": "1990-01-01",
- "gender": "H",
- "nationality": "MEX",
- "birth_federal_entity": "DF",
- "issuing_entity_key": "",
- "curp_status": "AN",
- "curp_status_description": "Alta Normal",
- "registration_year": "1990",
- "certificate_folio": "",
- "registration_entity_number": "01",
- "municipality_key": "001",
- "foreign_registration_number": "",
- "provatory_document": "Acta de Nacimiento",
- "probatory_document_data": {
- "id": "1",
- "name": "Acta de nacimiento",
- "book": "",
- "act_number": "000000",
- "sheet": "",
- "tome": "",
- "crip": "",
- "letter_folio": ""
}
}, - "cfdi_valid": true,
- "cfdi_response": {
- "rfc_issuer": "ABCD910101XXX",
- "name_issuer": "EMPRESA EJEMPLO S.A. DE C.V.",
- "rfc_recipient": "PELJ800101AB7",
- "name_recipient": "JUAN PÉREZ LÓPEZ",
- "fiscal_invoice": "123e4567-e89b-12d3-a456-426614174000",
- "expedition_date": "2020-01-01T12:00:00",
- "certification_date": "2020-01-01T12:05:00",
- "pac": "ABC987654321",
- "amount": 10000,
- "voucher_effect": "Nómina",
- "cfdi_state": "Vigente",
- "cancelation_status": "Cancelable sin aceptación"
}, - "cfdi_checks": {
- "match_employee_rfc": true,
- "match_employer_rfc": true,
- "match_total_amount": true
}
}
}


