{"id":13343021,"url":"https://github.com/ebs-integrator/bic-reporting-api","last_synced_at":"2026-01-16T13:33:01.845Z","repository":{"id":45433837,"uuid":"361683171","full_name":"ebs-integrator/bic-reporting-api","owner":"ebs-integrator","description":"BIC Reporting Implementation in Python 3.8 with DRF","archived":false,"fork":false,"pushed_at":"2021-12-14T07:34:01.000Z","size":254,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-24T15:38:00.391Z","etag":null,"topics":["api","bic","django-rest-framework","drf","python3","rest-api","xml"],"latest_commit_sha":null,"homepage":"","language":"XSLT","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/ebs-integrator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-26T08:58:23.000Z","updated_at":"2023-11-09T12:09:33.000Z","dependencies_parsed_at":"2022-09-10T11:42:41.606Z","dependency_job_id":null,"html_url":"https://github.com/ebs-integrator/bic-reporting-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebs-integrator%2Fbic-reporting-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebs-integrator%2Fbic-reporting-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebs-integrator%2Fbic-reporting-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebs-integrator%2Fbic-reporting-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebs-integrator","download_url":"https://codeload.github.com/ebs-integrator/bic-reporting-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158977,"owners_count":20245668,"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":["api","bic","django-rest-framework","drf","python3","rest-api","xml"],"created_at":"2024-07-29T19:30:36.550Z","updated_at":"2026-01-16T13:33:01.818Z","avatar_url":"https://github.com/ebs-integrator.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BIC Reporting API\n\n\nBIC (Biroul Istoriilor de Credit) `bicr.md` Reporting API Implementation\n\n## Process\n\n1. Generate BIC XML\n2. Sign XML at itsec.md\n3. Receive signed XML\n4. Send xml \u0026 signature to BIC to receive company report\n\nUnderstanding logic , core\n```sh\napplications/reports/process\n\nCheck ProcessService for better understanding\napplications/reports/process/__init__.py\n```\n\n## Requirements\n\n1. Python 3.8\n\n\n## Installation\n\nBefore running this project you should have certificates from `bicr.md` and signing domain from `itsec.md` , at the moment those are:\n```\n1.pem (CHAIN)\n2.pem (CA)\n3.pem (KEY)\nprivate.pem (user certificate)\n```\n\nSetup .env:\n```sh\ncp .env.example .env\n```\n\n\n```sh\nSERVICE_BIC_HOST=http://sigun.bicr.md/api/bulkReport2/\nSERVICE_BIC_USERNAME=test\nSERVICE_BIC_PASSWORD=test\n\nSERVICE_SIGNATURE_HOST=\nSERVICE_SIGNATURE_CERTIFICATES=certificates\nSERVICE_SIGNATURE_TEMPLATES=templates\nSERVICE_SIGNATURE_PRIVATES=privates\n```\n\n```sh\nReplace 1.pem , 2.pem , 3.pem , privat.pem under certificates \u0026 privates folder\n```\n\nInstall dependencies\n```sh\npipenv install\n```\n\nRun migrations\n```sh\npython manage.py migrate\n```\n\nRun server\n```sh\npython manage.py runserver\n```\n\n## Requests\n\nPlace order example\n```sh\nPOST http://127.0.0.1:8000/api/orders/\n{\n    \"id\": 100,\n    \"idno\": \"2\",\n    \"title\": \"Company\"\n}\n```\nParse received XML\n```sh\nPOST http://127.0.0.1:8000/api/parsers/xml/\n{\n    \"idno\": \"2\",\n    \"xml\": \"\u003cxml/\u003e\"\n}\n```\nGenerate parsed XML `BIC - PDF`\n```sh\nGET http://127.0.0.1:8000/api/parsers/1/\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febs-integrator%2Fbic-reporting-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febs-integrator%2Fbic-reporting-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febs-integrator%2Fbic-reporting-api/lists"}