> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tripletex

> Integrate your application with the Tripletex API

## 🚀 Quickstart

Connect to Tripletex with Nango and see data flow in 2 minutes.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Tripletex*.

**2. Connect your Tripletex account**

Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection*. Enter your Consumer Token and Employee Token, select the Environment (`tripletex.no` for production or `api-test.tripletex.tech` for the sandbox), set the Proxy Company ID (usually `0`), then save. See the [connect guide](https://nango.dev/docs/api-integrations/tripletex/connect) for how to generate these tokens.

**3. Call the Tripletex API**

Make your first request (returns the employee the session represents). Replace the placeholders with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

> [tab] cURL
>
> ```bash theme={null}
> curl "https://api.nango.dev/proxy/v2/token/session/>whoAmI" \
>   -H "Authorization: Bearer <NANGO-API-KEY>" \
>   -H "Provider-Config-Key: <INTEGRATION-ID>" \
>   -H "Connection-Id: <CONNECTION-ID>"
> ```

> [tab] Node
>
> Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
>
> ```typescript theme={null}
> import { Nango } from '@nangohq/node';
>
> const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
>
> const res = await nango.get({
>     endpoint: '/v2/token/session/>whoAmI',
>     providerConfigKey: '<INTEGRATION-ID>',
>     connectionId: '<CONNECTION-ID>'
> });
>
> console.log(res.data);
> ```

Or fetch credentials with the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [Auth implementation guide](https://nango.dev/docs/guides/auth/auth-guide.md) to integrate Nango in your app.

To set up your own credentials, follow the connect guide linked below.

## 📚 Tripletex integration guides

Nango maintained guides for common use cases.

* [How to connect your Tripletex account](https://nango.dev/docs/api-integrations/tripletex/connect)\
  Generate an employee token in Tripletex and connect it to Nango

Official docs: [Tripletex API documentation](https://developer.tripletex.no/docs/)

## 🧩 Pre-built syncs & tools for Tripletex

Explore Nango-provided tools in your dashboard. Extend and customize them to fit your needs.

### Others

| Function name | Description | Type |
| - | - | - |
| `create-activity` | Create an activity. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-contact` | Create a contact, typically linked to a customer. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-customer` | Create a customer. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-invoice` | Create (finalize) an invoice from one or more existing orders. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-ledger-voucher` | Create a manual general ledger voucher (balanced double-entry posting). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-order-line` | Add a line item to an existing order. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-order` | Create an order for a customer. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-product` | Create a product. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-project` | Create a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-supplier` | Create a supplier. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-contacts` | Delete one or more contacts by id. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-customer` | Delete a customer. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-order` | Delete an order | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-product` | Delete a product | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-project` | Delete a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-supplier` | Delete a supplier. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-contact` | Retrieve a contact. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-customer` | Retrieve a customer. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-department` | Retrieve a department. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-employee` | Retrieve an employee. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-invoice` | Retrieve an invoice. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-ledger-voucher` | Retrieve a general ledger voucher. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-order` | Retrieve an order. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-product` | Retrieve a product. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-project` | Retrieve a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-supplier` | Retrieve a supplier. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-activities` | List activities (used for timesheet/project time entries). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-contacts` | List contacts. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-countries` | List countries. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-currencies` | List currencies. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-customers` | List customers. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-departments` | List departments. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-employees` | List employees. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-invoices` | List invoices within a date range. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-ledger-accounts` | List general ledger (chart of accounts) accounts. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-ledger-vouchers` | List general ledger vouchers within a date range. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-orders` | List orders within a date range. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-products` | List products. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-projects` | List projects. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-suppliers` | List suppliers. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-contact` | Update a contact. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-customer` | Update a customer. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-product` | Update a product. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-project` | Update a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-supplier` | Update a supplier. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `contacts` | Sync contacts. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `customers` | Sync customers. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `employees` | Sync employees. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `invoices` | Sync invoices. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `ledger-accounts` | Sync the chart of accounts. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `orders` | Sync orders. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `products` | Sync products. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `projects` | Sync projects. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `suppliers` | Sync suppliers. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.