avanta icon

avanta

Consume avanta API

Actions57

Servicecenter - Invoice → Get Many

AI-generated

Overview

This node interacts with the Avanta API to retrieve multiple invoices from the Servicecenter - Invoice resource. It supports fetching all invoices or a limited number, optionally including detailed positions within each invoice. Users can apply JSON-based filters to refine the search results. The node is useful for scenarios where bulk invoice data retrieval is needed, such as financial reporting, auditing, or integration with other systems.

Use Case Examples

  1. Retrieve all invoices with detailed line items for accounting reconciliation.
  2. Fetch a limited number of invoices filtered by specific criteria for analysis.
  3. Enable debug mode to troubleshoot API request issues when fetching invoices.

Properties

Name Meaning
Request Options Options to control API request behavior, including debug mode, SSL certificate validation, and request timeout.
With Positions Whether to include detailed positions (line items) in the invoice response.
Return All Whether to return all matching invoices or limit the number of results.
Limit Maximum number of invoices to return if not returning all.
Filter Type of filter to apply to the invoice search; currently supports none or JSON-based filters.
Filters (JSON) JSON string representing the filter criteria to apply when retrieving invoices.

Output

JSON

  • invoices - Array of invoice objects retrieved from the API, optionally including positions if requested.
  • debugInfo - Details of the API request (method, URL, body) included when debug mode is enabled.

Dependencies

  • Avanta API with appropriate API key credentials

Troubleshooting

  • If the node returns SSL errors, enable 'Ignore SSL Issues' to bypass certificate validation (not recommended for production).
  • Timeout errors can be resolved by increasing the 'Timeout' value in request options.
  • Invalid JSON filter strings will cause errors; ensure the filter JSON is correctly formatted.
  • If no invoices are returned, verify filter criteria and API permissions.

Links

Discussion