Actions39
- Account Actions
- Client Actions
- Document Actions
- Product Actions
- Receipt Actions
- Store Actions
- Supplier Actions
Account → Update Account
AI-generatedOverview
The "Update Account" operation in the Vendus node allows users to modify details of an existing account in the Vendus invoicing and business management system. This operation is useful for keeping account information up-to-date, such as changing company address, phone number, tax details, or other relevant fields.
Typical scenarios include:
- Updating a client or supplier's contact information after they move or change phone numbers.
- Modifying fiscal or tax exemption details when regulations or company status changes.
- Adjusting company-related data like social capital or postal codes for accurate record-keeping.
For example, a user might update the address and phone number of an account to ensure invoices are sent to the correct location and contact.
Properties
| Name | Meaning |
|---|---|
| Account Name or ID | The unique identifier or name of the account to update. Can be selected from a list or specified via an expression. |
| Update Fields | A collection of fields that can be updated on the account: - Address: Company address - City - Company: Company name - Conservatory - Country: Options include Angola, Portugal, Azores, Madeira - Fiscal ID - Phone: Phone number - Postal Code - Social Capital: Company's social capital - Tax Exemption: Various tax exemption reasons (e.g., M01, M02, M40, etc.) - Tax Exemption Law: Applicable law for tax exemption (required if exemption is not M40) - Tax ID: Default tax rate category (Exempt, Intermediate Rate, Normal Rate, Others, Reduced Rate) |
| Custom JSON | Allows specifying additional custom JSON data to include in the update request body. |
| Options | Additional options for the operation: - Enable Debug Logging: Enables detailed debug logs for troubleshooting API calls. |
Output
The output of this operation is a JSON object representing the response from the Vendus API after updating the account. It typically contains the updated account data as returned by the API.
If debug logging is enabled, detailed logs about the request and response are generated internally but not part of the output.
No binary data is produced by this node.
Dependencies
- Requires an active connection to the Vendus API with valid credentials including an API key and base URL.
- The node uses HTTP requests authenticated via these credentials to interact with the Vendus service.
- Enabling debug logging requires appropriate permissions to write logs within n8n.
Troubleshooting
- Missing Required Parameters: If the "Account Name or ID" or required update fields are missing, the node will throw an error indicating the missing parameter.
- API Authentication Errors: Invalid or missing API credentials will cause authentication failures. Ensure the API key and base URL are correctly configured.
- Invalid Field Values: Providing invalid values for fields like country codes or tax exemption reasons may result in API errors. Use the provided options to select valid values.
- Debug Logging: If enabled, debug logs provide detailed insights into request URLs, bodies, and responses which help diagnose issues.
- Network Issues: Connectivity problems to the Vendus API endpoint will cause request failures; verify network access and API availability.
Links and References
- Vendus API Documentation (official site referenced in node description)
- n8n Expressions Documentation (for using expressions in parameters)