Skip to content

Fiskaly Get Export

This module complements the fiskalyExportInvoices node. It has two modes of operation:

  1. Check status: If download is false, checks the current export status (PENDING, PROCESSING, COMPLETED, ERROR).
  2. Download file: If download is true, downloads the file from the completed export.

It is used after having started an export with fiskalyExportInvoices and having obtained an export_id.

The module is of type hidden (hidden in the main interface).

ParameterTypeRequiredDescription
credentials_idcredentialsYesFiskaly credential
taxpayer_idtextYesUUID of the taxpayer
export_idtextYesExport ID (obtained from the Export Invoices node)
downloadbooleanNoIf true, downloads the file. If false, only checks the status (default: false)

Requires Fiskaly type credentials with:

  • api_key: Fiskaly API Key
  • api_secret: Fiskaly API Secret

Status check:

{
"nextModule": "siguiente_modulo",
"data": {
"success": true,
"export": { "...datos de la exportacion..." },
"export_id": "export-uuid-123",
"status": "COMPLETED",
"message": "Estado de exportacion: COMPLETED"
}
}

File download:

{
"nextModule": "siguiente_modulo",
"data": {
"success": true,
"export_id": "export-uuid-123",
"file": "...contenido del archivo...",
"message": "Archivo de exportacion descargado exitosamente"
}
}
{
"credentials_id": "mi-fiskaly",
"taxpayer_id": "uuid-contribuyente",
"export_id": "export-uuid-obtenido",
"download": false
}
  • Fiskaly SIGN ES API - GET /taxpayers/{taxpayer_id}/exports/{export_id} (status)
  • Fiskaly SIGN ES API - GET /taxpayers/{taxpayer_id}/exports/{export_id}/download (download)
  • First check the status to verify the export is COMPLETED before downloading
  • The download field accepts both boolean and string “true”/“false”