tripletex

n8n node for Tripletex API v2 integration

Package Information

Downloads: 962 weekly / 3,397 monthly
Latest Version: 1.0.20
Author: Devora

Documentation

n8n-nodes-tripletex

A custom n8n node for integrating with the Tripletex API, providing seamless synchronization between WooCommerce and Tripletex accounting systems.

Features

  • Full CRUD Operations: Create, read, update, and delete customers, products, and orders
  • Authentication: Secure session-based authentication with consumer and employee tokens
  • Environment Support: Both test and production environments
  • Error Handling: Comprehensive error handling and validation
  • Response Mapping: Proper data mapping and field filtering
  • Webhook Support: Ready for webhook integration (pending Tripletex approval)

Installation

  1. Copy the node files to your n8n custom nodes directory:

    cp -r dist/ ~/.n8n/custom/tripletex/
    
  2. Restart n8n to load the new node

  3. The "Tripletex" node will appear in the n8n node list

Configuration

Credentials Setup

  1. Consumer Token: Obtain from Tripletex API settings
  2. Employee Token: Generate in Tripletex GUI (API brukernøkler)
  3. Environment: Choose between Test or Production
  4. Accountant Mode: Enable if using accountant tokens with company ID

Required API Access

This node requires approval from Tripletex for API access. The integration form has been submitted and is pending approval.

Usage

Basic Operations

  • Customer Management: Create, update, and retrieve customer information
  • Product Management: Sync product catalogs with pricing and descriptions
  • Order Processing: Automatically create orders and invoices in Tripletex

Webhook Integration

Once approved, the node supports webhook subscriptions for:

  • customer.create/update/delete
  • product.create/update/delete
  • order.create/update/delete

API Optimization

The node implements Tripletex's recommended optimizations:

  • Fields Parameter: All GET requests include field filtering to reduce data transfer
  • Checksum Support: Implements If-None-Match headers for efficient polling
  • Rate Limiting: Respects API rate limits and implements proper throttling

Development

Building

npm run build

Testing

npm test

TypeScript

The node is written in TypeScript with full type definitions and comprehensive test coverage.

Support

For issues related to:

  • Node functionality: Check the n8n logs and node configuration
  • API access: Contact Tripletex support for Consumer Token approval
  • Integration questions: Refer to the Tripletex API documentation

License

This project is licensed under the MIT License.

Version

Current version: 1.0.12

Recent Updates

v1.0.12 (2025-11-19)

  • Fixed: Removed n8n-workflow from dependencies (kept only in peerDependencies)
  • This resolves package loading issues in n8n

v1.0.11 (2025-11-18)

  • Fixed: Updated package.json main field to dist/index.js

v1.0.10 (2025-11-18)

  • Fixed: Corrected orderLines payload structure for n8n fixedCollection

v1.0.9 (2025-11-18)

  • Fixed: Added default export to Tripletex node

v1.0.8 (2025-11-17)

  • Improved error handling in credentials preAuthentication

Status

Published on npm - Available as n8n-nodes-tripletex@1.0.12
Production Ready - Node is fully developed, tested, and fixed
Pending Approval - Awaiting Tripletex Consumer Token approval
🚀 Ready for Installation - Can be installed via n8n UI or manually

Discussion