Skip to content

Instantly share code, notes, and snippets.

@m-arrieta-r
Last active February 9, 2020 14:57
Show Gist options
  • Save m-arrieta-r/c1270ad103eb81fa0028eb05515f1b88 to your computer and use it in GitHub Desktop.
Save m-arrieta-r/c1270ad103eb81fa0028eb05515f1b88 to your computer and use it in GitHub Desktop.
FrontEndRequest
import { FrontEndRequest } from '../../src/types/globalInterfaces'
const request: FrontEndRequest = {
Emisor: {
Nombre: 'SRL',
Identificacion: {
Tipo: '02',
Numero: '3102759157'
},
NombreComercial: 'CIENCIA DEL SABOR',
Ubicacion: {
Provincia: '2',
Canton: '06',
Distrito: '04',
Barrio: '06',
OtrasSenas: '25 norte 500 oeste restaurante El Faro'
},
Telefono: {
CodigoPais: '506',
NumTelefono: '88122479'
},
CorreoElectronico: 'erasmoarrieta@gmail.com'
},
Receptor: {
Nombre: 'Minor Arrieta Rojas',
Identificacion: {
Numero: '206920142'
}
},
LineasDetalle: [
{
NumeroLinea: '1',
Cantidad: 1,
UnidadMedida: 'Al',
Detalle: 'Admin Facturas',
PrecioUnitario: 500.00,
MontoTotal: 500.00,
SubTotal: 500.00,
Impuesto: {
Codigo: '01',
CodigoTarifa: '08',
Tarifa: 13,
Monto: 65
},
MontoTotalLinea: 565.00
}
],
sucursal: '001',
terminal: '00001',
tipoDocumento: 'FE',
codigoPais: '506',
consecutivo: '0000000005',
codigoSeguridad: '00012314',
situationEC: '1',
total: 500.00,
actividad: '4',
impuesto: 0.13
}
export default request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment