Gigstack icon

Gigstack

Interact with Gigstack API for Mexican tax-compliant invoicing and payments

Invoice → Get Files

AI-generated

Overview

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

  1. Retrieve both PDF and XML files for an invoice to store them in a document management system.
  2. Fetch only the PDF version of an invoice to send it via email to a client.
  3. 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

Discussion