RESOLUCION LIBRO DE VENTAS
Una vez resuelto el set básico de documentos (ver enlace de resolución del set básico, el cual adjunto acá https://jettyandbeyond.blogspot.com/2025/01/resolucion-set-basico-de-factura.html ), debemos proceder con la resolución del libro de ventas, el cual es un resumen de los documentos ya emitidos. Este documento se genera en formato XML con la siguiente estructura:
<?xml version="1.0" encoding="ISO-8859-1"?><LibroCompraVenta xmlns="http://www.sii.cl/SiiDte" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.sii.cl/SiiDte LibroCV_v10.xsd"> <EnvioLibro ID="LIBROVENTA"> <Caratula> <RutEmisorLibro>77984489-7</RutEmisorLibro> <RutEnvia>10754706-1</RutEnvia> <PeriodoTributario>2025-01</PeriodoTributario> <FchResol>2025-01-27</FchResol> <NroResol>0</NroResol> <TipoOperacion>VENTA</TipoOperacion> <TipoLibro>ESPECIAL</TipoLibro> <TipoEnvio>TOTAL</TipoEnvio> <FolioNotificacion>3</FolioNotificacion> </Caratula> <ResumenPeriodo> <TotalesPeriodo> <TpoDoc>33</TpoDoc> <TotDoc>4</TotDoc> <TotMntExe>49046</TotMntExe> <TotMntNeto>13899936</TotMntNeto> <TotMntIVA>2640988</TotMntIVA> <TotIVAFueraPlazo>0</TotIVAFueraPlazo> <TotMntTotal>16589970</TotMntTotal> </TotalesPeriodo> <TotalesPeriodo> <TpoDoc>56</TpoDoc> <TotDoc>1</TotDoc> <TotMntExe>0</TotMntExe> <TotMntNeto>0</TotMntNeto> <TotMntIVA>0</TotMntIVA> <TotIVAFueraPlazo>0</TotIVAFueraPlazo> <TotMntTotal>0</TotMntTotal> </TotalesPeriodo> <TotalesPeriodo> <TpoDoc>61</TpoDoc> <TotDoc>3</TotDoc> <TotMntExe>35364</TotMntExe> <TotMntNeto>5411559</TotMntNeto> <TotMntIVA>1028196</TotMntIVA> <TotIVAFueraPlazo>0</TotIVAFueraPlazo> <TotMntTotal>6475119</TotMntTotal> </TotalesPeriodo> </ResumenPeriodo> <TmstFirma>2025-01-28T16:57:00</TmstFirma> </EnvioLibro> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <Reference URI="#LIBROVENTA"> <Transforms> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue>p3H3LOF9IfqI85kudKohIdYzLVQ=</DigestValue> </Reference> </SignedInfo> <SignatureValue>sldvwi/r8XHWIfhBBtnSaS2NC0CFirvUbL+uwoMQyEeRW4UyBckQ5WiXpVGQq9QOr4r/arebIcUW...</SignatureValue> <KeyInfo> <KeyValue> <RSAKeyValue> <Modulus>uaau+vGfFcWME5PcIA+g3mwgiGGc6xe2pq+/GmZI8gs2KC3fxFw1cc49g25NOuB+BE4Gq39etjVe...</Modulus> <Exponent>AQAB</Exponent> </RSAKeyValue> </KeyValue> <X509Data> <X509Certificate>MIIHrzCCBZegAwIBAgIKc1ehugABAAbT8jANBgkqhkiG9w0BAQsFADCBvzELMAkGA1UE...</X509Certificate> </X509Data> </KeyInfo> </Signature></LibroCompraVenta>
Comentarios
Publicar un comentario