{"id":24770329,"url":"https://github.com/obliosoftware/oblioapijs","last_synced_at":"2025-04-09T17:44:24.762Z","repository":{"id":170654986,"uuid":"646504089","full_name":"OblioSoftware/OblioApiJs","owner":"OblioSoftware","description":"Oblio.eu API implementation for NodeJS","archived":false,"fork":false,"pushed_at":"2024-03-04T07:53:14.000Z","size":53,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T09:17:57.126Z","etag":null,"topics":["api","facturare","javascript","oblio"],"latest_commit_sha":null,"homepage":"https://www.oblio.eu","language":"TypeScript","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-05-28T15:57:43.000Z","updated_at":"2025-03-15T18:18:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"89211421-e2de-4eaf-9f50-a56e04797dad","html_url":"https://github.com/OblioSoftware/OblioApiJs","commit_stats":null,"previous_names":["mihaicraciun88/oblioapijs","obliosoftware/oblioapijs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2FOblioApiJs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2FOblioApiJs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2FOblioApiJs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OblioSoftware%2FOblioApiJs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OblioSoftware","download_url":"https://codeload.github.com/OblioSoftware/OblioApiJs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248080403,"owners_count":21044500,"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","facturare","javascript","oblio"],"created_at":"2025-01-29T03:37:26.084Z","updated_at":"2025-04-09T17:44:24.734Z","avatar_url":"https://github.com/OblioSoftware.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OblioApiJs\n\n ![test workflow](https://github.com/OblioSoftware/OblioApiJs/actions/workflows/node.js.yml/badge.svg)\n\n Oblio.eu API implementation for NodeJS\n\n## Install\n\n```\nnpm i @obliosoftware/oblioapi\n```\n\n## Use\n\n```\nimport OblioApi from '@obliosoftware/oblioapi';\n\nconst data = {\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    'issueDate'         : (new Date()).toISOString().substring(0, 10),\n    'dueDate'           : '',\n    'deliveryDate'      : '',\n    'collectDate'       : '',\n    'seriesName'        : '',\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'          : '',\n    'value'             : 0,\n    'workStation'       : 'Sediu',\n    'useStock'          : 0,\n};\n\nconst api = new OblioApi(process.env.API_EMAIL, process.env.API_SECRET);\napi.createInvoice(data)\n    .then((response) =\u003e console.log(response))\n    .catch((error) =\u003e console.log(error));\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobliosoftware%2Foblioapijs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobliosoftware%2Foblioapijs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobliosoftware%2Foblioapijs/lists"}