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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Minicon.SevDesk.Client" Version="0.2.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Minicon.SevDesk.Client --version 0.2.3                
#r "nuget: Minicon.SevDesk.Client, 0.2.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

  1. 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.
  2. Repository Cloning:
    git clone https://github.com/Minicon-eG/Minicon.SevDesk.Client
    cd Minicon.SevDesk.Client
    
  3. Project Compilation: Utilize Visual Studio or the .NET CLI to compile the project.
    dotnet build
    
  4. Testing (Optional): Execute unit tests to verify the project's functionality.
    dotnet test Minicon.SevDesk.Client.Tests
    

Features

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.