The new Apideck developer docs are live. See what’s new →

Tripletex API Integration: How to Connect to Nordic Accounting Systems With One API

Integrate with Tripletex, Fiken, e-conomic, Fortnox and Visma through one Accounting API. What each connector covers, and the limits to plan for.

GJGJ

GJ · Co-founder, Apideck

9 min readView as .md
Tripletex API Integration: How to Connect to Nordic Accounting Systems With One API

Tripletex is now on the Apideck Accounting API. Here is what it covers, what Nordic accounting systems have in common, and the limits you should plan for.

Selling into the Nordics means four countries and many ledgers

Say you sell spend management or AP automation software. A customer in Oslo asks you to sync with their ledger, so you need a Tripletex integration. Next month a Danish prospect runs e-conomic, a Swedish one runs Fortnox, and a Finnish one runs Netvisor or Procountor.

Each system has its own API, its own authentication, and its own way to record a bill or a payment. Each country also has its own payment references, VAT rates and chart of accounts. Customers expect the sync to respect all of it.

You can build each connector yourself. Or you can write against one schema and let the Apideck Accounting API translate it. This post covers the newest Nordic connector, Tripletex, and then looks at the patterns that the Nordic systems share.

Tripletex is now on the Accounting API

Tripletex is a cloud accounting system for Norwegian businesses. Visma, its owner, reported 150,000 Tripletex customers in November 2025. The Tripletex connector is now live.

What you can read and write

The connector covers 35 Accounting API resources.

AccessResources
Read and writeCustomers, suppliers, products, ledger accounts, departments, projects, sales orders, purchase orders, expense reports
Create, read and updateEmployees
Create and readInvoices, credit notes (also partial credit notes)
Create, read and deleteBills, bill credit notes, bill payments, quotes, journal entries, tracking categories, bank feed statements
CreatePayments on invoices
Upload, read, download and deleteAttachments on journal entries, bills, invoices, credit notes and expense reports
ReadGeneral ledger transactions, journals, fiscal periods, bank accounts, tax rates, payment methods, expense categories, companies, company info
Financial reports (read)Balance sheet (also several periods), profit and loss (also by customer), trial balance, aged debtors, aged creditors

Bills and bill payments are booked as Tripletex vouchers: a bill is a supplier-invoice voucher, and a payment closes the bill's open item. A quote is a Tripletex offer.

Change events (created and updated) are delivered by polling for customers, suppliers, products, invoices, credit notes, bills, bill payments, quotes, ledger accounts, projects, purchase orders, tax rates and tracking categories. You subscribe to the same webhook events that you use for every other connector.

How a Tripletex connection works

Tripletex does not use OAuth. It uses two tokens:

  1. Consumer token. Tripletex issues it to you, the integration partner. Tripletex issues separate consumer tokens for its test and production environments.
  2. Employee token. Your customer creates it in their own Tripletex account. It has the permissions of the employee who owns it.

Tripletex turns the two tokens into a short-lived session token. Apideck creates and renews that session for you, so your code sends the same headers as for any other connector. The connection also has an environment setting, so you can test against a Tripletex test account first.

A first request

Create an invoice for a Norwegian customer. The x-apideck-service-id header selects Tripletex. Everything else is the standard Accounting API.

POST https://unify.apideck.com/accounting/invoices
Authorization: Bearer {API_KEY}
x-apideck-app-id: {APP_ID}
x-apideck-consumer-id: {CONSUMER_ID}
x-apideck-service-id: tripletex
Content-Type: application/json
{
  "customer": { "id": "12345" },
  "invoice_date": "2026-12-01",
  "due_date": "2026-12-15",
  "reference": "12345674",
  "line_items": [
    {
      "description": "Consulting, November",
      "quantity": 10,
      "unit_price": 1200,
      "tax_rate": { "id": "3" }
    }
  ]
}

