跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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 的全部技能

报告此技能的问题