> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-migrated-bigcommerce-docs.mintlify.site/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](/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 [secret key](https://app.nango.dev/dev/environment-settings), [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-SECRET-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({ secretKey: '<NANGO-SECRET-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](/reference/sdks/node#get-a-connection-with-credentials) or [API](/reference/api/connection/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/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](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/list-activities.ts)       |
| `list-contacts`         | List contacts.                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/list-contacts.ts)         |
| `list-countries`        | List countries.                                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/list-countries.ts)        |
| `list-currencies`       | List currencies.                                                        | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/list-currencies.ts)       |
| `list-customers`        | List customers.                                                         | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/list-customers.ts)        |
| `list-departments`      | List departments.                                                       | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/list-departments.ts)      |
| `list-employees`        | List employees.                                                         | [Action](/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](/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](/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](/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](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/list-orders.ts)           |
| `list-products`         | List products.                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/list-products.ts)         |
| `list-projects`         | List projects.                                                          | [Action](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/list-projects.ts)         |
| `list-suppliers`        | List suppliers.                                                         | [Action](/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](/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](/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](/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](/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](/guides/functions/action-functions)   | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/actions/update-supplier.ts)       |
| `contacts`              | Sync contacts.                                                          | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/syncs/contacts.ts)                |
| `customers`             | Sync customers.                                                         | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/syncs/customers.ts)               |
| `employees`             | Sync employees.                                                         | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/syncs/employees.ts)               |
| `invoices`              | Sync invoices.                                                          | [Sync](/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](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/syncs/ledger-accounts.ts)         |
| `orders`                | Sync orders.                                                            | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/syncs/orders.ts)                  |
| `products`              | Sync products.                                                          | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/syncs/products.ts)                |
| `projects`              | Sync projects.                                                          | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/syncs/projects.ts)                |
| `suppliers`             | Sync suppliers.                                                         | [Sync](/guides/functions/syncs/sync-functions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/tripletex/syncs/suppliers.ts)               |

***
