-
Notifications
You must be signed in to change notification settings - Fork 3
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 #7 from FacturAPI/feature/orgs-api
Feature/orgs api
- Loading branch information
Showing
21 changed files
with
387 additions
and
7 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
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,33 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Facturapi | ||
{ | ||
public static class TaxSystem | ||
{ | ||
public const string GENERAL_LEY_DE_PERSONAS_MORALES = "601"; | ||
public const string PERSONAS_MORALES_CON_FINES_NO_LUCRATIVOS = "603"; | ||
public const string SUELDOS_Y_SALARIOS = "605"; | ||
public const string ARRENDAMIENTO = "606"; | ||
public const string DEMAS_INGRESOS = "608"; | ||
public const string CONSOLIDACION = "609"; | ||
public const string RESIDENTES_EN_EL_EXTRANJERO = "610"; | ||
public const string INGRESOS_POR_DIVIDENDOS_SOCIOS_Y_ACCIONISTAS = "611"; | ||
public const string PERSONAS_FISICAS_CON_ACTIVIDADES_EMPRESARIALES_Y_PROFESIONALES = "612"; | ||
public const string INGRESOS_POR_INTERESES = "614"; | ||
public const string SIN_OBLIGACIONES_FISCALES = "616"; | ||
public const string SOCIEDADES_COOPERATIVAS_DE_PRODUCCION = "620"; | ||
public const string REGIMEN_DE_INCORPORACION_FISCAL = "621"; | ||
public const string ACTIVIDADES_AGRICOLAS_GANADERAS_SILVICOLAS_Y_PESQUERAS = "622"; | ||
public const string OPCIONAL_PARA_GRUPOS_DE_SOCIEDADES = "623"; | ||
public const string COORDINADOS = "624"; | ||
public const string HIDROCARBUROS = "628"; | ||
public const string REGIMEN_DE_ENAJENACION_O_ADQUISICION_DE_BIENES = "607"; | ||
public const string PREFERENTES_Y_EMPRESAS_MULTINACIONALES = "629"; | ||
public const string ENAJENACION_DE_ACCIONES_EN_BOLSA_DE_VALORES = "630"; | ||
public const string REGIMEN_DE_LOS_INGRESOS_POR_OBTENCION_DE_PREMIOS = "615"; | ||
} | ||
} |
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 Facturapi | ||
{ | ||
public class ApiKeys | ||
{ | ||
public string LiveKey { get; set; } | ||
public string TestKey { get; set; } | ||
} | ||
} |
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,11 @@ | ||
using System; | ||
|
||
namespace Facturapi | ||
{ | ||
public class Certificate | ||
{ | ||
public DateTime UpdatedAt { get; set; } | ||
public DateTime ExpiresAt { get; set; } | ||
public bool HasCertificate { get; set; } | ||
} | ||
} |
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 @@ | ||
using Facturapi.Wrappers; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Facturapi | ||
{ | ||
public class CompletionStep | ||
{ | ||
public string Type { get; set; } | ||
public string Description { get; set; } | ||
} | ||
} |
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,9 @@ | ||
namespace Facturapi | ||
{ | ||
public class Customization | ||
{ | ||
public string Color { get; set; } | ||
public bool HasLogo { get; set; } | ||
public PdfExtra PdfExtra { get; set; } | ||
} | ||
} |
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,12 @@ | ||
namespace Facturapi | ||
{ | ||
public class Legal { | ||
public string Name { get; set; } | ||
public string LegalName { get; set; } | ||
public string TaxId { get; set; } | ||
public string TaxSystem { get; set; } | ||
public string Website { get; set; } | ||
public string Phone { get; set; } | ||
public Address Address { get; set; } | ||
} | ||
} |
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,16 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace Facturapi | ||
{ | ||
public class Organization | ||
{ | ||
public string Id { get; set; } | ||
public DateTime CreatedAt { get; set; } | ||
public bool IsProductionReady { get; set; } | ||
public List<CompletionStep> PendingSteps { get; set; } | ||
public Legal Legal { get; set; } | ||
public Customization Customization { get; set; } | ||
public Certificate Certificate { get; set; } | ||
} | ||
} |
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 Facturapi | ||
{ | ||
public class PdfExtra | ||
{ | ||
public bool Codes { get; set; } | ||
public bool ProductKey { get; set; } | ||
} | ||
} |
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
Oops, something went wrong.