{"_id":"@ediflow/x12-006040","name":"@ediflow/x12-006040","dist-tags":{"latest":"0.3.0"},"versions":{"0.3.0":{"name":"@ediflow/x12-006040","version":"0.3.0","description":"X12 006040 Standard Definitions - 319 Transaction Sets (Latest Release 2026)","main":"./data/index.json","private":false,"keywords":["edi","x12","006040","ansi","asc-x12","standard-definitions","message-structures","transaction-sets","node-x12","x12-parser","x12-validation","business-mapping","850","810","856","997","typescript"],"author":{"name":"EDIFlow Contributors"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ediflow-lib/core.git","directory":"packages/x12-006040"},"bugs":{"url":"https://github.com/ediflow-lib/core/issues"},"homepage":"https://github.com/ediflow-lib/core#readme","peerDependencies":{"@ediflow/core":">=0.1.0"},"_id":"@ediflow/x12-006040@0.3.0","gitHead":"a0b1155f0a2944828c45b6a375017d6fa01a6650","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-wWzZhxPFUSLsiGBbbaxPZAd4cclffzluzeFOTkRPRWO2UyP+rXuky2zDEL8h6ZcV/gPQzJ8VL/NHtCJ8wpNI1Q==","shasum":"5c2f9e8a5ec8796488f28af85d7d58a7126651c8","tarball":"https://registry.npmjs.org/@ediflow/x12-006040/-/x12-006040-0.3.0.tgz","fileCount":1113,"unpackedSize":7606356,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDwrq3nj7vB5OGiIMfhhgiFzH8B+6hyicE0WQon3K5zFAIgeuvGLY06KOIoAz2W5tu41fhbagEdhjt9Kajd6+JQ+ko="}]},"_npmUser":{"name":"ediflow","email":"hello.ediflow@gmail.com"},"directories":{},"maintainers":[{"name":"ediflow","email":"hello.ediflow@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/x12-006040_0.3.0_1777834445077_0.8865958451305469"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-03T18:54:04.987Z","0.3.0":"2026-05-03T18:54:05.320Z","modified":"2026-05-03T18:54:05.530Z"},"maintainers":[{"name":"ediflow","email":"hello.ediflow@gmail.com"}],"description":"X12 006040 Standard Definitions - 319 Transaction Sets (Latest Release 2026)","homepage":"https://github.com/ediflow-lib/core#readme","keywords":["edi","x12","006040","ansi","asc-x12","standard-definitions","message-structures","transaction-sets","node-x12","x12-parser","x12-validation","business-mapping","850","810","856","997","typescript"],"repository":{"type":"git","url":"git+https://github.com/ediflow-lib/core.git","directory":"packages/x12-006040"},"author":{"name":"EDIFlow Contributors"},"bugs":{"url":"https://github.com/ediflow-lib/core/issues"},"license":"MIT","readme":"# @ediflow/x12-006040\n\n> X12 006040 (2026) Standard Definitions - Latest ANSI ASC X12 Release\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Package Size](https://img.shields.io/bundlephobia/min/@ediflow/x12-006040)](https://www.npmjs.com/package/@ediflow/x12-006040)\n\n**X12 006040** • **319 Transaction Sets** • **Latest 2026 Release** • **MIT Licensed** • **Free**\n\n---\n\n## 📦 What is this?\n\nThis package contains **X12 006040 (2026) standard definitions** for use with `@ediflow/core`.\n\n**X12 006040** is the **latest ANSI ASC X12 release** with the most comprehensive transaction set coverage.\n\n**Includes:**\n- Transaction set structures (319 transaction sets)\n- Segment definitions\n- Element definitions\n- Composite definitions\n- Code lists\n- Syntax rules\n\n**Version:** 006040 (Released 2026) - Latest standard\n\n---\n\n## 🚀 Installation\n\n```bash\n# Install core library (required)\nnpm install @ediflow/core\n\n# This package is internal - install locally\ncd packages/x12-006040\nnpm install\n```\n\n---\n\n## 📊 Supported Transaction Sets (319)\n\n### 🛒 Core Purchasing\n| Transaction Set | Description | Use Case |\n|----------------|-------------|----------|\n| **850** | Purchase Order | Order placement |\n| **855** | Purchase Order Acknowledgment | Order confirmation |\n| **860** | Purchase Order Change | Order modifications |\n| **865** | Purchase Order Change Acknowledgment | Change confirmation |\n\n### 📦 Shipping & Receiving\n| Transaction Set | Description | Use Case |\n|----------------|-------------|----------|\n| **856** | Ship Notice/Manifest | ASN (Advanced Shipping Notice) |\n| **857** | Shipment & Billing Notice | Shipment details |\n\n### 💰 Invoicing & Payment\n| Transaction Set | Description | Use Case |\n|----------------|-------------|----------|\n| **810** | Invoice | Billing documents |\n| **820** | Payment Order/Remittance | Payment processing |\n| **824** | Application Advice | Transaction status |\n| **997** | Functional Acknowledgment | EDI receipt confirmation |\n\n### 🏥 Healthcare (HIPAA)\n| Transaction Set | Description |\n|----------------|-------------|\n| **270/271** | Eligibility Inquiry/Response |\n| **276/277** | Claim Status Inquiry/Response |\n| **278** | Authorization Request |\n| **834** | Benefit Enrollment |\n| **835** | Claims Payment/Remittance |\n| **837** | Healthcare Claims (I/P/D) |\n\n### 🚚 Transportation\n| Transaction Set | Description |\n|----------------|-------------|\n| **204** | Motor Carrier Load Tender |\n| **210** | Freight Invoice |\n| **214** | Transportation Shipment Status |\n| **990** | Response to Load Tender |\n\n### 📊 Inventory & Planning\n| Transaction Set | Description |\n|----------------|-------------|\n| **846** | Inventory Inquiry/Advice |\n| **830** | Planning Schedule |\n| **862** | Shipping Schedule |\n\n**+ 300+ additional transaction sets** covering all industries and use cases.\n\n---\n\n## 📖 Usage Example\n\n```typescript\nimport { DIContainer } from '@ediflow/core';\n\nconst container = DIContainer.getInstance();\nconst parseUseCase = container.resolve('ParseEDIUseCase');\nconst validateUseCase = container.resolve('ValidateMessageUseCase');\n\n// Parse X12 message\nconst parsed = parseUseCase.execute({\n  message: x12String,\n  standard: 'X12'\n});\n\n// Validate against 006040 structure\nconst validation = validateUseCase.execute({\n  message: parsed.message,\n  messageType: '850',\n  version: '006040',\n  repositoryPath: './packages/x12-006040/data'\n});\n\nif (validation.success) {\n  console.log('✅ Valid 006040 850 Purchase Order!');\n}\n```\n\n---\n\n## 📁 Package Contents\n\n```\n@ediflow/x12-006040/\n└── data/\n    ├── codes/                    # Code lists\n    │   └── codes.json\n    ├── composites.json           # Composite elements\n    ├── elements.json             # Data elements\n    ├── index.json                # Package metadata\n    ├── messages/                 # Transaction set structures (319)\n    │   ├── 850.json             # Purchase Order\n    │   ├── 810.json             # Invoice\n    │   ├── 856.json             # ASN\n    │   ├── 997.json             # Functional ACK\n    │   └── ... (315 more)\n    ├── segment-syntax-rules.json # Segment validation rules\n    └── segments.json             # Segment definitions\n```\n\n**Package Size:** ~8.5 MB\n\n---\n\n## 🎯 When to Use 006040\n\n**Use 006040 if:**\n- ✅ **Latest features** - Need newest transaction sets\n- ✅ **Future-proofing** - Planning for long-term compatibility\n- ✅ **Development** - Testing against latest standard\n- ✅ **Internal systems** - Not exchanging with external partners\n\n**Use 004010 instead if:**\n- 🔄 **Production** - Most widely adopted (industry standard)\n- 🔄 **Interoperability** - Trading partners use 004010\n- 🔄 **Automotive** - Industry standard for automotive\n\n**Use 005010 instead if:**\n- 🔄 **Healthcare** - HIPAA compliance required\n- 🔄 **Medical claims** - 837/835 transactions\n\n---\n\n## 🆚 Version Comparison\n\n| Version | Year | Transaction Sets | Use Case |\n|---------|------|-----------------|----------|\n| **004010** | 2000 | 293 | **Industry standard** |\n| **005010** | 2012 | 310 | HIPAA healthcare |\n| **006040** | 2026 | 319 | **Latest release** |\n\n---\n\n## 📦 Related Packages\n\n**Core:**\n- [`@ediflow/core`](https://npmjs.com/package/@ediflow/core) - Core library (REQUIRED)\n\n**Other X12 Standards:**\n- [`@ediflow/x12-004010`](https://npmjs.com/package/@ediflow/x12-004010) - 004010 (2000) - **RECOMMENDED**\n- [`@ediflow/hipaa-x12-005010`](https://npmjs.com/package/@ediflow/hipaa-x12-005010) - 005010 HIPAA (2012)\n\n---\n\n## 📚 Documentation\n\n- **[Quick Start Guide](https://github.com/ediflow-lib/core/blob/main/docs/QUICK_START.md)**\n- **[Main README](https://github.com/ediflow-lib/core/blob/main/README.md)**\n- **[Architecture](https://github.com/ediflow-lib/core/blob/main/docs/ARCHITECTURE.md)**\n\n---\n\n## 🤝 Contributing\n\nData corrections or additional transaction sets? We welcome contributions!\n- [Report issues](https://github.com/ediflow-lib/core/issues)\n- [Contribute](https://github.com/ediflow-lib/core/blob/main/CONTRIBUTING.md)\n\n---\n\n## 📄 License\n\nMIT License - see [LICENSE](https://github.com/ediflow-lib/core/blob/main/LICENSE)\n\n---\n\n## 🔗 Links\n\n- **GitHub:** https://github.com/ediflow-lib/core\n- **ASC X12:** https://x12.org\n\n---\n\n**Built with ❤️ by the EDIFlow community**\n\n","readmeFilename":"README.md","_rev":"1-95a510502a883bed78d6cf49773d4c5b"}