Distru icon

Distru

Interact with the Distru Public API v1

Actions35

Invoices → Get by ID

AI-generated

Overview

This node interacts with the Distru Public API v1 to retrieve detailed information about a specific invoice by its ID. It is useful in scenarios where you need to fetch invoice data for processing, reporting, or integration with other systems. For example, you can use this node to get invoice details to automate accounting workflows or to display invoice information in a custom dashboard.

Use Case Examples

  1. Retrieve an invoice by its unique ID to verify payment status.
  2. Fetch invoice details to integrate with an external ERP system.

Properties

Name Meaning
Resource ID The unique identifier of the invoice to retrieve. This is a required field for the 'Get by ID' operation.

Output

JSON

  • json - The JSON object containing the invoice data retrieved from the Distru API.

Dependencies

  • Requires an API token credential for the Distru API to authenticate requests.

Troubleshooting

  • If the Resource ID is not provided or is invalid, the node will throw an error indicating that the Resource ID is required.
  • If the API token is missing or invalid, the node will throw an authentication error. Ensure the API token is correctly set in the node credentials.
  • Network or API errors will cause the node to fail unless 'Continue On Fail' is enabled, in which case error details will be returned in the output.

Discussion