facturapi-es6
Version:
FacturAPI makes it easy for developers to generate valid Invoices in Mexico (known as Factura Electrónica or CFDI).
109 lines (108 loc) • 3.89 kB
TypeScript
import Customers from "./customers";
import Products from "./products";
import Organizations from "./organizations";
import Invoices from "./invoices";
export declare class Facturapi {
customers: Customers;
products: Products;
invoices: Invoices;
organizations: Organizations;
static get TaxType(): {
IVA: string;
IEPS: string;
ISR: string;
};
static get PaymentForm(): {
EFECTIVO: string;
CHEQUE_NOMINATIVO: string;
TRANSFERENCIA_ELECTRONICA: string;
TARJETA_DE_CREDITO: string;
MONEDERO_ELECTRONICO: string;
DINERO_ELECTRONICO: string;
VALES_DE_DESPENSA: string;
DACION_EN_PAGO: string;
SUBROGACION: string;
CONSIGNACION: string;
CONDONACION: string;
COMPENSACION: string;
NOVACION: string;
CONFUSION: string;
REMISION_DE_DEUDA: string;
PRESCRIPCION_O_CADUCIDAD: string;
A_SATISFACCION_DEL_ACREEDOR: string;
TARJETA_DE_DEBITO: string;
TARJETA_DE_SERVICIOS: string;
POR_DEFINIR: string;
};
static get PaymentMethod(): {
PAGO_EN_UNA_EXHIBICION: string;
PAGO_EN_PARCIALIDADES_DIFERIDO: string;
};
static get InvoiceType(): {
INGRESO: string;
EGRESO: string;
TRASLADO: string;
NOMINA: string;
PAGO: string;
};
static get InvoiceUse(): {
ADQUISICION_MERCANCIAS: string;
DEVOLUCIONES_DESCUENTOS_BONIFICACIONES: string;
GASTOS_EN_GENERAL: string;
CONSTRUCCIONES: string;
MOBILIARIO_Y_EQUIPO_DE_OFICINA: string;
EQUIPO_DE_TRANSPORTE: string;
EQUIPO_DE_COMPUTO: string;
DADOS_TROQUELES_HERRAMENTAL: string;
COMUNICACIONES_TELEFONICAS: string;
COMUNICACIONES_SATELITALES: string;
OTRA_MAQUINARIA: string;
HONORARIOS_MEDICOS: string;
GASTOS_MEDICOS_POR_INCAPACIDAD: string;
GASTOS_FUNERALES: string;
DONATIVOS: string;
INTERESES_POR_CREDITOS_HIPOTECARIOS: string;
APORTACIONES_VOLUNTARIAS_SAR: string;
PRIMA_SEGUROS_GASTOS_MEDICOS: string;
GASTOS_TRANSPORTACION_ESCOLAR: string;
CUENTAS_AHORRO_PENSIONES: string;
SERVICIOS_EDUCATIVOS: string;
POR_DEFINIR: string;
};
static get InvoiceRelation(): {
NOTA_DE_CREDITO: string;
NOTA_DE_DEBITO: string;
DELOVUCION_DE_MERCANCIA: string;
SUSTITUCION_DE_CFDI_PREVIOS: string;
TRASLADOS_DE_MERCANCIA_FACTURADOS_PREVIAMENTE: string;
FACTURA_POR_TRASLADOS_PREVIOS: string;
APLICACION_DE_ANTICIPO: string;
PAGOS_EN_PARCIALIDADES: string;
PAGOS_DIFERIDOS: string;
};
static get TaxSystem(): {
GENERAL_LEY_DE_PERSONAS_MORALES: string;
PERSONAS_MORALES_CON_FINES_NO_LUCRATIVOS: string;
SUELDOS_Y_SALARIOS: string;
ARRENDAMIENTO: string;
DEMAS_INGRESOS: string;
CONSOLIDACION: string;
RESIDENTES_EN_EL_EXTRANJERO: string;
INGRESOS_POR_DIVIDENDOS_SOCIOS_Y_ACCIONISTAS: string;
PERSONAS_FISICAS_CON_ACTIVIDADES_EMPRESARIALES_Y_PROFESIONALES: string;
INGRESOS_POR_INTERESES: string;
SIN_OBLIGACIONES_FISCALES: string;
SOCIEDADES_COOPERATIVAS_DE_PRODUCCION: string;
REGIMEN_DE_INCORPORACION_FISCAL: string;
ACTIVIDADES_AGRICOLAS_GANADERAS_SILVICOLAS_Y_PESQUERAS: string;
OPCIONAL_PARA_GRUPOS_DE_SOCIEDADES: string;
COORDINADOS: string;
HIDROCARBUROS: string;
REGIMEN_DE_ENAJENACION_O_ADQUISICION_DE_BIENES: string;
PREFERENTES_Y_EMPRESAS_MULTINACIONALES: string;
ENAJENACION_DE_ACCIONES_EN_BOLSA_DE_VALORES: string;
REGIMEN_DE_LOS_INGRESOS_POR_OBTENCION_DE_PREMIOS: string;
};
constructor(apiKey: string);
}
export default Facturapi;