{"id":27401262,"url":"https://github.com/hendrixfan/ubl2cii","last_synced_at":"2025-06-30T00:06:23.651Z","repository":{"id":287764912,"uuid":"957393361","full_name":"hendrixfan/ubl2cii","owner":"hendrixfan","description":"A Ruby Gem to convert UBL XML files to CII XML files.","archived":false,"fork":false,"pushed_at":"2025-05-26T13:37:45.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T21:26:26.842Z","etag":null,"topics":["cii","e-invoice","ubl","zugferd"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hendrixfan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-03-30T08:56:43.000Z","updated_at":"2025-05-26T13:37:48.000Z","dependencies_parsed_at":"2025-05-26T11:34:51.255Z","dependency_job_id":"89aaec9f-0c19-45ca-8c7e-3c69ef0e3df6","html_url":"https://github.com/hendrixfan/ubl2cii","commit_stats":null,"previous_names":["hendrixfan/ubl2cii"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hendrixfan/ubl2cii","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrixfan%2Fubl2cii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrixfan%2Fubl2cii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrixfan%2Fubl2cii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrixfan%2Fubl2cii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hendrixfan","download_url":"https://codeload.github.com/hendrixfan/ubl2cii/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrixfan%2Fubl2cii/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262685694,"owners_count":23348451,"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":["cii","e-invoice","ubl","zugferd"],"created_at":"2025-04-14T03:54:34.097Z","updated_at":"2025-06-30T00:06:23.639Z","avatar_url":"https://github.com/hendrixfan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UblToCiiConverter\n\nA Ruby Gem to convert UBL XML files to CII XML files.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'ubl2cii'\n```\n\nAnd then execute:\n\n```bash\n$ bundle install\n```\n\nOr install it yourself as:\n\n```bash\n$ gem install ubl2cii\n```\n\n## Usage\n\n### Basic Usage Example\n\nHere is a simple example of converting a UBL XML file to a CII XML file using the `Ubl2Cii::Converter` class.\n\n```ruby\nrequire 'ubl2cii'\n\n# Read the UBL XML file\nubl_xml = File.read('path/to/ubl_invoice.xml')\n\n# Initialize the converter\nconverter = Ubl2Cii::Converter.new(ubl_xml)\n\n# Convert to CII XML\ncii_xml = converter.convert_to_cii\n\n# Output the resulting CII XML\nFile.write('path/to/cii_invoice.xml', cii_xml)\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Dependencies\n\nThis project depends on the following gems:\n\n- `nokogiri` (\u003e= 1.18)\n\n## Running Tests\n\nTo run the tests, execute:\n\n```bash\n$ bundle exec rake spec\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrixfan%2Fubl2cii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhendrixfan%2Fubl2cii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrixfan%2Fubl2cii/lists"}