Inicio  |  Emisión  |  Web Services  |  Web Service CFDI 3.3  |  descargarPDF
La LCO fue actualizada por última vez el 24/nov/2024

Method: descargarPDF

(download as PDF)

The Webservice CFDI33 descargarPDF returns the specified Invoice in a PDF format.

  1. A field is required if thus stated in column "Required":
    • Yes: this field is required.
    • No: this field is not mandatory.
    • Conditional: this field may be required or not, depending on other fields.
  2. Search criteria is either by:
    • Commercial folio and serie or,
    • Fiscal folio (UUID).

Fields

Name Description Required
usuario

xs:string

Registered username.

Yes
password

xs:string

User's password.

Yes
diseno

xs:long

design's code for the PDF format.

Yes
folio

xs:long

Invoice's commercial folio.

Condicional
serie

xs:string

Invoice serie. Ex: P

Condicional
uuid

xs:string

Invoice's fiscal folio.

Condicional

Request example

Response

The method returns a compound type: descargarPDF, whose fields are described in the following table.

descargarPDF's fields
Name Description Required
status

xs:int

Creation-status code, for more detail check the table Operation's status codes.

Yes
mensaje

xs:string

Detailed message of the operation's success/error.

Yes
nombre

Document's name.

Yes
pdf

xs:base64Binary

PDF file in base64 encoding.

Yes

Response example

Operation's status codes

More detailed descriptions may appear in mensaje field

200 — Process successful.
500 — The process could not be finished due to errors. Please retry.
501 — Failed attempting to connect to Database. Please retry.
502 — Failed attempting to store or retrieve data from Database.
503 — The maximum number of concurrent Database access attempts has been reached.
601 — Authentication error, please verify your credentials.
602 — This account is blocked.
603 — The account's password has expired.
604 — The maximum number of retry attempts due to failed authentication has been reached. The account will be blocked.
610 — The requested action is not supported in you implementation because either the implementation is not yet configured for such an action or is not possible its accomplishment. For the importar method this means your implementation has no connector configured yet.
611 — One or several required fields are missing in the request.
612 — Malformed file. The file format is different to the one expected.
613 — The numeric sequence has reached the end.
620 — You do not have permission to do this action.
621 — Invalid field.
622 — Unsupported action.
623 — Data not found.
624 — Uniqueness restriction violation.
625 — This action cannot be completed because it requires a previous action to complete.
626 — Implementation's configuration error.
630 — Your implementation's contract has expired.
631 — Your contract's payment date has passed.
632 — The maximum number of usage attempts for this implementation has been reached.
633 — This implementation is inactive.
Datos de contacto
comments powered by Disqus