Skip to content

Biller Descargar PDF/XML

Downloads the PDF or XML file of an Electronic Fiscal Receipt (CFE) issued in Biller. Useful for attaching the document in emails, storing it in a datastore, or sending it to another system.

FieldTypeRequiredDescription
credentials_idcredentialsYesBiller credential
cfe_idtextYesNumeric CFE ID (returned by billerEmitir)
formatselectNopdf (default) or xml
{
"success": true,
"cfe_id": 12345,
"format": "pdf",
"content": "<base64>",
"content_type": "application/pdf",
"filename": "cfe_12345.pdf",
"raw": { ... }
}
{
"credentials_id": "cred-biller-prod",
"cfe_id": "12345",
"format": "pdf"
}

To download the XML:

{
"credentials_id": "cred-biller-prod",
"cfe_id": "12345",
"format": "xml"
}
  • cfe_id is the ID returned by the Biller Emitir CFE node when the document is created
  • The PDF contains the visual representation of the CFE to send to the client
  • The XML is the digitally signed fiscal document, legally valid with the DGI