Markind.Siat 0.16.0

dotnet add package Markind.Siat --version 0.16.0
                    
NuGet\Install-Package Markind.Siat -Version 0.16.0
                    
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="Markind.Siat" Version="0.16.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Markind.Siat" Version="0.16.0" />
                    
Directory.Packages.props
<PackageReference Include="Markind.Siat" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Markind.Siat --version 0.16.0
                    
#r "nuget: Markind.Siat, 0.16.0"
                    
#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.
#:package Markind.Siat@0.16.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Markind.Siat&version=0.16.0
                    
Install as a Cake Addin
#tool nuget:?package=Markind.Siat&version=0.16.0
                    
Install as a Cake Tool

Library to consume Bolivian SIAT services

This library contains clients and messages for https://pilotosiatservicios.impuestos.gob.bo.

Usage

using Markind.Siat;
using Markind.Siat.Utils;
using Markind.Siat.Generated.FacturacionCodigos;
using Markind.Siat.Generated.FacturacionSincronizacion;

var token = "<token from https://pilotosiat.impuestos.gob.bo/facturacionv2/secure/Token/GestorToken.xhtml>";

var msg = new OverridableMessage
{
    CodigoAmbiente = CodigoAmbiente.Pruebas,
    CodigoSistema = "923427FF742E6B55CF9DEB9",
    Nit = 4870903018,
    CodigoSucursal = 0,
    CodigoModalidad = CodigoModalidad.Electronica,
    Cuis = "5C8FD336"
};

var codigos = new ServicioFacturacionCodigosClient(token);
codigos.DefaultMessage = msg;
Console.WriteLine(codigos.verificarComunicacion().ToJson());
Console.WriteLine(codigos.cuis().ToJson());

Advanced usage

Partially override the DefaultMessage

Console.WriteLine(codigos.cuis(new() { CodigoSucursal = 2 }).ToJson());
Console.WriteLine(codigos.cuis(new() { CodigoPuntoVenta = 1 }).ToJson());

Available clients:

  • ServicioFacturacionSincronizacionClient
  • ServicioFacturacionOperacionesClient
  • ServicioFacturacionCodigosClient
  • ServicioFacturacionCompraVenta
  • ServicioServicioFacturacionElectronicaClient
  • ServicioServicioFacturacionComputarizadaClient (wip)
Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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.

Version Downloads Last Updated
0.16.0 463 3/3/2023
0.15.1 357 2/27/2023
0.15.0 424 2/9/2023
0.14.0 444 1/31/2023
0.13.0 422 1/30/2023
0.12.0 429 1/13/2023
0.11.0 499 1/10/2023
0.10.0 454 12/27/2022
0.9.0 423 12/27/2022
0.8.0 571 9/29/2022
0.7.0 526 9/28/2022
0.6.0 947 9/26/2022
0.5.0 653 9/13/2022
0.4.0 555 9/9/2022
0.3.0 576 9/7/2022
0.2.1 603 9/7/2022
0.2.0 581 9/2/2022
0.1.2 585 9/2/2022
0.1.1 529 9/1/2022
0.1.0 561 8/27/2022
Loading failed