Actions46
- Calendar Actions
- ClientProfile Actions
- Company Actions
- Invoice Actions
- Project Actions
- Role Actions
- Status Actions
- Task Actions
- Time Entry Actions
- Trigger Actions
- User Actions
Overview
The node integrates with the Scoro API to perform various operations on different resources. Specifically, for the Invoice - Get operation, it retrieves detailed information about a single invoice from Scoro. This is useful in scenarios where you need to fetch invoice data for reporting, auditing, or further processing within an automated workflow.
For example, you might use this node to:
- Retrieve an invoice by its ID to display or process payment status.
- Fetch invoice details dynamically based on user input or another system's output.
Properties
| Name | Meaning |
|---|---|
| Invoice | Select the invoice to retrieve. You can either pick from a searchable list of invoices or specify the invoice ID directly. |
The "Invoice" property supports two modes:
- From List: Search and select an invoice from a list fetched via the API.
- By ID: Provide the exact invoice ID as a string.
Output
The node outputs JSON data representing the invoice details retrieved from the Scoro API. The structure typically includes fields such as invoice number, date, client information, line items, totals, status, and other metadata related to the invoice.
If the node supports binary data output (not indicated here), it would represent attachments or documents related to the invoice, but this is not evident from the provided code.
Dependencies
- Requires connection to the Scoro API using valid credentials including:
- Base URL of the Scoro instance.
- Company account identifier.
- API key for authentication.
- These credentials must be configured in n8n prior to using the node.
Troubleshooting
- Unsupported Operation Error: If you select an operation-resource combination not implemented, the node throws an error indicating the operation is unsupported.
- Authentication Failures: Ensure that the API key and company account ID are correct and have sufficient permissions.
- Empty or Invalid Invoice ID: When specifying an invoice ID manually, ensure it is valid; otherwise, the API may return errors or empty results.
- Network Issues: Verify connectivity to the Scoro API base URL.
Links and References
- Scoro API Documentation (for detailed API endpoints and data structures)
- n8n Documentation on Creating Custom Nodes