Actions17
Overview
This node integrates with the Zoho Books API to manage various resources such as Contacts, Invoices, and Customer Payments. Specifically, for the Invoice resource with the Get by ID operation, it retrieves detailed information about a single invoice using its unique Invoice ID.
Common scenarios where this node is beneficial include:
- Fetching invoice details for review or processing in an automated workflow.
- Integrating Zoho Books invoice data into other systems like CRMs or reporting tools.
- Automating invoice status checks or validations before triggering further actions.
For example, you might use this node to retrieve an invoice by its ID after a payment is received, then update your internal records or notify a sales team.
Properties
| Name | Meaning |
|---|---|
| Invoice ID | The unique identifier of the invoice to retrieve. Required for Get by ID, Update, Delete operations on invoices. |
Output
The node outputs JSON data representing the invoice retrieved from Zoho Books. The structure typically includes all invoice details such as customer info, line items, dates, amounts, status, and any custom fields present in Zoho Books.
Example output JSON structure (simplified):
{
"invoice_id": "123456789",
"customer_id": "987654321",
"date": "2024-01-15",
"due_date": "2024-02-15",
"line_items": [
{
"item_id": "111",
"name": "Product A",
"quantity": 2,
"rate": 50
}
],
"total": 100,
"status": "sent",
"notes": "Thank you for your business"
}
No binary data output is produced by this operation.
Dependencies
- Requires an OAuth2 API credential configured for Zoho Books with access to the organization.
- The credential must include the Zoho Books Organization ID.
- The node makes HTTP requests to the Zoho Books API endpoint corresponding to the user's domain.
Troubleshooting
- Missing Invoice ID Error: If the Invoice ID is not provided for the Get by ID operation, the node will throw an error indicating that the Invoice ID is required.
- Invalid Credentials or Missing Organization ID: The node requires valid credentials including the organization ID; missing or invalid credentials will cause errors.
- API Errors: If Zoho Books returns an error (e.g., invoice not found, permission denied), the node surfaces the error code and message from the API response.
- JSON Parsing Errors: Additional JSON input fields must be valid JSON strings; otherwise, the node throws a parsing error.
- Network Issues: Connectivity problems or incorrect API URLs can cause request failures.
To resolve these issues:
- Ensure the Invoice ID is correctly set.
- Verify the OAuth2 credentials and organization ID are properly configured.
- Check the validity of any additional JSON inputs.
- Confirm network connectivity and correct API domain settings.