Index  |  Stamped  |  2.2. Web Services  |  2.2.2. Web Service Utilities  |  Utilerias.generarPDF
La LCO fue actualizada por última vez el 30/jun./2026

Utilerias.generarPDF

Receive the UUID (Tax Folio) of an e-document stamped by Solución Factible® to generate the printed representation of it in PDF format.

Parameters:

Name Description Required
usuario Username registered for use of the Webservice. Yes
password User password. Yes
uuid Tax ID number of the receipt stamped by Solución Factible that you wish to send. Yes
camposPersonalizados List of custom fields to include in the printed representation of the CampoPersonalizado type. Each custom field is made up of several elements that are described in the“Atributos CampoPersonalizado" table. No
usarDisenoPersonalizado Boolean value indicating whether a custom PDF layout should be used. Yes

CampoPersonalizado

Name Description Required
nombre The custom field name must not contain spaces or special characters. This attribute will be used to identify the field in custom layouts. If the name contains invalid characters, it may not be displayed in custom layouts. Custom fields are sorted alphabetically according to this field. Yes
etiqueta Label of the field to be displayed in the default printed representation; in custom designs the field label can be specified independently of this field. Yes
valor Custom field value. Yes

Example request:

Download this example

Return:

This method returns a composite type: ResponsePDF, the attributes are described in the following table.

Atributos de ResponsePDF
Name Description Required
status Status del CFDI, para detalles de los códigos de status de certificación consulte Response codes Yes
mensaje Mensaje detallado de la operación realizada o descripción del error. Yes
pdf La representación impresa del CFDI en formato PDF. Conditional

Example response

Download this example

Response Codes

200 — The transaction has been completed successfully.
500 — Errors have occurred that have prevented the process from being completed.
501 — A database connection error has occurred.
502 — It has failed to retrieve or store information in the database.
503 — The limit of concurrent access licenses to the database has been reached.
601 — Authentication error, the username or password is incorrect.
602 — The user account is locked.
603 — Your account password has expired.
604 — The maximum allowed number of failed authentication attempts has been exceeded.
605 — The user is currently inactive.
611 — The data received is incomplete or not located where it would be expected..
612 — The XML file or one of its attributes is malformed.
624 — Violation of uniqueness restriction.
630 — The implementation stamps have run out.
631 — The issuer's stamps have run out.
632 — The fair use limit allowed per transaction has been reached.
633 — Misuse of a production account in testing or a test account in production.
Datos de contacto
comments powered by Disqus