canonical: https://jentic.com/apis/sits.no/sits

# Sits No Betjeningskartet API

The Betjeningskartet API tells a creditor whether each debtor in a planned enforcement petition (utleggsbegjæring) to the Norwegian Tax Administration falls under the previous or the new rules. A client posts a list of debtors (saksoekt), each identified by a landkodeIdentifikator plus a taxIdentificationNumber or another official identifier, and gets the same list back with a regelverk value of tidligereRegelverk, nyttRegelverk, or ukjentPart. Debtors on the new rules must be filed through the ELAN API and those on the previous rules through ELSA, and debtors on different rules must go in separate petitions. The spec points at the api-test.sits.no test host.

## For AI agents

Check whether debtors in a Norwegian enforcement petition fall under the previous or new rules, so the petition is routed to ELSA or ELAN correctly.

## Scope

Does not file enforcement petitions, collect debts, or look up tax balances. Use for checking which rule set applies to debtors before an utleggsbegjæring only.

## Capabilities

- Classify each debtor in a planned utleggsbegjæring as tidligereRegelverk, nyttRegelverk, or ukjentPart
- Identify debtors by landkodeIdentifikator with a taxIdentificationNumber or annenOffisiellIdentifikator
- Batch several debtors in one request and receive the same list back with a regelverk per debtor
- Split a petition into separate ELAN and ELSA submissions based on the returned regelverk

## Use cases

### Agent pre-check before filing an enforcement petition

A debt-collection agent preparing a petition for attachment needs to know which filing channel applies. Through Jentic it searches for 'check which rules apply to a debtor', loads the Betjeningskartet operation, and posts the saksoekt list with each debtor's landkodeIdentifikator and taxIdentificationNumber while the STS bearer token is injected at call time. It reads the regelverk returned for each debtor and routes nyttRegelverk debtors to ELAN and tidligereRegelverk debtors to ELSA.

Example prompt: Call POST `/api/utleggsbegjaering/v2/betjeningskartet` with two debtors in saksoekt, each with landkodeIdentifikator=NO and a taxIdentificationNumber, and report which debtors go to ELAN and which to ELSA

### Splitting a mixed batch of debtors

Collection agencies often hold claims against several debtors on one case. Because debtors on different rules cannot share a petition, the agency sends the whole group to Betjeningskartet once and uses the regelverk on each returned entry to build separate petitions, one per rule set.

Example prompt: Send every debtor on a case in one saksoekt array, group the response by regelverk, and output one petition draft per group

### Handling unknown parties

When the tax administration cannot match a debtor, the response marks the entry ukjentPart. A collection system can flag those debtors for manual identity checks, for example correcting the taxIdentificationNumber or supplying an annenOffisiellIdentifikator, before retrying the lookup.

Example prompt: Post the saksoekt list, collect every entry returned as ukjentPart, and list them with their partsreferanse for manual review

## Key resources

- **Betjeningskartet** — Rule-set lookup that returns a regelverk for each debtor in the submitted saksoekt list

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 64 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 100 / 100
  - Developer Experience & Jentic Compatibility: 72 / 100
  - AI-Readiness & Agent Experience: 42 / 100
  - Agent Usability: 94 / 100
  - Security: 75 / 100
  - AI Discoverability: 50 / 100
- **View full report:** https://jentic.com/apis/sits.no/sits/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring Betjeningskartet by hand means obtaining a JWT from STS, sending it as a bearer token, and shaping the saksoekt array with the required landkodeIdentifikator on every debtor. Through Jentic you install once, import the API from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** Betjeningskartet has a single POST operation and carries the debtors in the request body, so scoping is operations-only: a rule allows that lookup and nothing else. It bounds which operations your agent may call, not which debtors it submits.
- **Credential handling:** Your STS bearer token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'check which rules apply to a debtor' or 'route an utleggsbegjæring to ELAN or ELSA', and Jentic returns the Betjeningskartet operation with its input schema so the agent builds a valid saksoekt list.

## Related APIs

- **Betjeningskartet API (Skatteetaten SwaggerHub)** — Another published version of the Skatteetaten Betjeningskartet service
- **Avregning API** — Skatteetaten tax settlement data: withholding, residual tax, or refund due
- **BankID** — Norwegian electronic identity for verifying individuals

## FAQ

### What authentication does the Betjeningskartet API use?

The OpenAPI spec declares an HTTP bearer scheme carrying a JWT issued by STS, the token service, applied globally to the operation. Requests without a valid token get 401, and an unauthorised caller gets 403. Through Jentic the token is held by your own instance and attached to each call.

### What does the regelverk value in the response mean?

Each debtor comes back with regelverk set to tidligereRegelverk for the previous rules, nyttRegelverk for the new rules, or ukjentPart when the party is unknown. Petitions for debtors on the new rules go to the ELAN API, and those on the previous rules go to ELSA.

### What are the rate limits for the Betjeningskartet API?

The OpenAPI spec does not specify rate limits. Check the Skatteetaten documentation for utleggsbegjæring at https://skatteetaten.github.io/beta-apier/utleggsbegjaering for current usage terms.

### Is there a Betjeningskartet MCP server?

You don't need an MCP server to give your agent the Betjeningskartet API. Jentic connects it directly from the API Directory: import it, store your token once, and your agent runs the rule check on demand without loading another server's tool definitions into its context.

### How do I check a debtor's rules through Jentic?

Search Jentic for 'check which rules apply to a debtor', load the POST `/api/utleggsbegjaering/v2/betjeningskartet` operation, and execute it with a saksoekt array where each debtor has a landkodeIdentifikator and an identifier. The response returns the same debtors with their regelverk. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the Betjeningskartet API?

Yes. Write a rule that allows only the betjeningskartet lookup on the api-test.sits.no host, and the agent can classify debtors but call nothing else through that binding. The debtors travel in the request body, so the rule bounds the operation rather than which debtors, and every call is logged.
