{"id":25905761,"url":"https://github.com/EdiFabric/EDIFACT-Examples","last_synced_at":"2025-03-03T06:01:26.316Z","repository":{"id":27318254,"uuid":"30792567","full_name":"EdiFabric/EDIFACT.NET","owner":"EdiFabric","description":"EdiFabric C# .NET Examples for EDIFACT D96A, EANCOM D03B, EDIGAS 4.0, and IATA PNRGOV","archived":false,"fork":false,"pushed_at":"2024-07-30T12:13:16.000Z","size":3984,"stargazers_count":100,"open_issues_count":3,"forks_count":50,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-08-06T20:27:37.746Z","etag":null,"topics":["contrl","d03b","d96a","desadv","eancom","edi","edi-acknowledgments","edi-api","edi-files","edi-templates","edifabric","edifact","iata","invoic","orders","padis","pnrgov","translator","validator"],"latest_commit_sha":null,"homepage":"https://www.edifabric.com","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EdiFabric.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-02-14T09:36:34.000Z","updated_at":"2024-08-06T20:27:42.822Z","dependencies_parsed_at":"2023-01-14T06:28:07.537Z","dependency_job_id":"429e6476-eab4-41c0-aa94-52af8fb0d3ff","html_url":"https://github.com/EdiFabric/EDIFACT.NET","commit_stats":null,"previous_names":["edifabric/edifact-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdiFabric%2FEDIFACT.NET","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdiFabric%2FEDIFACT.NET/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdiFabric%2FEDIFACT.NET/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdiFabric%2FEDIFACT.NET/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdiFabric","download_url":"https://codeload.github.com/EdiFabric/EDIFACT.NET/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616689,"owners_count":19991542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contrl","d03b","d96a","desadv","eancom","edi","edi-acknowledgments","edi-api","edi-files","edi-templates","edifabric","edifact","iata","invoic","orders","padis","pnrgov","translator","validator"],"created_at":"2025-03-03T06:00:45.075Z","updated_at":"2025-03-03T06:01:26.204Z","avatar_url":"https://github.com/EdiFabric.png","language":"C#","funding_links":[],"categories":["Systems or Paid Services"],"sub_categories":["Golang"],"readme":"# EdiFabric C# .NET Examples for EDIFACT D96A, EANCOM D03B, IATA PADIS, and eDIGAS\n\n## 1. Overview\nEdiFabric is a software development kit for .NET Framework and .NET Core, which makes it straightforward to parse, generate, validate, acknowledge, split, customize, or in other words, to programmatically manipulate EDI files. It is written in C# and is distributed as a DLL file and a NuGet package.  \n\nIt currently supports all message types for the X12, EDIFACT, HL7, and NCPDP EDI standards, the German automotive standard VDA, as well as custom formatted flat files (delimited, positional, or a mixture of both).  \n\n\u003e NOTE: EdiFabric does not provide any communication components (AS2 or SFTP, for example), has no dashboard or UI, and is not a full end-to-end EDI solution.\nThe best option to get the gist of what EdiFabric is, and can do, is to play around with the trial and examples.  \n\nThe examples are organized into different projects in two logical categories: by product feature and by message type.   \n\n```C#\nvar ediStream = File.OpenRead(Directory.GetCurrentDirectory() + @\"\\..\\..\\..\\Files\\Edifact\\PurchaseOrder.txt\");\n\nList\u003cIEdiItem\u003e ediItems;\nusing (var ediReader = new EdifactReader(ediStream, \"EdiFabric.Templates.Edifact\"))\n    ediItems = ediReader.ReadToEnd().ToList();\n\nvar transactions = ediItems.OfType\u003cTSORDERS\u003e();\n```\n\n## 2. Requirements\n- Visual Studio, compatible with the supported .NET versions. [Download Visual Studio](https://visualstudio.microsoft.com/downloads/).\n- Minimum .NET Framework 4.8 or .NET 6. Downgrading to .NET Framework 4.5 is possible by changing the target framework for each project.\n\n## 3. Serial Key and EdiFabric trial DLLs\nAll projects reference EdiFabric EDI Tools as NuGet packages from nuget.org. If you wish to install EdiFabric EDI Tools as DLLs, download the trial DLLs from [here](https://sowl.co/oApEt).\n\n## 4. Setup\nRebuild the solution with Package Restore enabled. If there are any build errors, manually install the missing packages from [here](https://www.nuget.org/packages?q=edifabric).\n\n## 5. Getting started\nTo get started, set project EdiFabric.Examples.EDIFACT.Demo as the startup project, open Program.cs and follow the instructions there. This project allows you to quickly translate your own EDI files.\n\n## 6. Examples by feature\nExplore the different features of EdiFabric, such as translating from EDI file (ReadEDI), generating EDI file (WriteEDI), validating EDI transactions (ValidateEDI), import/export from/to JSON , XML, CSV, create/save/query database (DB), generate CONTRL acknowledgments (AcknowledgeEDI) and how to map to/from an EDI template using Automapper and XSLT (MapEDI).  \n\n## 7. Examples by message type\nExplore how to translate from and generate several of the most popular EDIFACT transactions. The following examples are included; please let us know if you need a different one:  \n\nEANCOM INVOIC Syntax 3  \nSMDG BAPLIE  \nUS Customs CUSCAR  \nUS Customs PAXLST  \nIATA PNRGOV  \nEDIGAS NOMINT  \nEDIFACT UN DESADV  \nEDIFACT UN IFTMIN  \nEDIFACT UN IFTSTA  \nEDIFACT UN INVOIC  \nEDIFACT UN ORDERS  \nEDIFACT UN ORDRSP  \nEDIFACT UN PRICAT  \n\n\u003e **If you need to test with a message type in a different version, [install the templates for that version from EdiNation](https://support.edifabric.com/hc/en-us/articles/360016750838-How-to-start-a-new-VS-project).**\n\n## 8. EDI Validation\nAll templates in EdiFabric.Templates.Edifact and EdiFabric.Templates.Padis can be used for validation.   \n\n## 9. EDI Templates\nEdiFabric supports all EDIFACT/EANCOM/IATA versions and message types. We have an extensive library of EDI templates, however, if you can't find a particular transaction, please let us know.   \nThe following templates are available out-of-the-box:\n\n[EDIFACT](https://support.edifabric.com/hc/en-us/articles/360000353611-EDIFACT-1911-to-D97A)\n\n[EANCOM](https://support.edifabric.com/hc/en-us/articles/360000349012-EANCOM-D93A-D96A-and-D01B-)\n\n[IATA PADIS](https://support.edifabric.com/hc/en-us/articles/360000349592-PNRGOV-Templates)\n\n[EDIGAS](https://support.edifabric.com/hc/en-us/articles/4406831178001-EDIGAS-4-0)\n\nFor an interactive view of all templates go to EdiNation (no registration is required):\n\n[EdiNation](https://edination.com/edi-formats.html)\n\n## 10. Trial use\nThe trial serial key is valid for 14 days, and using the product with a trial license is subject to EdiFabric's license terms available at https://www.edifabric.com/files/eula.pdf. Upon expiry, the product will begin throwing exceptions. To continue using the trial and the examples, you'll need to request a trial extension. \n\n## 11. Warranty\n*The source code in these example projects is strictly for demonstrational purposes and is provided \"AS IS\" without warranty of any kind, whether expressed or implied, including but not limited to the\nimplied warranties of merchantability and/or fitness for a particular purpose.*\n\n## 12. Additional information\n\n[Install EdiFabric](https://support.edifabric.com/hc/en-us/articles/360016808578-Install-EdiFabric)\n\n[Trial and Examples](https://support.edifabric.com/hc/en-us/articles/360000280532-Trial-and-Examples)\n\n[EdiFabric DB](https://support.edifabric.com/hc/en-us/articles/360029265372-EDI-to-DB)\n\n[EdiFabric Tutorial](https://support.edifabric.com/hc/en-us/articles/360000291511-Tutorial-EDI-NET-Tools-Basics)\n\n[Knowledge Base](https://support.edifabric.com)\n\n[Support](https://support.edifabric.com/hc/en-us/requests/new)\n\n### 2025 © EdiFabric\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEdiFabric%2FEDIFACT-Examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEdiFabric%2FEDIFACT-Examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEdiFabric%2FEDIFACT-Examples/lists"}