-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from SSD-Smart-Software-Development-SRL/feat/ad…
…d-dgii-sdk feat: add dgii sdk
- Loading branch information
Showing
73 changed files
with
1,086 additions
and
16,656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace ECF_DGII.Models.Anulacion; | ||
|
||
public record RespuestaAnulacionRango( | ||
string? Rnc, | ||
string? Codigo, | ||
string? Nombre, | ||
string[]? Mensajes | ||
); |
7 changes: 7 additions & 0 deletions
7
ECF_DGII.Models/AprobacionComercial/RespuestaAprobacionComercial.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace ECF_DGII.Models.RespuestaAprobacionComercial; | ||
|
||
public record RespuestaAprobacionComercial( | ||
string? Codigo, | ||
string? Estado, | ||
string[]? Mensaje | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace ECF_DGII.Models.ConsultaDirectorio; | ||
|
||
public record Directorio( | ||
string? Nombre, | ||
string? Rnc, | ||
string? UrlRecepcion, | ||
string? UrlAceptacion, | ||
string? UrlOpcional | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace ECF_DGII.Models.ConsultaDirectorio; | ||
|
||
public record DirectorioModel( | ||
string? Nombre, | ||
string? Rnc, | ||
string? UrlRecepcion, | ||
string? UrlAceptacion, | ||
string? UrlOpcional | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace ECF_DGII.Models.ConsultaEstado; | ||
|
||
public record RespuestaConsultaEstado( | ||
int Codigo, | ||
string? Estado, | ||
string? RncEmisor, | ||
string? NcfElectronico, | ||
double? MontoTotal, | ||
double? TotalITBIS, | ||
string? FechaEmision, | ||
string? FechaFirma, | ||
string? RncComprador, | ||
string? CodigoSeguridad, | ||
string? IdExtranjero | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace ECF_DGII.Models.ConsultaRFCE; | ||
|
||
public record Mensaje(string? Valor, int Codigo); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace ECF_DGII.Models.ConsultaRFCE; | ||
|
||
public record RespuestaConsultaRFCE( | ||
string? Rnc, | ||
string Encf, | ||
bool SecuenciaUtilizada, | ||
string? Codigo, | ||
string? Estado, | ||
Mensaje[]? Mensajes | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace ECF_DGII.Models.ConsultaResultado; | ||
|
||
public record Mensaje(string? Valor, int Codigo); |
12 changes: 12 additions & 0 deletions
12
ECF_DGII.Models/ConsultaResultado/RespuestaConsultaRFCE.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace ECF_DGII.Models.ConsultaResultado; | ||
|
||
public record RespuestaConsultaTrackId( | ||
string? TrackId, | ||
string? Codigo, | ||
string? Estado, | ||
string? Rnc, | ||
string? Encf, | ||
bool SecuenciaUtilizada, | ||
string? FechaRecepcion, | ||
Mensaje[]? Mensajes | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace ECF_DGII.Models.ConsultaTrackId; | ||
|
||
public record TrackingDetalle( | ||
string? TrackId, | ||
string? Estado, | ||
string? FechaRecepcion | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<LangVersion>12.0</LangVersion> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<PackageId>SSDDO.ECF_DGII.Models</PackageId> | ||
<Authors>SSD Smart Software Development SRL</Authors> | ||
<Company>SSD Smart Software Development SRL</Company> | ||
<Copyright>© SSD Smart Software Development SRL</Copyright> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<ContinuousIntegrationBuild Condition="'$(ContinuousIntegrationBuild)' == '' And '$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild> | ||
<Title>ECF_DGII Models</Title> | ||
<Description>Modelos POCO generados a partir de los XSD definidos por la DGII, para la facturación electrónica en República Dominicana.</Description> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/SSD-Smart-Software-Development-SRL/ecf_dgii</PackageProjectUrl> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<RepositoryUrl>https://github.com/SSD-Smart-Software-Development-SRL/ecf_dgii</RepositoryUrl> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<EnablePackageValidation>true</EnablePackageValidation> | ||
<GenerateDocumentationFile>True</GenerateDocumentationFile> | ||
<NoWarn>$(NoWarn);CS1591</NoWarn> | ||
<DebugType>embedded</DebugType> | ||
<PackageTags>dgii;republica dominicana;do;dominican republic;ecf;rnc;ncf;encf;direccion general de impuestos internos</PackageTags> | ||
<PackageIcon>logo.png</PackageIcon> | ||
<Description>Modelos POCO generados a partir de los XSD y de los responses del API definido | ||
por la DGII para la facturación electrónica en República Dominicana.</Description> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Content Remove="XSD/ARECF v1.0.xsd" /> | ||
<Content Remove="XSD/Semilla v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 31 v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 32 v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 33 v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 34 v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 41 v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 43 v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 44 v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 45 v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 46 v.1.0.xsd" /> | ||
<Content Remove="XSD/e-CF 47 v.1.0.xsd" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<EmbeddedResource Include="XSD/ARECF v1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/Semilla v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 31 v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 32 v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 33 v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 34 v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 41 v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 43 v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 44 v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 45 v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 46 v.1.0.xsd" /> | ||
<EmbeddedResource Include="XSD/e-CF 47 v.1.0.xsd" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\logo.png"> | ||
<Pack>True</Pack> | ||
<PackagePath>\</PackagePath> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Update="ECF-DGII.png"> | ||
<Pack>True</Pack> | ||
<PackagePath>\</PackagePath> | ||
</None> | ||
<None Update="README.md"> | ||
<Pack>True</Pack> | ||
<PackagePath>\</PackagePath> | ||
</None> | ||
</ItemGroup> | ||
</Project> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace ECF_DGII.Models.EstatusServicios; | ||
|
||
public enum Ambiente | ||
{ | ||
PreCertificacion = 1, | ||
Certificacion = 2, | ||
Producion = 3 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace ECF_DGII.Models.EstatusServicios; | ||
|
||
public record RespuestaEstado(string? Estado); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace ECF_DGII.Models.EstatusServicios; | ||
|
||
public record RespuestaEstatusServicio(string? Servicio, string? Status, string? Ambiente); |
3 changes: 3 additions & 0 deletions
3
ECF_DGII.Models/EstatusServicios/RespuestaVentanaDeMantenimiento.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace ECF_DGII.Models.EstatusServicios; | ||
|
||
public record RespuestaVentanaDeMantenimiento(VentanaDeMantenimiento[] VentanaMantenimientos); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace ECF_DGII.Models.EstatusServicios; | ||
|
||
public record VentanaDeMantenimiento( | ||
string? Ambiente, | ||
string? HoraInicio, | ||
string? HoraFin, | ||
string[]? Dias | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# ECF DGII Models | ||
|
||
Modelos POCO generados a partir de los XSD definidos por la DGII, para la facturación electrónica en República Dominicana. | ||
Modelos POCO generados a partir de los XSD definidos por la DGII y de los parametros de entrada y salida de los diferentes servicios de la DGII, para la facturación electrónica en República Dominicana. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace ECF_DGII.Models.Recepcion; | ||
|
||
public record RespuestaRecepcion(string? TrackId, string? Error, string? Mensaje); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace ECF_DGII.Models.RecepcionFC; | ||
|
||
public enum EstadoCF | ||
{ | ||
One = 1, Two = 2, Three = 3, Four = 4, Five = 5 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace ECF_DGII.Models.RecepcionFC; | ||
|
||
public record MensajeRespuesta(string? Codigo, string? Valor); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace ECF_DGII.Models.RecepcionFC; | ||
|
||
public record Respuesta( | ||
EstadoCF Codigo, | ||
string? Estado, | ||
MensajeRespuesta[]? Mensajes, | ||
string? Enfc, | ||
bool SecuenciaUtilizada | ||
); |
Oops, something went wrong.