{"id":25070528,"url":"https://github.com/obliosoftware/oblioappcsharp","last_synced_at":"2025-03-31T16:25:19.874Z","repository":{"id":216654773,"uuid":"741895080","full_name":"OblioSoftware/OblioAppCSharp","owner":"OblioSoftware","description":"Oblio.eu API implementation for C#","archived":false,"fork":false,"pushed_at":"2024-01-12T14:20:32.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T21:37:32.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.oblio.eu","language":"C#","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":"2024-01-11T10:34:08.000Z","updated_at":"2024-01-12T12:11:22.000Z","dependencies_parsed_at":"2024-01-11T18:27:06.699Z","dependency_job_id":"4528bb35-a646-4947-ae99-c8d7cbcb5423","html_url":"https://github.com/OblioSoftware/OblioAppCSharp","commit_stats":null,"previous_names":["obliosoftware/oblioappcsharp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2FOblioAppCSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2FOblioAppCSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2FOblioAppCSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2FOblioAppCSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OblioSoftware","download_url":"https://codeload.github.com/OblioSoftware/OblioAppCSharp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246497975,"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":[],"created_at":"2025-02-06T21:32:08.154Z","updated_at":"2025-03-31T16:25:19.841Z","avatar_url":"https://github.com/OblioSoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OblioAppCSharp\n Oblio.eu API implementation for C#\n\n## Create invoice\n\n```\ntry {\n    Env env = GetEnv();\n    string jsonString = @\"{\n        \"\"cif\"\": \"\"\"\",\n        \"\"client\"\": {\n            \"\"cif\"\": \"\"19\"\",\n            \"\"name\"\": \"\"Bucur Obor SRL\"\",\n            \"\"phone\"\": \"\"0800900900\"\"\n        },\n        \"\"seriesName\"\": \"\"\"\",\n        \"\"language\"\": \"\"RO\"\",\n        \"\"precision\"\": 2,\n        \"\"currency\"\": \"\"RON\"\",\n        \"\"collect\"\": {},\n        \"\"referenceDocument\"\": {},\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\"\": \"\"Ion Popescu\"\",\n        \"\"issuerId\"\": 1234567890123,\n        \"\"noticeNumber\"\": \"\"\"\",\n        \"\"internalNote\"\": \"\"Factura emisa din API\"\",\n        \"\"deputyName\"\": \"\"George Popescu\"\",\n        \"\"deputyIdentityCard\"\": \"\"ID 1234\"\",\n        \"\"deputyAuto\"\": \"\"CT 12345\"\",\n        \"\"selesAgent\"\": \"\"Marian Popescu\"\",\n        \"\"mentions\"\": \"\"Factura de test emisa din API\"\",\n        \"\"workStation\"\": \"\"Sediu\"\",\n        \"\"useStock\"\": 0\n    }\";\n\n    JsonNode? node = JsonNode.Parse(jsonString);\n    if (node == null) {\n        throw new Exception(\"Parse error jsonString\");\n    }\n    JsonObject data = (JsonObject)node;\n    data[\"cif\"] = env.Cif;\n    data[\"seriesName\"] = env.SeriesName;\n\n    OblioApi api = new OblioApi(env.Email, env.Secret);\n    JsonObject response = api.CreateDoc(\"invoice\", data);\n    Console.WriteLine(response[\"data\"]![\"link\"]!);\n} catch (Exception e) {\n    Console.WriteLine(e.Message);\n}\n```\n\n## Nomenclature\n```\ntry {\n    Env env = GetEnv();\n    OblioApi api = new OblioApi(env.Email, env.Secret);\n    api.SetCif(env.Cif);\n    JsonObject response = api.Nomenclature(\"products\");\n    Console.WriteLine(response.ToString());\n} catch (Exception e) {\n    Console.WriteLine(e.Message);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobliosoftware%2Foblioappcsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobliosoftware%2Foblioappcsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobliosoftware%2Foblioappcsharp/lists"}