{"id":22261742,"url":"https://github.com/jsonfm/pysri","last_synced_at":"2025-03-25T13:41:52.220Z","repository":{"id":233088691,"uuid":"783530238","full_name":"jsonfm/pysri","owner":"jsonfm","description":"Facturación electrónica del SRI con Python","archived":false,"fork":false,"pushed_at":"2024-04-13T04:38:42.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T12:30:13.863Z","etag":null,"topics":["ecuador","facturacion-electronica","invoice","python","sri"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/jsonfm.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}},"created_at":"2024-04-08T04:34:50.000Z","updated_at":"2024-07-08T01:51:24.000Z","dependencies_parsed_at":"2024-04-13T18:26:09.384Z","dependency_job_id":null,"html_url":"https://github.com/jsonfm/pysri","commit_stats":null,"previous_names":["jsonfm/pysri"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonfm%2Fpysri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonfm%2Fpysri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonfm%2Fpysri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsonfm%2Fpysri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsonfm","download_url":"https://codeload.github.com/jsonfm/pysri/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245472688,"owners_count":20621158,"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":["ecuador","facturacion-electronica","invoice","python","sri"],"created_at":"2024-12-03T09:14:09.004Z","updated_at":"2025-03-25T13:41:52.190Z","avatar_url":"https://github.com/jsonfm.png","language":"Python","readme":"### PySRI\n\nPython + SRI e-invoicing\n\n### Sign XML Invoice and Authorize\n\n```python\nfrom pysri import sign_invoice_and_authorize, AmbienteType\n\nwith open(\"/signature.p12\", mode=\"rb\") as file:\n    p12 = file.read() # bytes\n\ninvoice_xml = \"\"\"\u003cxml\u003e\u003cdata\u003esome important data\u003c/data\u003e\u003c/xml\u003e\"\"\"\nresponse = sign_invoice_and_authorize(\n    p12,\n    \"password\",\n    invoice_xml,\n    AmbienteType.PRUEBAS,\n    validate_input=True\n)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonfm%2Fpysri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsonfm%2Fpysri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsonfm%2Fpysri/lists"}