Actions82
- Client Actions
- Invoice Actions
- Payment Actions
- Receipt Actions
- Service Actions
- Team Actions
- User Actions
- Webhook Actions
- Descarga Masiva (SAT) Actions
Invoice → Get Files
AI-generatedOverview
This node operation retrieves files associated with a specific invoice from the Gigstack API. It supports fetching PDF files, XML files, or both types of files for a given invoice ID. This is useful for scenarios where users need to access or download invoice documents for record-keeping, auditing, or further processing.
Use Case Examples
- Retrieve both PDF and XML files for an invoice to store them in a document management system.
- Fetch only the PDF version of an invoice to send it via email to a client.
- Get the XML file of an invoice for integration with accounting software.
Properties
| Name | Meaning |
|---|---|
| Invoice ID | The unique identifier of the invoice for which files are to be retrieved. |
| File Type | Specifies the type of files to retrieve: both PDF and XML, PDF only, or XML only. |
| Team ID | Optional team identifier for multi-team access in Gigstack Connect. If left empty, the default team is used. |
Output
JSON
json- The retrieved invoice files data, which may include URLs or file content for the requested file types.
Dependencies
- Gigstack API key credential for authentication
Troubleshooting
- Ensure the provided Invoice ID is correct and exists in the Gigstack system to avoid 'not found' errors.
- Verify that the API key credential has sufficient permissions to access invoice files.
- If requesting a specific file type, confirm that the invoice has that file type available.
- Network or API downtime may cause request failures; retry or check API status if errors occur.
Links
- Gigstack API - Get Invoice Files - Official API documentation for retrieving invoice files from Gigstack.