Overview
This node triggers the digitization process on Odoo invoices by calling the Odoo API. It authenticates with Odoo using provided credentials and then sends a request to initiate digitization on a specified invoice ID. This is useful for automating invoice processing workflows in Odoo, such as extracting data from scanned invoices or PDFs for further processing.
Use Case Examples
- Automate digitization of invoices in Odoo after they are uploaded.
- Trigger digitization on specific invoices by their ID to extract data automatically.
Properties
| Name | Meaning |
|---|---|
| Invoice ID | The ID of the account.move record (invoice) on which to trigger digitization. |
Output
JSON
success- Indicates if the digitization trigger was successful.invoiceId- The ID of the invoice for which digitization was triggered.result- The result returned from the Odoo API after triggering digitization.error- Error message if the digitization trigger failed.
Dependencies
- Requires Odoo API credentials including URL, database name, username, and password for authentication.
Troubleshooting
- Authentication failures due to incorrect credentials will throw errors with messages like 'Auth failed' or 'Authentication failed: no UID'. Verify credentials and Odoo server accessibility.
- Digitization call failures will throw errors with messages like 'Digitization call failed'. Check if the invoice ID is valid and the Odoo method 'action_manual_send_for_digitization' is available and correctly configured.
- If 'continueOnFail' is enabled, errors for individual items will be captured in the output instead of stopping execution.
Links
- Odoo Documentation - Official documentation for Odoo, useful for understanding API methods and invoice digitization.