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
This node integrates with the Scoro API, allowing users to perform various operations on different Scoro resources. Specifically, for the Invoice - Create operation, it enables creating a new invoice in the Scoro system by sending a structured JSON request body representing the invoice details.
Common scenarios where this node is beneficial include automating invoice creation workflows, integrating billing systems with Scoro, or generating invoices dynamically based on other business data.
For example, a user can prepare a JSON object containing customer information, line items, taxes, and payment terms, then use this node to create an invoice automatically in Scoro without manual entry.
Properties
| Name | Meaning |
|---|---|
| Request | A JSON object representing the nested request body for creating an invoice in Scoro. This should contain all necessary invoice details as per Scoro's API specification. |
Output
The node outputs the response from the Scoro API after attempting to create the invoice. The json output field contains the full JSON response from the API, which typically includes details of the created invoice such as its ID, status, amounts, and any metadata returned by Scoro.
If the API supports binary data in responses (not indicated here), it would be included accordingly, but for invoice creation, the output is expected to be purely JSON.
Dependencies
- Requires access to the Scoro API.
- Needs an API authentication token and company account identifier configured in the node credentials.
- The base URL for the Scoro API must be set in the credentials.
- No additional external dependencies beyond the Scoro API and n8n environment.
Troubleshooting
- Unsupported Operation Error: If you select an operation-resource combination not supported by the node, it will throw an error indicating the operation is unsupported.
- Invalid JSON in Request Property: The "Request" property expects valid JSON. Malformed JSON will cause parsing errors before the API call.
- Authentication Errors: Ensure that the API key and company account ID are correctly configured in the credentials; otherwise, the API will reject requests.
- API Response Errors: If the Scoro API returns an error (e.g., missing required fields, invalid data), the node will pass this error through. Check the JSON response for error messages and adjust the request accordingly.
Links and References
- Scoro API Documentation (for detailed invoice creation request structure)
- n8n Documentation on Creating Custom Nodes