Actions35
- Adjustments Actions
- Assemblies Actions
- Batches Actions
- Companies Actions
- Contacts Actions
- Custom Fields Actions
- File Attachments Actions
- Inventory Actions
- Invoices Actions
- Locations Actions
- Orders Actions
- Packages Actions
- Payment Methods Actions
- Product POS Mappings Actions
- Products Actions
- Purchases Actions
- Strains Actions
- Test Results Actions
- Users Actions
Invoices → Get by ID
AI-generatedOverview
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
- Retrieve an invoice by its unique ID to verify payment status.
- 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.