Actions25
Overview
This node integrates with the Tiny ERP API v3, allowing users to manage various business resources such as products, customers, orders, invoices, stock, contacts, and account information. Specifically for the Invoice - Send operation, it enables sending an invoice by its ID through the Tiny ERP system.
Typical use cases include automating invoice dispatch workflows, integrating invoicing into broader business automation processes, or triggering invoice sending after order completion. For example, after creating an invoice in Tiny ERP, this node can be used to send that invoice directly to the customer via the ERP's built-in mechanisms.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the invoice resource to send. This is a required string input specifying which invoice will be sent. |
Output
The node outputs JSON data representing the response from the Tiny ERP API after attempting to send the invoice. The structure depends on the API's response but typically includes confirmation details about the sent invoice or error information if the operation failed.
No binary data output is produced by this operation.
Dependencies
- Requires an API authentication token configured via OAuth2 credentials to access the Tiny ERP API.
- The node makes HTTP requests to
https://erp.tiny.com.br/public-api/v3. - Proper configuration of the OAuth2 credential within n8n is necessary for successful API communication.
Troubleshooting
Common issues:
- Invalid or expired API credentials may cause authentication failures.
- Providing an incorrect or non-existent invoice ID will result in errors from the API.
- Network connectivity problems can prevent the node from reaching the Tiny ERP API endpoint.
Error messages:
"Tiny ERP API request failed: <error message>"indicates a failure during the API call. Check the error message for specifics such as authentication errors, invalid parameters, or server issues."Unknown operation: send"would occur if the operation parameter is incorrectly set; ensure "Send" is selected under Invoice operations.
Resolutions:
- Verify and refresh API credentials if authentication errors occur.
- Confirm the invoice ID exists and is correctly entered.
- Ensure network access to the Tiny ERP API endpoint is available.
Links and References
- Tiny ERP API Documentation (official API docs, for detailed endpoint info)
- n8n OAuth2 Credential Setup Guide (for configuring API authentication)
This summary focuses on the Invoice resource's Send operation as requested, based on static analysis of the provided source code and property definitions.