{"id":22495048,"url":"https://github.com/invoiced/invoiced-dotnet","last_synced_at":"2025-08-03T02:30:51.372Z","repository":{"id":40400141,"uuid":"109464392","full_name":"Invoiced/invoiced-dotnet","owner":"Invoiced","description":"Official .NET client library for the Invoiced API","archived":false,"fork":false,"pushed_at":"2023-09-09T16:18:51.000Z","size":182,"stargazers_count":3,"open_issues_count":3,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-31T00:19:00.291Z","etag":null,"topics":["api","billing","csharp","dotnet","invoiced","nuget"],"latest_commit_sha":null,"homepage":"https://developer.invoiced.com/api/?csharp","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/Invoiced.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}},"created_at":"2017-11-04T03:38:46.000Z","updated_at":"2024-05-29T17:25:09.000Z","dependencies_parsed_at":"2023-02-09T23:46:00.758Z","dependency_job_id":null,"html_url":"https://github.com/Invoiced/invoiced-dotnet","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Invoiced%2Finvoiced-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Invoiced%2Finvoiced-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Invoiced%2Finvoiced-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Invoiced%2Finvoiced-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Invoiced","download_url":"https://codeload.github.com/Invoiced/invoiced-dotnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228517083,"owners_count":17932436,"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","billing","csharp","dotnet","invoiced","nuget"],"created_at":"2024-12-06T19:20:56.601Z","updated_at":"2024-12-06T19:20:57.301Z","avatar_url":"https://github.com/Invoiced.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# invoiced-dotnet\n\nThis repository contains the .NET client library for the [Invoiced](https://invoiced.com) API.\n\nYou can find detailed API documentation along with .NET code snippets [here](https://www.invoiced.com/resources/docs/api/?csharp).\n\n[![CI](https://github.com/Invoiced/invoiced-dotnet/actions/workflows/ci.yml/badge.svg)](https://github.com/Invoiced/invoiced-dotnet/actions/workflows/ci.yml)\n[![NuGet](https://img.shields.io/nuget/v/Invoiced.svg)](https://www.nuget.org/packages/Invoiced/)\n\n## Usage\n\nFirst, you must instantiate a new client\n\n```c#\nusing Invoiced;\n ...\nvar connection = new Connection(\"{YOUR_API_KEY}\",Invoiced.Environment.sandbox);\n```\n\nThen, API calls can be made like this:\n```c#\n# retrieve invoice\nvar invoice = connection.NewInvoice().retrieve(1);\n\n# mark as paid\nvar payment = connection.NewPayment();\npayment.Amount = invoice.Balance;\npayment.Method = \"check\";\npayment.AppliedTo = new[]\n{\n    new PaymentItem {Type = \"invoice\", Amount = 100, Invoice = invoice.Id}\n};\npayment.Create();\n```\n\n## Developing\n\nThe test suite can be ran with `dotnet test`\n\n## Deployment\n\nFollow these steps to publish a package to NuGet:\n\n```\ndotnet pack invoicedapi -c Release --output nuget\ncd nuget\nnuget push Invoiced.X.X.X.nupkg \u003capikey\u003e -Source https://api.nuget.org/v3/index.json\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvoiced%2Finvoiced-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finvoiced%2Finvoiced-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvoiced%2Finvoiced-dotnet/lists"}