Actions50
- Status Actions
- Task Actions
- Calendar Actions
- ClientProfile Actions
- Comment Actions
- Company Actions
- Invoice Actions
- Project Actions
- Role Actions
- Time Entry Actions
- Trigger Actions
- User Actions
Overview
This 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 automation 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.
- Integrate invoice data into financial dashboards or accounting systems.
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 relevant metadata.
If the node supports binary data output (not indicated here), it would typically represent attachments or PDF versions of the invoice, but this is not evident from the provided code.
Dependencies
- Requires an active connection to the Scoro API.
- Needs 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. Ensure you select valid combinations.
- Authentication Failures: Incorrect or missing API credentials will cause request failures. Verify that the API key, company account ID, and base URL are correctly set.
- Invoice Not Found: Providing an invalid invoice ID or selecting an invoice that does not exist will result in empty or error responses. Double-check the invoice identifier.
- API Rate Limits or Connectivity Issues: Network problems or API rate limits may cause timeouts or errors. Check network connectivity and API usage quotas.