APOPSA EL SALVADOR S.A DE C.V
NIT: 0614-190412-103-1 / NRC: 216296-4

Libro de Ventas a Contribuyente

Desde: {{$rango["desde"]}}Hasta: {{$rango["hasta"]}}

(Valores expresados en Dólares de Estados Unidos de America)

@php $i = 1; $totalVentasGravadas = 0; $totalIvaDebito = 0; $TotalIvaRetenido = 0; $Total_Final = 0; $TotalExentasInterna = 0; $TotalExentasNoSujetas = 0; @endphp @foreach ($documentos as $documento) @php $ExentaInterna = $documento->Totales[2]; $ExentaNoSujeta = $documento->Totales[1]; //si es nota credito las gravadas seran negativas $Gravadas = $documento->tipo_documento_id == 4 ? -1 * $documento->Totales[3] : $documento->Totales[3] ; $totalVentasGravadas+=$Gravadas; $IVADebito = $Gravadas * 0.13; $totalIvaDebito += $IVADebito; $IvaRetenido = 0; if($documento->tipo_contribuyente=="GRAN CONTRIBUYENTE"){ $IvaRetenido = $Gravadas * 0.01; } $TotalIvaRetenido += $IvaRetenido; $TotalDocumento = $ExentaInterna + $ExentaNoSujeta + $Gravadas + $IVADebito; $Total_Final += $TotalDocumento ; $TotalExentasInterna += $ExentaInterna; $TotalExentasNoSujetas += $ExentaNoSujeta; @endphp @endforeach
Ventas Exentas Ventas Gravadas
# Fecha Doc Número NRC NIT Cliente Internas No
Sujetas
Gravadas Débito
Fiscal
Cta.
Terc.
IVA
Retención
IVA
Percepción
Total
{{$i++}} {{$dateFormater($documento->fecha)}} CCF {{$documento->documento_code}} {{$documento->nrc}} {{$documento->nit}}7 {{$documento->nombre_cliente}} {{number_format($ExentaInterna,2)}} {{number_format($ExentaNoSujeta,2)}} {{number_format($Gravadas , 2)}} {{number_format($IVADebito , 2)}} 0.00 {{number_format($IvaRetenido , 2)}} 0.00 {{number_format($TotalDocumento , 2)}}
 
Totales {{number_format($TotalExentasInterna,2)}} {{number_format($TotalExentasNoSujetas,2)}} {{number_format($totalVentasGravadas,2)}} {{number_format($totalIvaDebito,2)}} 0.00 {{number_format($TotalIvaRetenido,2)}} 0.00 {{number_format($Total_Final,2)}}

@php $VentasGravadasDebitoFiscal = $totalVentasGravadas*0.13; $VentasNetasInternasGravadasAConsumidores = $totales_consumidores["VNIGravadasC"]; $VentasNetasInternasGravdasDeb= $VentasNetasInternasGravadasAConsumidores * 0.13; $TotalOperacionesInternasGravadas = $totalVentasGravadas + $VentasNetasInternasGravadasAConsumidores; $VentasNetasInternasExentasaConsumidores = $totales_consumidores["VNIExentasC"]; $VentasNetasInternasNoSujetasaConsumidores = $totales_consumidores["VNINoSujetasC"]; $TOTALOperacionesInternasExentas = $TotalExentasInterna + $VentasNetasInternasExentasaConsumidores; $TOTALOperacionesInternasNoSujetas = $TotalExentasNoSujetas + $VentasNetasInternasNoSujetasaConsumidores; $VentasNetasporExportacion = 0; $TotalOperacionesDeVenta = $TotalOperacionesInternasGravadas + $TOTALOperacionesInternasExentas + $TOTALOperacionesInternasNoSujetas; @endphp {{-- Propias --}} {{-- tercerps --}} {{-- Propias --}} {{-- tercerps --}} {{-- retenido --}} {{-- Propias --}} {{-- tercerps --}} {{-- retenido --}} {{-- Propias --}} {{-- tercerps --}} {{-- retenido --}}
RESUMEN DE OPERACIONES DE VENTA PROPIAS A CTA DE TERCEROS IVA
RETENIDO
Valor Neto Debito Fis.Valor Neto Debitos Fis.
Ventas Netas Internas Gravadas a Contribuyentes
Ventas Netas Internas Gravadas a Consumidores
TOTAL Operaciones Internas Gravadas
 
Ventas Netas Internas Exentas a Contribuyentes
Ventas Netas Internas Exentas a Consumidores
TOTAL Operaciones Internas Exentas
 
Ventas Netas Internas No Sujetas a Contribuyentes
Ventas Netas Internas No Sujetas a Consumidores
TOTAL Operaciones Internas No Sujetas
 
Ventas Netas por Exportacion
 
TOTAL Operaciones de Venta
 
 
 
 
 
 
Nombre y firma del contador