Distru icon

Distru

Interact with the Distru Public API v1

Actions35

Invoices → Get Many

AI-generated

Overview

This node interacts with the Distru Public API to retrieve multiple invoices based on specified filters and pagination options. It is useful for scenarios where users need to fetch a list of invoices with various filtering criteria such as date ranges, invoice number, order IDs, and payment status. For example, a user can retrieve all invoices created within a certain date range or all invoices with a specific status like 'Fully Paid'.

Use Case Examples

  1. Fetch all invoices created between January 1, 2024, and June 1, 2024.
  2. Retrieve invoices with the status 'Not Paid' and paginate results with 100 invoices per page.

Properties

Name Meaning
Additional Fields Collection of optional filters and pagination settings for retrieving invoices.

Output

JSON

  • json - Each item contains invoice data returned from the Distru API, representing individual invoices matching the filter criteria.

Dependencies

  • Requires an API token credential for the Distru API.

Troubleshooting

  • Ensure the API token credential is set correctly; otherwise, the node will throw an error indicating the token is missing.
  • If the 'Resource ID' parameter is required for certain operations but not provided, the node will throw an error.
  • When using filters, ensure date ranges are correctly formatted as comma-separated ISO 8601 datetime strings.
  • If binary data is expected (not applicable for this operation), ensure the binary property name is correctly set and data is present.

Discussion