Two Norwegian details are in this request:

  • tax_rate.id is a Tripletex VAT type. Type 3 is output VAT at the high rate, 25%. Get the full list from GET /accounting/tax-rates.
  • reference becomes the invoice's KID, the Norwegian customer payment reference. The next section explains it.

To get the year-to-date result, call the profit and loss report:

GET https://unify.apideck.com/accounting/profit-and-loss?filter[start_date]=2026-01-01&filter[end_date]=2026-11-30
x-apideck-service-id: tripletex

Amounts come back in the company currency, NOK. The sections follow the Norwegian standard chart of accounts: accounts 4000 to 4999 are returned as cost_of_goods_sold, and the year-end closing accounts are not included.

What Nordic accounting systems have in common

The Nordic systems are different products, but they share some habits. If you know these habits, your integration design gets simpler.

Vouchers are at the center

Nordic bookkeeping is built around the voucher: a numbered, balanced set of postings. In Tripletex, a journal entry is a voucher, and so are a bill and a bill payment. A bill's id is its voucher id.

e-conomic goes further. A bill or a bill payment that you create through the Accounting API arrives as a draft voucher in an e-conomic daybook. It reaches the ledger when the customer books the daybook in e-conomic. After that, the record can no longer be read through its id. Fortnox groups its vouchers into voucher series, which the Accounting API returns as journals.

The practical result: a "bill" can mean a different thing in each system. Read the connector notes before you depend on an update or a delete.

Payment references: the Norwegian KID

Norwegian invoices carry a KID (kundeidentifikasjonsnummer). The payer's bank uses it to match the payment to the invoice. A KID is 2 to 25 digits and ends in a MOD10 or MOD11 check digit.

On Tripletex, the unified reference field is written to the KID. If the value is not a valid KID, Tripletex does not save it, and the invoice has no reference. So 12345674 is stored, but INV-001 is not. Calculate the check digit before you send the value.

VAT codes on every line

Nordic ledgers expect a VAT code on each line, not one tax amount on the invoice. Each system uses its own codes:

  • Tripletex: numeric VAT types, for example 3 for 25% output VAT.
  • Fiken: named codes such as HIGH, MEDIUM, LOW and NONE.
  • e-conomic: VAT codes such as I25. Bill line amounts include VAT, and e-conomic splits the VAT off by the code.

The unified field is tax_rate.id on every connector. Read the valid values from GET /accounting/tax-rates. Do not hard-code them per country.

National charts of accounts

Account numbers carry meaning in the Nordics. Norway uses the NS 4102 standard chart of accounts, and the Tripletex profit and loss report follows it. In Sweden, Fortnox has no separate bank accounts: bank accounts are ledger accounts with a specific SRU tax-reporting code. A Fortnox sole trader can use a different code than a limited company, so the bank accounts list can be empty for some companies.

Different authentication for each vendor

Each Nordic vendor authenticates in its own way:

  • Tripletex: consumer token plus employee token.
  • Fiken: OAuth. The customer then picks the Fiken company to connect.
  • e-conomic: the Agreement Grant Token that the customer receives when they approve your e-conomic app.

Apideck Vault handles these flows, so your application stores one connection per customer and per system.

Nordic connectors on the Accounting API

