Actions76
- Bill Actions
- Contact Actions
- Credit Note Actions
- Invoice Actions
- Item Actions
- Sales Order Actions
- Tax Actions
- Tax Group Actions
- Tax Exemption (US only) Actions
- Vendor Actions
- Vendor Credit Actions
Invoice → Mark as Sent
AI-generatedOverview
The "Mark as Sent" operation for the Invoice resource in this node marks a specified invoice as sent within Zoho Books. This action updates the status of an existing invoice to indicate that it has been sent to the customer, which is useful for tracking invoice lifecycle and ensuring accurate accounting records.
Common scenarios where this node would be beneficial include:
- Automating invoice workflows by programmatically updating invoice statuses after sending them via email or other communication channels.
- Integrating with external systems to synchronize invoice statuses.
- Triggering follow-up actions or reminders based on invoice status changes.
For example, after generating an invoice in Zoho Books, you can use this node to mark it as sent automatically once the invoice email is dispatched, ensuring your records reflect the current state without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Invoice ID | The unique identifier of the invoice to mark as sent. This is a required string input. |
Output
The output of this operation is a JSON object representing the updated invoice data after being marked as sent. It typically includes fields such as invoice ID, status (now set to "sent"), and other invoice details returned by the Zoho Books API.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to Zoho Books via an OAuth2 API authentication credential.
- The node depends on the Zoho Books API being accessible and the user having appropriate permissions to update invoices.
- No additional environment variables are explicitly required beyond the configured API credentials.
Troubleshooting
Common issues:
- Invalid or missing Invoice ID: Ensure the Invoice ID provided exists and is correct.
- Authentication errors: Verify that the API key or OAuth2 token is valid and has not expired.
- Permission denied: Confirm that the authenticated user has rights to modify invoices.
- Network or API downtime: Check connectivity and Zoho Books service status.
Error messages:
"Unsupported resource": Occurs if the resource parameter is incorrect; ensure "invoice" is selected.- API error responses from Zoho Books will be passed through; check the message for details like invalid ID or insufficient permissions.
To resolve errors, verify input parameters, refresh credentials if needed, and consult Zoho Books API documentation for specific error codes.
Links and References
- Zoho Books API Documentation
- n8n Documentation on Expressions (useful for dynamic Invoice ID inputs)