JSPM

@pixelandprocess_de/n8n-nodes-lexware-office

1.0.12
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q58097F
  • License MIT

n8n node for Lexware Office API integration

Package Exports

  • @pixelandprocess_de/n8n-nodes-lexware-office
  • @pixelandprocess_de/n8n-nodes-lexware-office/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pixelandprocess_de/n8n-nodes-lexware-office) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

n8n Lexware Office Custom Node

npm version npm downloads License: MIT n8n Community TypeScript Node.js

A comprehensive n8n custom node for seamless integration with the Lexware Office API. This node provides full access to all major business resources including articles, contacts, invoices, orders, payments, and more, with advanced features like EU tax compliance, smart filtering, and comprehensive error handling.

๐Ÿš€ Quick Start

Prerequisites

  • n8n: Version 0.125.0 or higher
  • Node.js: Version 18.0.0 or higher
  • Lexware Office API: Valid API credentials

Installation

cd ~/.n8n/custom
npm install @pixelandprocess_de/n8n-nodes-lexware-office

Note: The package will be installed as @pixelandprocess_de/n8n-nodes-lexware-office in your custom nodes directory.

Method 2: Manual Installation

git clone https://github.com/fwartner/n8n-nodes-lexware-office.git
cd n8n-nodes-lexware-office
npm install && npm run build
cp -r dist ~/.n8n/custom/@pixelandprocess_de/n8n-nodes-lexware-office

Method 3: Docker Installation

volumes:
  - ./custom-nodes:/home/node/.n8n/custom
environment:
  - N8N_CUSTOM_EXTENSIONS=/home/node/.n8n/custom

Then install the package in the custom-nodes directory:

mkdir -p custom-nodes
cd custom-nodes
npm install @pixelandprocess_de/n8n-nodes-lexware-office
docker-compose restart n8n

Method 4: GitHub Installation

For developers or users who want the latest features:

cd ~/.n8n/custom
git clone https://github.com/fwartner/n8n-nodes-lexware-office.git
cd n8n-nodes-lexware-office
npm install && npm run build
cp -r dist ../@pixelandprocess_de/n8n-nodes-lexware-office

See GitHub Installation Guide for detailed instructions.

Configuration

  1. Restart n8n after installation
  2. Add credentials for your Lexware Office API
  3. Use the node in your workflows

โœจ Features

  • ๐Ÿ”— Full API Coverage: All major Lexware Office resources supported
  • ๐ŸŒ EU Tax Compliance: Built-in support for European business requirements
  • ๐Ÿ” Smart Filtering: Advanced search and filtering capabilities
  • ๐Ÿ“Š Status Management: Comprehensive status tracking and transitions
  • ๐Ÿ“„ Document Generation: PDF rendering and file download support
  • โšก Performance: Optimized with rate limiting and caching
  • ๐Ÿ›ก๏ธ Error Handling: Robust error management and validation
  • ๐Ÿ”ง Type Safety: Full TypeScript support with comprehensive interfaces

๐Ÿ“ฆ Supported Resources

Resource Operations Description
๐Ÿ“‹ Articles CRUD + Specialized Product and service management
๐Ÿ‘ฅ Contacts CRUD + Specialized Customer and vendor management
๐ŸŒ Countries CRUD + Specialized Geographic and tax information
๐Ÿงพ Invoices CRUD + Specialized Full lifecycle management
๐Ÿ“‹ Orders CRUD + Specialized Order confirmation and documents
๐Ÿ’ฐ Payments CRUD + Specialized Payment processing and tracking
๐Ÿ“ Quotations CRUD + Specialized Quote management and conversion
๐Ÿ“Š Vouchers CRUD + Specialized Accounting voucher handling
๐Ÿ“ Files CRUD + Specialized Document management and metadata
โฐ Dunnings CRUD + Specialized Payment reminder management
๐Ÿšš Delivery Notes CRUD + Specialized Delivery tracking and management
๐Ÿ’ณ Credit Notes CRUD + Specialized Credit and refund management
๐Ÿ’ธ Down Payment Invoices CRUD + Specialized Partial payment handling
๐Ÿ”” Event Subscriptions CRUD + Specialized Webhook and event management
โฑ๏ธ Payment Conditions CRUD + Specialized Payment terms and conditions
๐Ÿท๏ธ Posting Categories CRUD + Specialized Accounting categorization
๐ŸŽจ Print Layouts CRUD + Specialized Document formatting and templates
๐Ÿ‘ค Profiles CRUD + Specialized User and system profiles
๐Ÿ”„ Recurring Templates CRUD + Specialized Automated recurring operations
๐Ÿš€ Triggers Webhook Events Real-time event monitoring and webhooks

๐ŸŽฏ Available Operations

Operation Description Resources
Create Create new resources All resources
Get Retrieve single resource All resources
Get All List resources with filtering All resources
Update Modify existing resources All resources
Delete Remove resources All resources
Specialized Resource-specific operations Varies by resource
Webhook Triggers Real-time event monitoring All business events

๐Ÿ”” Webhook Triggers & Events

The Lexware Office Trigger Node provides real-time event monitoring capabilities for your workflows:

