本文へ移動
cccskills
無料GitHub で公開

eos-forordning

Expert knowledge of EU/EEA social security coordination regulations in melosys-api. Use when: (1) Understanding EU Regulation 883/2004 and 987/2009 framework, (2) Understanding personal and material scope of coordination, (3) Understanding coordination principles (single legislation, lex loci laboris), (4) Understanding territorial scope (EU, EEA, Switzerland, UK), (5) Understanding the relationship between Sakstyper.EU_EOS and regulations, (6) Understanding how EESSI integrates with regulation procedures.

日本語の概要は準備中です。原文の説明を表示しています。

インストール方法を見る

含まれるファイル(2)

  • SKILL.md10.0 KB
  • references/debugging.md7.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

EOS-Forordning Skill

Expert knowledge of EU/EEA social security coordination regulations (EC) No 883/2004 and 987/2009.

Quick Reference

Regulatory Framework

RegulationFull NamePurpose
(EC) No 883/2004Basic RegulationCoordination rules for social security
(EC) No 987/2009Implementing RegulationProcedures and implementation details
EEA AgreementAnnex VIExtends EU regulations to EEA countries
SeparasjonsavtalenWithdrawal/Separation Agreement (art. 29/30)Keeps 883/2004 & 987/2009 in force for pre-2021 NO-UK cross-border situations
EØS/EFTA-UK-konvensjonenEEA EFTA Convention (kodeverk KONV_EFTA_STORBRITANNIA_*, art. 13-18)Post-Brexit basis for new NO-UK cases (in force from 01.01.2024). Note: Norway is NOT party to the EU-UK TCA.

Core Principles

PrincipleDescriptionImplementation
Single LegislationPerson subject to ONE country's legislation only (Art. 11.1)Lovvalgsperiode has single lovvalgsland
Lex Loci LaborisWork location determines legislation (Art. 11.3.a)Default for employed persons
Equal TreatmentNo discrimination based on nationality (Art. 4)Same rights as national citizens
AggregationPeriods from all countries count (Art. 6)For qualifying for benefits
Export of BenefitsBenefits paid regardless of residence (Art. 7)No residence requirements

Personal Scope (Art. 2)

The regulations apply to:

CategoryDescription
NationalsEU/EEA/Swiss nationals subject to member state legislation
Stateless/RefugeesResiding in EU/EEA, subject to member state legislation
Family MembersCovered for derived rights (healthcare, survivors)
Third-Country NationalsAt EU level (Reg. 1231/2010) when legally resident and moving within EU. NOT adopted by Norway — for Norwegian cases a plain TCN is generally outside the personkrets of 883/2004, and only covered via the Nordic Convention or the NL/LUX/AT bilateral agreements.

Material Scope (Art. 3)

Benefits covered:

BranchNorwegian Coverage
SicknessFolketrygden + Helfo
Maternity/PaternityForeldrepenger
Old-ageAlderspensjon
InvalidityUføretrygd
SurvivorsEtterlattepensjon
Accidents at WorkYrkesskade
UnemploymentDagpenger
FamilyBarnetrygd, kontantstøtte
Pre-retirementN/A in Norway

Territorial Scope

TerritoryRegulation BasisA1 Validity
EU-27Direct application of 883/2004Full
EEA (NO, IS, LI)EEA Agreement Annex VIFull
SwitzerlandEU-Switzerland Agreement (applies from 01.01.2016)Full
UKSeparasjonsavtalen (pre-2021 cases) + EØS/EFTA-UK-konvensjonen (new cases)Convention-based (NOT the EU-UK TCA — Norway is not a TCA party)

Sakstype Handling

EU_EOS vs Other Types

SakstypeRegulationServiceKey Difference
EU_EOS883/2004EosVedtakServiceEESSI integration, SEDs
TRYGDEAVTALEBilateral agreementsTrygdeavtaleVedtakServiceCountry-specific articles
FTRLFolketrygdlovenFtrlVedtakServiceNational law, no EESSI

EU_EOS Processing

// In FattVedtakVelger.getFattVedtakService(behandling)
// ÅRSAVREGNING short-circuits before the sakstype branch
if (behandling.type == Behandlingstyper.ÅRSAVREGNING) {
    return årsavregningVedtakService
}

return when (behandling.fagsak.type) {
    Sakstyper.EU_EOS -> eosVedtakService
    Sakstyper.FTRL -> ftrlVedtakService
    Sakstyper.TRYGDEAVTALE -> trygdeavtaleVedtakService
}

EU_EOS cases:

  • Use 883/2004 articles (FO_883_2004_ART*)
  • Integrate with EESSI via EUX
  • Generate EU A1 certificates
  • Exchange SEDs with other institutions

