> ## 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.

<Steps>
  <Step title="Create the integration">
    In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Tripletex*.
  </Step>

  <Step title="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](/docs/api-integrations/tripletex/connect) for how to generate these tokens.
  </Step>

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

    <Tabs>
      <Tab title="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>

      <Tab title="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);
        ```
      </Tab>
    </Tabs>

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

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

  <Step title="Implement Nango in your app">
    Follow our [Auth implementation guide](/docs/guides/auth/auth-guide) to integrate Nango in your app.

    To set up your own credentials, follow the connect guide linked below.
  </Step>
</Steps>

## 📚 Tripletex integration guides

Nango maintained guides for common use cases.

* [How to connect your Tripletex account](/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 & actions for Tripletex

Enable them in your dashboard. Extend and customize to fit your needs.

### Others

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

***


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