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

Method: descargarXML

(download XML)

The Webservice CFDI descargarXML returns an invoice's data as an XML file encoded in base 64.

  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).

Method fields

Name Description Required
usuario

xs:string

Registered username.

Yes
password

xs:string

User's password.

Yes
folio

xs:long

Invoice's commercial folio.

Conditional
serie

xs:string

Invoice's serie.

Conditional
uuid

xs:string

Invoice's fiscal folio.

Conditional

Request example

Returns

The method returns a compound type: descargarXML, fields are described in the table below:

descargarXML fields
Name Description Required
status

xs:int

Operation's status code. See the list Operation's status codes for a detailed description.

Yes
mensaje

xs:string

Response message, provides additional information regarding the operation's status.

Yes
XML

xs:base64Binary

XML file, encoded in base 64.

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