Title II - Applicable Legislation

The key articles for determining legislation:

ArticleScenarioResult
Art. 11General rule - work in one countryCountry of work
Art. 12Posted workersSending country (max 24 months)
Art. 13Multi-state workResidence if substantial, else employer
Art. 14Voluntary insuranceOptional additions
Art. 15Contract agentsChoice of legislation
Art. 16ExceptionsAgreed exception

For detailed article descriptions, see the lovvalg skill.

Implementing Regulation 987/2009

Key procedural articles:

ArticleTopicPurpose
Art. 14Supplementary provisions for art. 12 AND art. 13Clarifying criteria (e.g. the 25% substantial-activity test is art. 14(8))
Art. 15Procedure for applying art. 12Posting procedure
Art. 16Multi-state procedureArt. 13 determination process
Art. 18Exception procedureArt. 16 application process

Art. 14.11 - Business Outside EEA

When employer has no registered office in EEA:

Kodeverk: FO_987_2009_ART14_11
Result: Employee's residence country determines legislation

EESSI Integration

Portable Documents and AC Decisions

Do not confuse the Portable Document with Administrative Commission (AC) Decisions:

ItemTypeRelevance
PD A1Portable DocumentThe attestation of applicable legislation issued for posted/multi-state workers (the result of LA_BUC processing)
Decision A2AC DecisionInterpretation of the posting rules (art. 12)
Decision A3AC DecisionAggregation of uninterrupted posting periods

The PD A1 is the document NAV produces; AC Decisions are interpretive guidance from the Administrative Commission, not documents exchanged per case.

BUC Types by Article

ArticleBUCPurpose
Art. 11LA_BUC_05Legislation notification
Art. 12LA_BUC_04Posted worker notification
Art. 13LA_BUC_02Multi-state decision
Art. 16LA_BUC_01Exception request

Key Components in Melosys

ComponentLocationPurpose
EosVedtakServiceservice/src/main/java/no/nav/melosys/service/vedtak/Vedtak for EU_EOS cases
FattVedtakVelgerservice/src/main/kotlin/no/nav/melosys/service/vedtak/Routes behandling to the right vedtak service by sakstype
Lovvalgbestemmelser_883_2004external dependency (package no.nav.melosys.domain.kodeverk.lovvalgsbestemmelser, not in-repo)883/2004 article enum
LovvalgsbestemmelseKodeMapperservice/src/main/kotlin/no/nav/melosys/service/brev/felles/Maps lovvalgsbestemmelse enums to brev/A1 codes
GyldigeKombinasjonerservice/src/main/kotlin/no/nav/melosys/service/lovligekombinasjoner/Valid EU_EOS combinations

Valid Combinations for EU_EOS

MEDLEMSKAP_LOVVALG

BehandlingstemaBehandlingstyper
YRKESAKTIVFØRSTEGANG, NY_VURDERING, KLAGE, HENVENDELSE
IKKE_YRKESAKTIVFØRSTEGANG, NY_VURDERING, KLAGE, HENVENDELSE
PENSJONISTFØRSTEGANG, NY_VURDERING, KLAGE

UNNTAK

BehandlingstemaBehandlingstyper
REGISTRERING_UNNTAKFØRSTEGANG, NY_VURDERING
ANMODNING_OM_UNNTAK_HOVEDREGELFØRSTEGANG, NY_VURDERING
ANMODNING_OM_UNNTAK_NY_ARBEIDSGIVERFØRSTEGANG, NY_VURDERING
ANMODNING_OM_UNNTAK_FORLENGELSEFØRSTEGANG, NY_VURDERING

Debugging Queries

Schema note: fagsak PK is saksnummer (string); the sakstype column is fagsak_type. behandling joins fagsak via the saksnummer FK column (there is no fagsak_id), and orders by registrert_dato. BUC/SED documents are NOT stored in the melosys-api database — they live in melosys-eessi.

Find EU_EOS Cases

SELECT f.saksnummer, f.gsak_saksnummer, b.id as behandling_id, b.status
FROM fagsak f
JOIN behandling b ON b.saksnummer = f.saksnummer
WHERE f.fagsak_type = 'EU_EOS'
ORDER BY b.registrert_dato DESC
FETCH FIRST 50 ROWS ONLY;

Check Lovvalgsbestemmelse Used

