{"id":25070534,"url":"https://github.com/obliosoftware/oblio_api_python","last_synced_at":"2025-03-31T16:25:23.076Z","repository":{"id":208981149,"uuid":"722946467","full_name":"OblioSoftware/oblio_api_python","owner":"OblioSoftware","description":"Oblio.eu API implementation for Python","archived":false,"fork":false,"pushed_at":"2024-01-16T05:34:38.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T21:37:36.791Z","etag":null,"topics":["facturare","oblio","python"],"latest_commit_sha":null,"homepage":"https://www.oblio.eu","language":"Python","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/OblioSoftware.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}},"created_at":"2023-11-24T10:19:32.000Z","updated_at":"2025-02-02T17:28:59.000Z","dependencies_parsed_at":"2024-02-17T17:00:45.165Z","dependency_job_id":null,"html_url":"https://github.com/OblioSoftware/oblio_api_python","commit_stats":null,"previous_names":["obliosoftware/oblio_api_python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2Foblio_api_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2Foblio_api_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2Foblio_api_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2Foblio_api_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OblioSoftware","download_url":"https://codeload.github.com/OblioSoftware/oblio_api_python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246497982,"owners_count":20787237,"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":["facturare","oblio","python"],"created_at":"2025-02-06T21:32:11.053Z","updated_at":"2025-03-31T16:25:23.039Z","avatar_url":"https://github.com/OblioSoftware.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oblio_api_python\n Oblio.eu API implementation for Python\n\n## create invoice\n```\nfrom oblio_api import OblioApi, OblioException\n\ndata = {\n    'cif'                : '',\n    'client'             : {\n        'cif'           : '',\n        'name'          : '',\n        'rc'            : '',\n        'code'          : '',\n        'address'       : '',\n        'state'         : '',\n        'city'          : '',\n        'country'       : '',\n        'iban'          : '',\n        'bank'          : '',\n        'email'         : '',\n        'phone'         : '',\n        'contact'       : '',\n        'vatPayer'      : '',\n    },\n    'dueDate'            : '',\n    'deliveryDate'       : '',\n    'collectDate'        : '',\n    'seriesName'         : 'FCT',\n    'collect'            : {},\n    'referenceDocument'  : {},\n    'language'           : 'RO',\n    'precision'          : 2,\n    'currency'           : 'RON',\n    'products'           : [\n        {\n            'name'          : 'Abonament',\n            'code'          : '',\n            'description'   : '',\n            'price'         : '100',\n            'measuringUnit' : 'buc',\n            'currency'      : 'RON',\n            'vatName'       : 'Normala',\n            'vatPercentage' : 19,\n            'vatIncluded'   : True,\n            'quantity'      : 2,\n            'productType'   : 'Serviciu',\n        }\n    ],\n    'issuerName'         : '',\n    'issuerId'           : '',\n    'noticeNumber'       : '',\n    'internalNote'       : '',\n    'deputyName'         : '',\n    'deputyIdentityCard' : '',\n    'deputyAuto'         : '',\n    'selesAgent'         : '',\n    'mentions'           : 'Factura facuta din python',\n    'value'              : 0,\n    'workStation'        : 'Sediu',\n    'useStock'           : 0,\n}\n\nif __name__ == '__main__':\n    try:\n        email = ''\n        secret = ''\n        api = OblioApi(email, secret)\n\n        response = api.create_doc('invoice', data)\n        print(response)\n\n    except OblioException as e:\n        print(e.text)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobliosoftware%2Foblio_api_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobliosoftware%2Foblio_api_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobliosoftware%2Foblio_api_python/lists"}