SystemCountryWhat the Accounting API coversChange eventsStatus
TripletexNorwayCustomers, suppliers, products, invoices, credit notes, payments, bills, bill credit notes, bill payments, quotes, journal entries, journals, expense reports, attachments, bank feed statements, financial reportsPollingLive
FikenNorwayCustomers, suppliers, products, projects, invoices, credit notes, quotes, sales orders, journal entries, bills, payments, bill payments, sales receipts, attachments, ledger accounts, tax rates, trial balancePollingLive
e-conomicDenmarkCustomers, suppliers, products, quotes, sales orders, invoices, credit notes, journal entries, bills and bill payments (create and read), ledger accounts, tax rates, journals, departments, fiscal periods, trial balanceNative webhooksLive
FortnoxSwedenCustomers, suppliers, products, invoices, credit notes, payments, bills, bill payments, journal entries, journals, ledger accounts, bank accounts, tax rates, sales orders, purchase orders, attachments, tracking categoriesPollingLive
Visma eAccountingSweden, NorwayCustomers, suppliers, products, invoices, credit notes, bills, payments, bill payments, journal entries, ledger accounts, bank accounts, tax rates, tracking categories, attachments, trial balanceNative webhooksLive
Visma NetvisorFinlandCustomers, suppliers, products, invoices, credit notes, bills, purchase orders, payments, journal entries, ledger accounts, fiscal periods, trial balanceNot availableLive
ProcountorFinlandCustomers, suppliers, products, invoices, bills, payments, purchase orders, journal entries, ledger accounts, tax rates, fiscal periodsNot availableLive

Operations differ per resource and per connector. The connector pages in the developer docs list every supported operation and field.

Limits worth knowing before you build

Every accounting system has rules that an API cannot remove. These rules come from the vendors. Plan for them early.

Tripletex

  • Tripletex deletes only the newest journal entry of a year. A delete of an older entry returns 422. To cancel it, reverse it in Tripletex or post a correcting journal entry.
  • Tripletex stores every uploaded file as a PDF that it writes itself. A download returns that PDF, not the original bytes. A record has at most one attachment, so a second upload to the same record adds pages to it.
  • A customer, product or ledger account that is already in use cannot be deleted. Set it to inactive instead.
  • Bill payments are in NOK. A part payment keeps the bill open until the rest is paid, and a payment above the open amount is refused.
  • Bill numbers must be unique per supplier.
  • Tripletex accepts bank statements only as bank export files. Statements that you push through the Accounting API show "Transferwise" as their bank in Tripletex.

e-conomic

  • Bills are written as drafts only. After the customer books the daybook, the bill can no longer be read through its id.

Fiken

  • Fiken does not remove bills. A delete posts a reversal, so the bill and its reversal both stay in the books.

Fortnox

  • Booking locks an invoice or a bill. After booking, only some fields can change, and the record can no longer be cancelled.

Do you sell into Norway, Denmark, Sweden or Finland? Start with the Accounting API and connect a Tripletex test account. The Tripletex connector page lists the supported resources and the setup steps.

Frequently asked questions

Does Tripletex have a public API?

Yes. Tripletex has a public REST API. Commercial integrations need a consumer token from Tripletex, and each customer creates an employee token. With Apideck, you call the unified Accounting API, and Apideck handles the Tripletex session.

Can I create bills in Tripletex through the API?

Yes. The Accounting API creates a bill as a supplier-invoice voucher in Tripletex, with VAT per line, and books bill payments against it. Payments are in NOK.

Do I need a separate integration for Fiken, e-conomic and Fortnox?

No. Each one is a connector on the same Accounting API. You change the x-apideck-service-id header. The request and response schemas stay the same. Vendor-specific rules, such as VAT codes and which operations exist, still apply.

How do I get notified when data changes in a Nordic accounting system?

Subscribe to Accounting API webhook events such as accounting.invoice.created. For e-conomic and Visma eAccounting, the events come from the vendor's own webhooks. For Tripletex, Fiken and Fortnox, Apideck polls for changes and sends the same events.

What is a KID number, and does the API support it?

A KID is the Norwegian customer reference that a payer enters with a bank payment. On Tripletex, send it in the invoice's reference field. Tripletex saves only valid KIDs: 2 to 25 digits with a MOD10 or MOD11 check digit.

Can I get financial reports from Tripletex?

Yes. The connector returns the balance sheet, profit and loss, trial balance, aged debtors and aged creditors. Amounts are in NOK.

Trusted by fast-moving product & engineering teams

Bonsai by Zoom
JobNimbus
Blue Zinc
Exact
Drata