SELECT lp.id, lp.lovvalg_bestemmelse, lp.fom_dato, lp.tom_dato, f.gsak_saksnummer
FROM lovvalg_periode lp
JOIN behandlingsresultat br ON lp.beh_resultat_id = br.behandling_id
JOIN behandling b ON br.behandling_id = b.id
JOIN fagsak f ON b.saksnummer = f.saksnummer
WHERE f.fagsak_type = 'EU_EOS'
AND lp.lovvalg_bestemmelse LIKE 'FO_883%'
ORDER BY b.registrert_dato DESC;

UK Post-Brexit

After Brexit, UK cases use:

PeriodLegal basisKodeverk
Pre-2021 cross-border situationsSeparasjonsavtalen (art. 29/30) keeps 883/2004 & 987/2009 in forceFO_883_2004_*
New cases (EØS/EFTA-UK-konvensjonen, in force from 01.01.2024)EEA EFTA Convention (art. 13-18) — NOT the EU-UK TCA, which Norway is not party toLovvalgbestemmelser_konv_efta_storbritannia
// UK mapping in statistics
Lovvalgsbestemmelse.avKonvensjonEftaStorbritannia(lovvalgBestemmelse)

Related Skills

  • lovvalg: Detailed article descriptions and lovvalgsperiode management
  • eessi-eux: EESSI integration and SED exchange
  • sed: SED document types and BUC processes
  • trygdeavtaler: Bilateral agreements (non-EU/EEA)
  • kodeverk: LovvalgsBestemmelser enums

Reference Documentation

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Expert knowledge of Altinn A1 application processing for posted workers in melosys-api. Use when: (1) Understanding Altinn søknad/skjema processing, (2) Debugging MedlemskapArbeidEOS form mapping, (3) Understanding SoeknadMapper transformations, (4) Investigating posted worker application issues, (5) Understanding the MOTTAK_SOKNAD_ALTINN saga flow.

日本語の概要は準備中です。原文の説明を表示しています。

navikt/melosys-api22026年10月21日 更新

Expert knowledge of Employer/Employment integration (EREG/AAREG) in melosys-api. Use when: (1) Working with organization data from EREG (Enhetsregisteret), (2) Working with employment data from AAREG (Arbeidsforhold), (3) Understanding employer/organization lookup, (4) Debugging employer or employment issues, (5) Understanding the mapping between register data and domain models. Triggers: orgnummer, arbeidsforhold, EREG, AAREG, Enhetsregisteret, registeropplysninger, ansettelsesperiode, saksopplysning.

日本語の概要は準備中です。原文の説明を表示しています。

navikt/melosys-api22026年10月21日 更新

Modular monolith architecture overview for melosys-api. Use when needing to understand module structure, dependencies between modules, where to place new code, or when changes in one module might affect others. Triggers: "architecture", "module dependencies", "where should I put", "which modules", "dependency graph".

日本語の概要は準備中です。原文の説明を表示しています。

navikt/melosys-api22026年10月21日 更新

Expert knowledge of Behandling (case treatment) domain in melosys-api. Use when: (1) Understanding the behandling lifecycle and status transitions, (2) Debugging issues with behandling creation, status changes, or closure, (3) Understanding relationships between Fagsak, Behandling, and Behandlingsresultat, (4) Investigating why a behandling is stuck or has wrong status, (5) Understanding Behandlingstyper, Behandlingstema, Behandlingsstatus enums, (6) Debugging journalføring or SED-triggered behandling creation, (7) Understanding behandling creation via saksflyt sagas.

日本語の概要は準備中です。原文の説明を表示しています。

navikt/melosys-api22026年10月21日 更新

Expert knowledge of Behandlingsresultat (treatment result) domain in melosys-api. Use when: (1) Understanding result types and their meaning (FASTSATT_LOVVALGSLAND, MEDLEM_I_FOLKETRYGDEN, etc.), (2) Working with periods - Lovvalgsperiode, Medlemskapsperiode, Anmodningsperiode, Utpekingsperiode, (3) Debugging vedtak/decision metadata, criteria evaluation, or social insurance charges, (4) Understanding EU/EEA coordination logic and Article 16 exception handling, (5) Working with trygdeavgift (social insurance charge) calculations.

日本語の概要は準備中です。原文の説明を表示しています。

navikt/melosys-api22026年10月21日 更新

brev

無料

Expert knowledge of Brev (letter generation) in melosys-api. Use when: (1) Producing letters and decision documents (vedtaksbrev), (2) Understanding Dokgen templates and mapping, (3) Configuring letter recipients and distribution, (4) Debugging letter generation issues, (5) Adding new letter types or templates.

日本語の概要は準備中です。原文の説明を表示しています。

navikt/melosys-api22026年10月21日 更新

navikt のスキルをすべて見る

このスキルの問題を報告する