Minicon.SevDesk.Client
0.2.3
dotnet add package Minicon.SevDesk.Client --version 0.2.3
NuGet\Install-Package Minicon.SevDesk.Client -Version 0.2.3
<PackageReference Include="Minicon.SevDesk.Client" Version="0.2.3" />
paket add Minicon.SevDesk.Client --version 0.2.3
#r "nuget: Minicon.SevDesk.Client, 0.2.3"
// Install Minicon.SevDesk.Client as a Cake Addin #addin nuget:?package=Minicon.SevDesk.Client&version=0.2.3 // Install Minicon.SevDesk.Client as a Cake Tool #tool nuget:?package=Minicon.SevDesk.Client&version=0.2.3
Minicon.SevDesk.Client
Overview
Minicon.SevDesk.Client is a specialized C# application aimed at seamlessly integrating and managing various operations related to SevDesk vouchers, invoices, and credit notes. Core functionalities include generating invoices from orders, updating voucher details, and handling multi-currency transactions.
Setup
- System Requirements:
- Ensure that .NET SDK version 9.0.0 or a compatible version is installed. This requirement is defined in the global.json specification.
- Repository Cloning:
git clone https://github.com/Minicon-eG/Minicon.SevDesk.Client cd Minicon.SevDesk.Client
- Project Compilation:
Utilize Visual Studio or the .NET CLI to compile the project.
dotnet build
- Testing (Optional):
Execute unit tests to verify the project's functionality.
dotnet test Minicon.SevDesk.Client.Tests
Features
- The library provides data models for managing vouchers and invoices such as
ModelVoucherUpdate
,ModelVoucher
,ModelInvoiceUpdate
, andModelCreditNote
. - Key operations include setting tax configurations, overseeing payment terms, and managing recurring vouchers for diverse clientele.
Usage Examples
For comprehensive usage details, refer to the model-specific documentation or examine the test case implementations.
public void ConfigureServices(IServiceCollection services)
{
// Register other services...
services.AddSevdeskClient(options =>
{
options.ApiKey = "YOUR_API_KEY"; // Set the required API key
options.BaseUrl = "https://api.sevdesk.de"; // Set the base URL if different
});
}
public class InvoiceController : ControllerBase
{
private readonly IVoucherApi _voucherApi;
public InvoiceController(IVoucherApi voucherApi)
{
_voucherApi = voucherApi;
}
[HttpPost]
public async Task<IActionResult> GetVoucher(int id)
{
var voucher = await _voucherApi.GetVoucherByIdAsync(id);
return Ok(voucher);
}
}
System Configuration
- Confirm your environment is configured to utilize .NET SDK 9.0.0 as specified by the global.json file.
- Modify the build configuration (Debug/Release) within the Visual Studio Solution: Minicon.SevDesk.Client.sln.
Contributing
Contributions are welcome! Please review our guidelines and adhere to the coding standards. Submit a pull request with a well-documented summary of your modifications.
License
Include your project's licensing information (e.g., MIT License).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
-
net6.0
- Microsoft.Extensions.Logging (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Configuration (>= 9.0.0)
- Microsoft.Extensions.Logging.Console (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Refit (>= 8.0.0)
- Refit.HttpClientFactory (>= 8.0.0)
- Refit.Newtonsoft.Json (>= 8.0.0)
-
net7.0
- Microsoft.Extensions.Logging (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Configuration (>= 9.0.0)
- Microsoft.Extensions.Logging.Console (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Refit (>= 8.0.0)
- Refit.HttpClientFactory (>= 8.0.0)
- Refit.Newtonsoft.Json (>= 8.0.0)
-
net8.0
- Microsoft.Extensions.Logging (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Configuration (>= 9.0.0)
- Microsoft.Extensions.Logging.Console (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Refit (>= 8.0.0)
- Refit.HttpClientFactory (>= 8.0.0)
- Refit.Newtonsoft.Json (>= 8.0.0)
-
net9.0
- Microsoft.Extensions.Logging (>= 9.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Logging.Configuration (>= 9.0.0)
- Microsoft.Extensions.Logging.Console (>= 9.0.0)
- Microsoft.Extensions.Options (>= 9.0.0)
- Newtonsoft.Json (>= 13.0.3)
- Refit (>= 8.0.0)
- Refit.HttpClientFactory (>= 8.0.0)
- Refit.Newtonsoft.Json (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.