Actions41
- Articles Actions
- Contacts Actions
- Dunnings Actions
- Invoices Actions
- Order Confirmations Actions
- Quotations Actions
- Voucher Lists Actions
- Vouchers Actions
- Countries Actions
- Files Actions
Overview
This node integrates with the Lexware API to manage contact data, specifically allowing the creation of company contacts. It is useful in scenarios where businesses want to automate adding new companies into their Lexware accounting or CRM system directly from workflows. For example, when a new client signs up on a website, this node can create a corresponding company record in Lexware with detailed contact and billing information.
Properties
| Name | Meaning |
|---|---|
| Company Name | The name of the company to be created. |
| Tax Number | The company's tax identification number. |
| VAT Registration ID | The VAT registration identifier for the company. |
| Create as Customer? | Whether to assign the role "customer" to the company (true/false). |
| Create as Vendor? | Whether to assign the role "vendor" to the company (true/false). |
| Allow Tax Free Invoices | Whether the company is allowed to receive tax-free invoices (true/false). |
| Contact Persons | A collection of one or more contact persons associated with the company. Each person can have salutation, first name, last name, primary flag, email address, and phone number. |
| XRechnung | Additional electronic invoicing details including buyer reference and vendor number at customer. |
| Email Addresses | Multiple categorized email addresses (business, office, private, other), each supporting multiple entries. |
| Phone Numbers | Multiple categorized phone numbers (business, office, mobile, private, fax, other), each supporting multiple entries. |
| Note | A textual note about the company. |
| Archived | Whether the company record should be archived (true/false). |
| Billing Address | One or more billing addresses, each with supplement, street, ZIP code, city, and country code (default "DE"). |
| Shipping Address | One or more shipping addresses, each with supplement, street, ZIP code, city, and country code (default "DE"). |
Output
The node outputs an array of JSON objects representing the results of the create company operation(s). Each object typically contains the newly created company’s data as returned by the Lexware API, including identifiers and any metadata. The output does not include binary data.
Dependencies
- Requires an API key credential for authenticating with the Lexware API.
- The node depends on the Lexware service being accessible and properly configured.
- No additional environment variables are explicitly required beyond the API authentication setup.
Troubleshooting
Common Issues:
- Missing or invalid API credentials will cause authentication failures.
- Providing incomplete or incorrectly formatted input properties (e.g., missing company name) may result in API errors.
- Network connectivity issues can prevent successful communication with the Lexware API.
Error Messages:
- Errors indicating unsupported resource or operation suggest misconfiguration of the node parameters.
- Validation errors from the API often relate to mandatory fields missing or invalid data formats; ensure all required fields like company name are provided.
- Timeout or connection errors indicate network problems or API unavailability; retry or check network settings.
Links and References
- Lexware Official Website
- Lexware API Documentation (if publicly available)
- n8n documentation on creating custom nodes