La LCO fue actualizada por última vez el 30/oct./2025
DLL Reception API
To use these methods in your project, simply add the reception DLL library.
Descargar dll_recepcion.zip
to learn how to add please follow this link: DLL's Documentation.
| ProgID | SF.Recepcion |
Summary of methods
String |
recibeCFD(String user, String pass, String rutaAlComprobante, int produccion) Receives and validates a CFD and if it passes all validations, stores it. |
String |
recibeCFDCustom(String user, String pass, String rutaAlComprobante, String nombreArchivo, String nombreBuzon, String camposPersonalizados, int produccion ) Receives and validates a CFD, and if it passes all validations, stores it in the specified mailbox. Returns a list of custom fields based on the Delivery Manager configured in the implementation. |
String |
recibeCFDEnBuzon(String user, String pass, String rutaAlComprobante, String nombreArchivo, String nombreBuzon, String camposPersonalizados, int produccion ) Receives and validates a CFD and if it passes all validations, stores it in the specified mailbox. |
Complementary methods:
String |
recibeCFDWriteResponse
(String user, String pass, String rutaAlComprobante, String nombreArchivo, String rutaAlWrite, String pathToWrite, int produccion )
This method works the same way as recibeCFD cwith the addition that it writes the response to the path specified in the pathToWrite parameter |
String |
recibeCFDCustomWriteResponse
(String user, String pass, String rutaAlComprobante, String nombreArchivo, String nombreBuzon, String camposPersonalizados, String pathToWrite, int produccion)
This method works the same way as recibeCFDCustom with the addition that it writes the response to the path specified in the pathToWrite parameter. |
String |
recibeCFDEnBuzonWriteResponse
(String user, String pass, String rutaAlComprobante, String nombreArchivo, String nombreBuzon, String camposPersonalizados, String pathToWrite, int produccion )
This method works the same way as recibeCFDEnBuzon with the addition that it writes the response to the path specified in the pathToWrite parameter. |
Detailed description of the methods
recibeCFD
String recibeCFD(String usuario,
String pass,
String rutaAlComprobante,
int produccion)
- It receives a CFD or CFDI, validates it, and if it passes all the validations configured in the implementation, it is stored and an acknowledgment is returned.
- Parameters:
String user- The username (usually an email) used to authenticate and connect to your deployment.String pass- The user password.String rutaAlComprobante- Route of the CFDI receipt to be sent.int produccion- Only the following values are accepted: 1 and 0. Indicates the server to which the request will be made; 0=TESTING 1=PRODUCTION- Return:
- A String containing the response in XML format.
- Example answer
recibeCFDCustom
String recibeCFDCustom(String user,
String pass,
String rutaAlComprobante,
String nombreArchivo,
String nombreBuzon,
String camposPersonalizados,
int produccion)
- Receives a CFD or CFDI, validates it, and if it passes all the validations configured in the implementation, it is stored in the specified mailbox (if it exists) and returns an acknowledgment, along with a possible list of Custom Fields according to the implementation's Delivery Manager.
- Parameters:
String user- The username (usually an email) used to authenticate and connect to your deployment.String pass- The user password.String rutaAlComprobante- Route of the CFDI receipt to be sent.String nombreArchivo- Name of the file received, for tracking purposes only.String nombreBuzon- Name of the mailbox where you wish to deposit the receipt.int produccion- Only the following values are accepted: 1 and 0. Indicates the server to which the request will be made;
0=TESTING
1=PRODUCTION- Return:
- A String containing the response in XML format.
- Example answer
The syntax for custom fields is defined below:
Sintaxis "NombreCampo,Valor;NombreCampo2,Valor:SubValor;NombreCampo3,Valor;"
NombreCampo: Name of the custom field registered in the implementation.
Valor: Value to assign to the custom field
Sintaxis "NombreCampo,Valor;NombreCampo2,Valor:SubValor;NombreCampo3,Valor;"
NombreCampo: Name of the custom field registered in the implementation.
Valor: Value to assign to the custom field
recibeCFDEnBuzon
String recibeCFDEnBuzon(String user,
String pass,
String rutaAlComprobante,
String nombreArchivo,
String nombreBuzon,
String camposPersonalizados,
int produccion)
- Receives a CFD or CFDI, validates it, and if it passes all the validations configured in the implementation, it is stored in the specified mailbox (if it exists) and returns an acknowledgment.
- Parameters:
String user- The username (usually an email) used to authenticate and connect to your deployment.String pass- The user password.String rutaAlComprobante- Route of the CFDI receipt to be sent.String nombreArchivo- Name of the file received, for tracking purposes only.String nombreBuzon- Name of the mailbox where you wish to deposit the receipt.String camposPersonalizados- List of implementation-specific custom fields.
The syntax for custom fields is defined below:
Sintaxis "NombreCampo,Valor;NombreCampo2,Valor:SubValor;NombreCampo3,Valor;"
NombreCampo: NName of the custom field registered in the implementation.
Valor: Value to assign to the custom field.int produccion- Only the following values are accepted: 1 and 0. Indicates the server to which the request will be made; 0=TESTING 1=PRODUCTION- Return:
- A String containing the response in XML format.
- Example answer