Markind.Siat
0.2.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Markind.Siat --version 0.2.1
NuGet\Install-Package Markind.Siat -Version 0.2.1
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.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Markind.Siat --version 0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Markind.Siat, 0.2.1"
#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.2.1 // Install Markind.Siat as a Cake Tool #tool nuget:?package=Markind.Siat&version=0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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;
var dto = new solicitudCuis
{
codigoAmbiente = (int) CodigoAmbiente.Pruebas,
codigoPuntoVenta= 1,
codigoSistema = "<codigo sistema>",
nit = 4870903018,
codigoSucursal = 0,
codigoModalidad = (int) CodigoModalidad.Electronica
};
var token = "token from https://pilotosiat.impuestos.gob.bo/facturacionv2/secure/Token/GestorToken.xhtml";
var codigos = new ServicioFacturacionCodigosClient(token, "https://pilotosiatservicios.impuestos.gob.bo/v2/FacturacionCodigos");
Console.WriteLine(codigos.verificarComunicacion().ToJson()));
Console.WriteLine(codigos.cuis(dto).ToJson()));
Advanced usage
using Markind.Siat;
using Markind.Siat.Utils;
using Markind.Siat.Generated.FacturacionSincronizacion;
var dto = new solicitudSincronizacion
{
codigoAmbiente = (int) CodigoAmbiente.Produccion,
codigoSistema = "<codigo sistema>",
nit = 487090318,
cuis = "<cuis>",
codigoSucursal = 1,
codigoPuntoVenta= null,
};
var service = new ServicioFacturacionSincronizacionClient("<token>", "https://pilotosiatservicios.impuestos.gob.bo/v2/FacturacionSincronizacion");
service.DefaultSolicitudSincronizacion = dto; // sets the default message.
Console.WriteLine(service.sincronizarFechaHora().fechaHora); // So you can execute requests without building the message, it wil take the DefaultSolicitudSincronizacion instead.
Console.WriteLine(service.sincronizarActividades().listaActividades.ToJson());
// Or partially override the DefaultSolicitudSincronizacion
Console.WriteLine(service.sincronizarActividades(new(){ codigoSucursal = 2 }).listaActividades.ToJson()); // It stills uses DefaultSolicitudSincronizacion but overrides codigoSucursal = 2 // is in it great? (:
Available clients:
- ServicioFacturacionCodigosClient
- ServicioServicioFacturacionElectronicaClient
- ServicioServicioFacturacionComputarizadaClient
- ServicioFacturacionOperacionesClient
- ServicioFacturacionSincronizacionClient
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 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.
-
net6.0
- Mapster (>= 7.3.0)
- Metalama.Framework (>= 0.5.37-preview)
- System.ServiceModel.Duplex (>= 4.8.1)
- System.ServiceModel.Http (>= 4.8.1)
- System.ServiceModel.NetTcp (>= 4.8.1)
- System.ServiceModel.Security (>= 4.8.1)
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 | 285 | 3/3/2023 |
0.15.1 | 233 | 2/27/2023 |
0.15.0 | 250 | 2/9/2023 |
0.14.0 | 267 | 1/31/2023 |
0.13.0 | 296 | 1/30/2023 |
0.12.0 | 298 | 1/13/2023 |
0.11.0 | 326 | 1/10/2023 |
0.10.0 | 328 | 12/27/2022 |
0.9.0 | 297 | 12/27/2022 |
0.8.0 | 439 | 9/29/2022 |
0.7.0 | 383 | 9/28/2022 |
0.6.0 | 803 | 9/26/2022 |
0.5.0 | 516 | 9/13/2022 |
0.4.0 | 426 | 9/9/2022 |
0.3.0 | 409 | 9/7/2022 |
0.2.1 | 427 | 9/7/2022 |
0.2.0 | 434 | 9/2/2022 |
0.1.2 | 441 | 9/2/2022 |
0.1.1 | 387 | 9/1/2022 |
0.1.0 | 414 | 8/27/2022 |
0.0.1 | 403 | 8/26/2022 |
0.0.0 | 399 | 8/26/2022 |