Event Types Supported

  • Contact Events: contact.created, contact.updated, contact.deleted
  • Invoice Events: invoice.created, invoice.status.changed, invoice.paid, invoice.overdue
  • Quotation Events: quotation.created, quotation.accepted, quotation.rejected
  • Payment Events: payment.received, payment.processed
  • Article Events: article.created, article.updated, article.deleted
  • File Events: file.uploaded
  • Dunning Events: dunning.created, dunning.status.changed

Advanced Features

  • Smart Filtering: Filter by contact ID, voucher type, status, amount, and date ranges
  • Webhook Security: HMAC-SHA256 signature verification
  • Retry Mechanism: Automatic retry of failed deliveries
  • Event Logging: Comprehensive monitoring and statistics

Use Cases

  • Automated Customer Communication: Welcome emails, payment confirmations
  • Invoice Processing: Status updates, payment reconciliation
  • Sales Follow-up: Quotation management, opportunity tracking
  • Document Management: File processing, automated workflows

๐Ÿ“– Complete Trigger Documentation - Detailed webhook trigger guide

๐Ÿ—๏ธ Project Structure

n8n-lexware-office/
โ”œโ”€โ”€ ๐Ÿ“ dist/                    # Compiled JavaScript files
โ”œโ”€โ”€ ๐Ÿ“ nodes/                   # Node implementations
โ”‚   โ””โ”€โ”€ ๐Ÿ“ LexwareOffice/      # Main node with SVG icon
โ”‚       โ”œโ”€โ”€ LexwareOffice.node.ts      # Main node implementation
โ”‚       โ””โ”€โ”€ LexwareOfficeTrigger.node.ts # Webhook trigger node
โ”œโ”€โ”€ ๐Ÿ“ credentials/             # Credential types
โ”œโ”€โ”€ ๐Ÿ“ resources/               # API resource handlers
โ”œโ”€โ”€ ๐Ÿ“ utils/                   # Utility functions
โ”œโ”€โ”€ ๐Ÿ“ types/                   # TypeScript type definitions
โ”œโ”€โ”€ ๐Ÿ“ constants/               # Constants and enums
โ”œโ”€โ”€ ๐Ÿ“ scripts/                 # Build scripts
โ”œโ”€โ”€ ๐Ÿ“„ package.json             # Package configuration
โ”œโ”€โ”€ ๐Ÿ“„ tsconfig.json            # TypeScript configuration
โ”œโ”€โ”€ ๐Ÿ“„ README.md                # This file
โ”œโ”€โ”€ ๐Ÿ“„ INSTALLATION.md          # Installation guide
โ”œโ”€โ”€ ๐Ÿ“„ LICENSE                  # MIT license
โ”œโ”€โ”€ ๐Ÿ“„ .eslintrc.js            # ESLint configuration
โ”œโ”€โ”€ ๐Ÿ“„ .prettierrc             # Prettier configuration
โ””โ”€โ”€ ๐Ÿ“ .github/                 # GitHub configurations

๐Ÿ”ง Advanced Features

Smart Filtering

  • Multi-criteria filtering with AND/OR logic
  • Text-based search across multiple fields
  • Date range filtering with timezone support
  • Custom field filtering for extended data

EU Tax Compliance

  • XRechnung support for German e-invoices
  • EU country detection and tax rate management
  • Distance sales support for cross-border operations
  • Tax classification with automatic validation

Error Handling

  • Comprehensive error codes with detailed messages
  • HTTP status handling with proper error responses
  • Rate limiting with automatic retry logic
  • Validation errors with field-specific messages

๐Ÿ“š Documentation

๐Ÿ› ๏ธ Development

Setup

git clone https://github.com/fwartner/n8n-nodes-lexware-office.git
cd n8n-nodes-lexware-office
npm install

Available Scripts

Script Description
npm run build Build the project
npm run dev Watch mode for development
npm run clean Clean build artifacts
npm run lint Run ESLint
npm run lint:fix Fix ESLint issues
npm run format Format code with Prettier
npm run format:check Check code formatting
npm test Run tests (placeholder)

Building for Production

npm run clean
npm run build
npm pack --dry-run  # Test package creation

Testing

# Build and test package
npm run build
npm pack --dry-run

# Verify dist folder contents
ls -la dist/

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ†˜ Support

๐ŸŒŸ Why Choose This Node?

  • ๐Ÿ”’ Enterprise Ready: Production-grade with comprehensive error handling
  • ๐ŸŒ EU Compliant: Built-in support for European business requirements
  • ๐Ÿ“Š Comprehensive: Covers all major Lexware Office resources
  • ๐Ÿš€ Performance: Optimized with smart caching and rate limiting
  • ๐Ÿ›ก๏ธ Reliable: Robust error handling and validation
  • ๐Ÿ”ง Maintainable: Clean, well-documented TypeScript code
  • ๐Ÿค Community: Open source with active community support

๐Ÿ“Š Statistics

  • 12+ Business Resources supported
  • 50+ Operations available
  • 25+ Event Types for webhook triggers
  • 100% TypeScript codebase
  • MIT License for maximum flexibility
  • Active Development with regular updates
  • Community Driven with open contribution

โญ Star This Repository

If this project helps you, please give it a star! It motivates us to keep improving and adding new features.

๐Ÿ“ž Contact


Built with โค๏ธ for the n8n community