{"_id":"@ediflow/edifact-d20b","_rev":"7-5b8f8e74628bec67f7d8831cbf3a1f69","name":"@ediflow/edifact-d20b","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"@ediflow/edifact-d20b","version":"0.1.0","keywords":["edi","edifact","d20b","edifact-d20b","standard-definitions","message-structures","orders","invoic","desadv","iftmin","recadv","ordrsp","aperak","latest-standard"],"author":{"name":"EDIFlow Contributors"},"license":"MIT","_id":"@ediflow/edifact-d20b@0.1.0","maintainers":[{"name":"ediflow","email":"hello.ediflow@gmail.com"}],"homepage":"https://github.com/ediflow-lib/ediflow/tree/main/packages/edifact-d20b#readme","bugs":{"url":"https://github.com/ediflow-lib/ediflow/issues"},"dist":{"shasum":"a5dde995c4237b48ad9d6c18c2369ba2b778c4f6","tarball":"https://registry.npmjs.org/@ediflow/edifact-d20b/-/edifact-d20b-0.1.0.tgz","fileCount":279,"integrity":"sha512-ThWYWd6XegPpTGsmzViBM7B8WUNOFbRA3NLqFwf2zVEZBXSKMEyhGdoWm31L7n3jAHZTAZg0jqvOR105Z4dyZg==","signatures":[{"sig":"MEUCIHNEZMhotoBixuk0F2EcRQwWC8vjTvgW59f6hbRJnQzEAiEA4vjA/N//kVSATRo+uCiD1Fx8uZkbe/ZykyAIdu+Qzr8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1410080},"main":"./data/index.json","gitHead":"d5d33854e8ecac0052440bb312b8bd7974a616d7","_npmUser":{"name":"ediflow","email":"hello.ediflow@gmail.com"},"repository":{"url":"git+https://github.com/ediflow-lib/ediflow.git","type":"git","directory":"packages/edifact-d20b"},"_npmVersion":"10.9.3","description":"EDIFACT D.20B (2020) Standard Definitions - Latest Standard - 7 Message Types","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"peerDependencies":{"@ediflow/core":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/edifact-d20b_0.1.0_1769712890471_0.5945138163467121","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ediflow/edifact-d20b","version":"0.1.1","keywords":["edi","edifact","d20b","edifact-d20b","standard-definitions","message-structures","orders","invoic","desadv","iftmin","recadv","ordrsp","aperak","latest-standard"],"author":{"name":"EDIFlow Contributors"},"license":"MIT","_id":"@ediflow/edifact-d20b@0.1.1","maintainers":[{"name":"ediflow","email":"hello.ediflow@gmail.com"}],"homepage":"https://github.com/ediflow-lib/core#readme","bugs":{"url":"https://github.com/ediflow-lib/core/issues"},"dist":{"shasum":"aeb182276f71935be486b1b8c538d43e5de40ecc","tarball":"https://registry.npmjs.org/@ediflow/edifact-d20b/-/edifact-d20b-0.1.1.tgz","fileCount":279,"integrity":"sha512-FleGNDc991t7PsgOPPXNMbyxTe6j8pTycVFBJFagSRpQtl75FQBsTk16KreWR1u7UQd6JBP+kF3UaubXG37TJg==","signatures":[{"sig":"MEUCIQDhhUiwDmw+i9K9tkJx0e0uWfsbLE1iZ5erqPNXXTtS0QIgQeCNx/vMj6HOGjHejrpNLxM7Q1zyEQ8DojQt/KYaLb4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1409997},"main":"./data/index.json","gitHead":"4b76a69417feba79855c4460826787ed95d1c477","_npmUser":{"name":"ediflow","email":"hello.ediflow@gmail.com"},"repository":{"url":"git+https://github.com/ediflow-lib/core.git","type":"git"},"_npmVersion":"10.9.3","description":"EDIFACT D.20B (2020) Standard Definitions - Latest Standard - 7 Message Types","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"peerDependencies":{"@ediflow/core":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/edifact-d20b_0.1.1_1769833788144_0.5981349434767405","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@ediflow/edifact-d20b","version":"0.1.2","keywords":["edi","edifact","d20b","edifact-d20b","standard-definitions","message-structures","orders","invoic","desadv","iftmin","recadv","ordrsp","aperak","latest-standard"],"author":{"name":"EDIFlow Contributors"},"license":"MIT","_id":"@ediflow/edifact-d20b@0.1.2","maintainers":[{"name":"ediflow","email":"hello.ediflow@gmail.com"}],"homepage":"https://github.com/ediflow-lib/core#readme","bugs":{"url":"https://github.com/ediflow-lib/core/issues"},"dist":{"shasum":"d7683f16f321d83bfeb2abb176bba9cd1d5bd282","tarball":"https://registry.npmjs.org/@ediflow/edifact-d20b/-/edifact-d20b-0.1.2.tgz","fileCount":279,"integrity":"sha512-kkBM0lGOqHWkfUADPFYmBZFTX/erPMlM6+DRz6aEmwyt0eZjLUj2DbfCj2J5fc22iYzM+69ptAgMyaoLKwbLZA==","signatures":[{"sig":"MEUCIQDBgwLUtbgl401iUVanSzC5qemzHXkUCmcq0jKsdg7AgAIgdmHCuTIYrcgCEa3gqq3DGS+xPFsMOS00EI/H+FcBNmo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1409973},"main":"./data/index.json","gitHead":"7e209dbfc4e59c8cbb254bf76ba7fe2f2d89b123","_npmUser":{"name":"ediflow","email":"hello.ediflow@gmail.com"},"repository":{"url":"git+https://github.com/ediflow-lib/core.git","type":"git"},"_npmVersion":"10.9.3","description":"EDIFACT D.20B (2020) Standard Definitions - Latest Standard - 7 Message Types","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"peerDependencies":{"@ediflow/core":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/edifact-d20b_0.1.2_1769846612596_0.8779239140433697","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ediflow/edifact-d20b","version":"0.2.0","keywords":["edi","edifact","d20b","edifact-d20b","standard-definitions","message-structures","orders","invoic","desadv","iftmin","recadv","ordrsp","aperak","latest-standard"],"author":{"name":"EDIFlow Contributors"},"license":"MIT","_id":"@ediflow/edifact-d20b@0.2.0","maintainers":[{"name":"ediflow","email":"hello.ediflow@gmail.com"}],"homepage":"https://github.com/ediflow-lib/core#readme","bugs":{"url":"https://github.com/ediflow-lib/core/issues"},"dist":{"shasum":"6c9691677b26ceafaeaf71a0978bebee00bee22c","tarball":"https://registry.npmjs.org/@ediflow/edifact-d20b/-/edifact-d20b-0.2.0.tgz","fileCount":279,"integrity":"sha512-lIUYFYvaVp+H9TkuQdZLmxMvXZOeY9YkgYRFoj8bYJbowUxtiBzCiSVpPxE3i/r3SzYhSzMB9xuQy2I8xPadEA==","signatures":[{"sig":"MEYCIQDXSdQLQJ7hLHAViSG2vihbe86wPDlcfUBLtGCe7pzsygIhAIWKF6rbcgyqtQdOwneNP+STn4r3Vba09vs/A48DVf8a","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1409973},"main":"./data/index.json","gitHead":"f20a061f788bbba793c67be675c7019472ad906e","_npmUser":{"name":"ediflow","email":"hello.ediflow@gmail.com"},"repository":{"url":"git+https://github.com/ediflow-lib/core.git","type":"git"},"_npmVersion":"10.9.3","description":"EDIFACT D.20B (2020) Standard Definitions - Latest Standard - 7 Message Types","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"peerDependencies":{"@ediflow/core":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/edifact-d20b_0.2.0_1770700352226_0.6161607054551532","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ediflow/edifact-d20b","version":"0.2.1","keywords":["edi","edifact","d20b","edifact-d20b","standard-definitions","message-structures","un-edifact","edifact-parser","edifact-validation","business-mapping","orders","invoic","invoice","desadv","iftmin","recadv","ordrsp","aperak","latest-standard","supply-chain","b2b-integration","typescript"],"author":{"name":"EDIFlow Contributors"},"license":"MIT","_id":"@ediflow/edifact-d20b@0.2.1","maintainers":[{"name":"ediflow","email":"hello.ediflow@gmail.com"}],"homepage":"https://github.com/ediflow-lib/core#readme","bugs":{"url":"https://github.com/ediflow-lib/core/issues"},"dist":{"shasum":"9a3efb80630c9642c21fe5b6c26a75b98fa2a6b5","tarball":"https://registry.npmjs.org/@ediflow/edifact-d20b/-/edifact-d20b-0.2.1.tgz","fileCount":279,"integrity":"sha512-L/9NVcMzF1xKbhV0cl96nN4SQKV8GqTlQbbGdPlsB6HSDCzvyOluAJeq1G7mlht9MOn4wLa33Q9PQ/JjKH4vOA==","signatures":[{"sig":"MEQCIFw5Dp7hnGT9579gGXAaI4fIze03M+/cAf9aqkLRmg1dAiApyqea9wgtIaBPVUAzAE0k5bj4ZfAuuuZcldxrLJLqZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1410139},"main":"./data/index.json","gitHead":"9e0e399136f4523b97bd2e7af80075ba80a1e195","_npmUser":{"name":"ediflow","email":"hello.ediflow@gmail.com"},"repository":{"url":"git+https://github.com/ediflow-lib/core.git","type":"git"},"_npmVersion":"10.9.3","description":"EDIFACT D.20B (2020) Standard Definitions - Latest Standard - 7 Message Types","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"peerDependencies":{"@ediflow/core":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/edifact-d20b_0.2.1_1770725296619_0.658732539018255","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@ediflow/edifact-d20b","version":"0.3.0","keywords":["edi","edifact","d20b","edifact-d20b","standard-definitions","message-structures","un-edifact","edifact-parser","edifact-validation","business-mapping","orders","invoic","invoice","desadv","iftmin","recadv","ordrsp","aperak","latest-standard","supply-chain","b2b-integration","typescript"],"author":{"name":"EDIFlow Contributors"},"license":"MIT","_id":"@ediflow/edifact-d20b@0.3.0","maintainers":[{"name":"ediflow","email":"hello.ediflow@gmail.com"}],"homepage":"https://github.com/ediflow-lib/core#readme","bugs":{"url":"https://github.com/ediflow-lib/core/issues"},"dist":{"shasum":"68735ba2e2b9c117e486d8905d44d32324b18b57","tarball":"https://registry.npmjs.org/@ediflow/edifact-d20b/-/edifact-d20b-0.3.0.tgz","fileCount":467,"integrity":"sha512-W99zUpX6MFuZ5aNImwjR5v7JxzfyPLKKMhJJrnE+S9NoerbX6NSs09I/41fDfdCxi3UlNW0J9aoOkt25cqARkg==","signatures":[{"sig":"MEYCIQD9V34m7cbI4l7CsfAiqr1LnA5oa1ge+jytJkDuuH8sPQIhAM5lYQY1g2pGF3ZO3mf6mkaHlj3h6kkYUEAQlkGfjlQ5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5063614},"main":"./data/index.json","gitHead":"a0b1155f0a2944828c45b6a375017d6fa01a6650","_npmUser":{"name":"ediflow","email":"hello.ediflow@gmail.com"},"repository":{"url":"git+https://github.com/ediflow-lib/core.git","type":"git"},"_npmVersion":"10.9.3","description":"EDIFACT D.20B (2020) Standard Definitions - Latest Standard - 7 Message Types","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"peerDependencies":{"@ediflow/core":">=0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/edifact-d20b_0.3.0_1777834403931_0.6731350659763753","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@ediflow/edifact-d20b","version":"0.3.1","description":"EDIFACT D.20B (2020) Standard Definitions - Latest Standard - 195 Message Types","main":"./data/index.json","keywords":["edi","edifact","d20b","edifact-d20b","standard-definitions","message-structures","un-edifact","edifact-parser","edifact-validation","business-mapping","orders","invoic","invoice","desadv","iftmin","recadv","ordrsp","aperak","latest-standard","supply-chain","b2b-integration","typescript"],"author":{"name":"EDIFlow Contributors"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ediflow-lib/core.git"},"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/edifact-d20b@0.3.1","gitHead":"11690ea143c2653855447c2b15e822fcdffb30fc","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-syYgAtY3EPMuQySL/TDwfC3he0tiAWvfYt8xCvLrOl4KCipchUwh/EFxg1whS/BpziyQ93ntkEV2r+s2ULw7Aw==","shasum":"cb144c46b97cda42ebeb26d8843d6dd1b4e4e5f4","tarball":"https://registry.npmjs.org/@ediflow/edifact-d20b/-/edifact-d20b-0.3.1.tgz","fileCount":467,"unpackedSize":5063614,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCKkxg7YNqEUMy1CvFsb5l4hk0s2scGJhBXpF/CW8JDIwIgK6zzU3RlMNaAbVCjLP3ehuOBQslBrU83SpsxXKc7pdg="}]},"_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/edifact-d20b_0.3.1_1778739139864_0.6311313688843352"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-29T18:54:50.378Z","modified":"2026-05-14T06:12:20.176Z","0.1.0":"2026-01-29T18:54:50.675Z","0.1.1":"2026-01-31T04:29:48.391Z","0.1.2":"2026-01-31T08:03:32.794Z","0.2.0":"2026-02-10T05:12:32.432Z","0.2.1":"2026-02-10T12:08:16.822Z","0.3.0":"2026-05-03T18:53:24.119Z","0.3.1":"2026-05-14T06:12:20.064Z"},"bugs":{"url":"https://github.com/ediflow-lib/core/issues"},"author":{"name":"EDIFlow Contributors"},"license":"MIT","homepage":"https://github.com/ediflow-lib/core#readme","keywords":["edi","edifact","d20b","edifact-d20b","standard-definitions","message-structures","un-edifact","edifact-parser","edifact-validation","business-mapping","orders","invoic","invoice","desadv","iftmin","recadv","ordrsp","aperak","latest-standard","supply-chain","b2b-integration","typescript"],"repository":{"type":"git","url":"git+https://github.com/ediflow-lib/core.git"},"description":"EDIFACT D.20B (2020) Standard Definitions - Latest Standard - 195 Message Types","maintainers":[{"name":"ediflow","email":"hello.ediflow@gmail.com"}],"readme":"# @ediflow/edifact-d20b\n\n> EDIFACT D.20B (2020) Standard Definitions\n\n[![NPM Version](https://img.shields.io/npm/v/@ediflow/edifact-d20b.svg)](https://www.npmjs.com/package/@ediflow/edifact-d20b)\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/edifact-d20b)](https://www.npmjs.com/package/@ediflow/edifact-d20b)\n\n**EDIFACT D.20B** • **7 Message Types** • **MIT Licensed** • **Free**\n\n---\n\n## 📦 What is this?\n\nThis package contains **EDIFACT D.20B (2020) standard definitions** for use with `@ediflow/core`.\n\n**Includes:**\n- Message structures (7 message types)\n- Segment definitions\n- Element definitions\n- Composite definitions\n- Code lists\n\n**Version:** D.20B (2020) - **Latest EDIFACT standard** ⭐\n\n---\n\n## 🚀 Installation\n\n```bash\n# Install core library (required)\nnpm install @ediflow/core\n\n# Install this standard package\nnpm install @ediflow/edifact-d20b\n```\n\n---\n\n## 📊 Supported Message Types (7)\n\n| Message Type | Description | Use Case |\n|--------------|-------------|----------|\n| **APERAK** | Application Error & Acknowledgement | Error handling |\n| **DESADV** | Despatch Advice | Shipping notifications |\n| **IFTMIN** | Forwarding & Transport Message | Transport instructions |\n| **INVOIC** | Invoice | Billing documents |\n| **ORDERS** | Purchase Order | Order placement |\n| **ORDRSP** | Order Response | Order confirmations |\n| **RECADV** | Receiving Advice | Goods receipt |\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 EDIFACT message\nconst parsed = parseUseCase.execute({\n  message: edifactString,\n  standard: 'EDIFACT'\n});\n\n// Validate against D.20B structure\nconst validation = validateUseCase.execute({\n  message: parsed.message,\n  messageType: 'ORDERS',\n  version: 'D20B',\n  repositoryPath: './node_modules/@ediflow/edifact-d20b/data'\n});\n\nif (validation.success) {\n  console.log('✅ Valid D.20B ORDERS message!');\n}\n```\n\n---\n\n## 📁 Package Contents\n\n```\n@ediflow/edifact-d20b/\n└── data/\n    ├── codes/               # Code lists\n    ├── composites.json      # Composite elements\n    ├── elements.json        # Data elements\n    ├── messages/            # Message structures (7 types)\n    │   ├── APERAK.json\n    │   ├── DESADV.json\n    │   ├── IFTMIN.json\n    │   ├── INVOIC.json\n    │   ├── ORDERS.json\n    │   ├── ORDRSP.json\n    │   └── RECADV.json\n    └── segments.json        # Segment definitions\n```\n\n**Package Size:** ~1.34 MB\n\n---\n\n## 🎯 When to Use D.20B\n\n**Use D.20B if:**\n- ✅ Starting new EDIFACT integration (recommended!)\n- ✅ Need latest standard features\n- ✅ Modern logistics & retail\n- ✅ Comprehensive message coverage (196 types)\n- ✅ No legacy system constraints\n\n**This is the recommended version for new projects!** ⭐\n\n**Consider other versions if:**\n- 🔄 **D.01B** - Most comprehensive (226 message types)\n- 🔄 **D.12A** - Alternative comprehensive version (198 messages)\n- 🔄 **D.96A** - Legacy partner requirements (126 messages)\n\n---\n\n## 📦 Related Packages\n\n**Core:**\n- [`@ediflow/core`](https://npmjs.com/package/@ediflow/core) - Core library (REQUIRED)\n\n**Other EDIFACT Standards:**\n- [`@ediflow/edifact-d96a`](https://npmjs.com/package/@ediflow/edifact-d96a) - D.96A (1996) - 7 messages\n- [`@ediflow/edifact-d01b`](https://npmjs.com/package/@ediflow/edifact-d01b) - D.01B (2001) - 4 messages\n- [`@ediflow/edifact-d12a`](https://npmjs.com/package/@ediflow/edifact-d12a) - D.12A (2012) - 196 messages\n- [`@ediflow/eancom-2002`](https://npmjs.com/package/@ediflow/eancom-2002) - EANCOM 2002 - 50 messages (GS1 Retail)\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 message types? 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:** [ediflow-lib/core](https://github.com/ediflow-lib/core)\n- **NPM:** [@ediflow/edifact-d20b](https://www.npmjs.com/package/@ediflow/edifact-d20b)\n- **Core Package:** [@ediflow/core](https://www.npmjs.com/package/@ediflow/core)\n\n---\n\n**Made with ❤️ for the EDI community**\n","readmeFilename":"README.md"}