# Type Alias DocumentType

DocumentType:
| "REPORT"
| "RESOLUTION"
| "DECISION"
| "DIRECTIVE"
| "REGULATION"
| "OPINION"
| "AMENDMENT"

Legislative document type classification.

Categorizes European Parliament documents by their legal nature and procedural purpose. Each type has specific formatting, voting requirements, and legal effects. Document types follow EU legislative framework and EP Rules of Procedure.

Legislative vs. Non-Legislative:

- Legislative: REGULATION, DIRECTIVE, DECISION (binding legal acts)
- Non-Legislative: REPORT, RESOLUTION, OPINION, AMENDMENT (political/procedural)

Legal Effect:

- Binding: REGULATION, DIRECTIVE, DECISION (after adoption)
- Non-binding: RESOLUTION, OPINION

#### Type Declaration

- "REPORT"
- "RESOLUTION"

  Motion for a resolution (non-legislative).

  Political statement or position on current events, policy matters, or external affairs. Non-binding expression of Parliament's view. May be tabled by MEPs, committees, or political groups.

  Reference Format: B9-{number}/{year} Voting: Simple majority in plenary Legal Effect: Non-binding (political statement)

- "DECISION"

  Decision (binding legal act).

  Binding legal act addressed to specific recipients (member states, organizations, individuals). Binding in its entirety on those addressed. Used for specific situations (e.g., comitology, budget).

  Reference Format: Varies by procedure Voting: Depends on legal base (simple, absolute, or qualified majority) Legal Effect: Binding on addressees (TFEU Article 288)

- "DIRECTIVE"

  Directive (binding legal act on objectives).

  Binding legal act requiring member states to achieve specific results but allowing flexibility in implementation methods. Member states must transpose into national law within deadline.

  Reference Format: Varies by procedure Voting: Ordinary legislative procedure (co-decision with Council) Legal Effect: Binding on member states (TFEU Article 288) Transposition: Member states implement via national law

- "REGULATION"

  Regulation (directly applicable binding law).

  Binding legal act with direct effect in all member states without need for national implementation. Most powerful EU legal instrument. Applies uniformly across EU.

  Reference Format: Varies by procedure Voting: Ordinary legislative procedure (co-decision with Council) Legal Effect: Directly applicable binding law (TFEU Article 288) Implementation: Automatic (no national transposition needed)

- "OPINION"

  Opinion on another committee's report.

  Opinion provided by an opinion-giving committee on a legislative proposal or matter led by another committee. Contains suggested amendments from opinion committee's perspective.

  Reference Format: Committee working documents Voting: Simple majority in opinion committee Legal Effect: Non-binding (advisory to lead committee)

- "AMENDMENT"

  Amendment to legislative text or report.

  Proposed change to draft legislation, report, or other document. Amendments may be tabled by committees, MEPs, or political groups. Voted individually or in blocks.

  Reference Format: Amendment number within document Voting: Simple majority (unless legal base requires more) Legal Effect: If adopted, modifies text

#### Example

    // Using in document filtering
    const legislativeTypes: DocumentType[] = ["REGULATION", "DIRECTIVE", "DECISION"];
    const documents = allDocuments.filter(doc =>
      legislativeTypes.includes(doc.type)
    );

#### Example

    // Type guard for legislative documents
    function isLegislative(type: DocumentType): boolean {
      return ["REGULATION", "DIRECTIVE", "DECISION"].includes(type);
    }

    if (isLegislative(document.type)) {
      console.log("This is binding legislation");
    }

#### See

- LegislativeDocument for document structure
- https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:12016E288 (TFEU Article 288 - Legal Acts)

- Defined in types/ep/document.ts:278