Fiskaly Get Export
Description
Section titled “Description”This module complements the fiskalyExportInvoices node. It has two modes of operation:
- Check status: If
downloadis false, checks the current export status (PENDING, PROCESSING, COMPLETED, ERROR). - Download file: If
downloadis 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).
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Fiskaly credential |
| taxpayer_id | text | Yes | UUID of the taxpayer |
| export_id | text | Yes | Export ID (obtained from the Export Invoices node) |
| download | boolean | No | If true, downloads the file. If false, only checks the status (default: false) |
Credentials
Section titled “Credentials”Requires Fiskaly type credentials with:
- api_key: Fiskaly API Key
- api_secret: Fiskaly API Secret
Output
Section titled “Output”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" }}Usage Example
Section titled “Usage Example”Basic case - Check status
Section titled “Basic case - Check status”{ "credentials_id": "mi-fiskaly", "taxpayer_id": "uuid-contribuyente", "export_id": "export-uuid-obtenido", "download": false}API Used
Section titled “API Used”- 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
downloadfield accepts both boolean and string “true”/“false”
Related Nodes
Section titled “Related Nodes”- FiskalyExportInvoices - Export invoices
- FiskalyGetInvoices - Get invoices