Markind.Siat 0.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Markind.Siat --version 0.3.0                
NuGet\Install-Package Markind.Siat -Version 0.3.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.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Markind.Siat --version 0.3.0                
#r "nuget: Markind.Siat, 0.3.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.
// Install Markind.Siat as a Cake Addin
#addin nuget:?package=Markind.Siat&version=0.3.0

// Install Markind.Siat as a Cake Tool
#tool nuget:?package=Markind.Siat&version=0.3.0                

Library to consume 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:

  • ServicioFacturacionCodigosClient
  • ServicioServicioFacturacionElectronicaClient
  • ServicioServicioFacturacionComputarizadaClient (wip)
  • ServicioFacturacionOperacionesClient
  • ServicioFacturacionSincronizacionClient
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 was computed.  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. 
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 284 3/3/2023
0.15.1 232 2/27/2023
0.15.0 249 2/9/2023
0.14.0 266 1/31/2023
0.13.0 295 1/30/2023
0.12.0 297 1/13/2023
0.11.0 325 1/10/2023
0.10.0 327 12/27/2022
0.9.0 296 12/27/2022
0.8.0 438 9/29/2022
0.7.0 382 9/28/2022
0.6.0 802 9/26/2022
0.5.0 515 9/13/2022
0.4.0 425 9/9/2022
0.3.0 408 9/7/2022
0.2.1 426 9/7/2022
0.2.0 433 9/2/2022
0.1.2 440 9/2/2022
0.1.1 386 9/1/2022
0.1.0 413 8/27/2022
0.0.1 402 8/26/2022
0.0.0 398 8/26/2022