-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
237 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,237 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<SummaryDocuments xmlns="urn:sunat:names:specification:ubl:peru:schema:xsd:SummaryDocuments-1" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:sac="urn:sunat:names:specification:ubl:peru:schema:xsd:SunatAggregateComponents-1"> | ||
<ext:UBLExtensions> | ||
<ext:UBLExtension> | ||
<ext:ExtensionContent><ds:Signature Id="FePrimerSign"> | ||
<ds:SignedInfo> | ||
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></ds:CanonicalizationMethod> | ||
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod> | ||
<ds:Reference URI=""> | ||
<ds:Transforms> | ||
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform> | ||
</ds:Transforms> | ||
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod> | ||
<ds:DigestValue>Sk6fN8UI71v8ZOtrEAsiw9sDKxk=</ds:DigestValue> | ||
</ds:Reference> | ||
</ds:SignedInfo> | ||
<ds:SignatureValue>Mg3lV8mBN7aqx3tICdgNqE6qY2J6Saw6ZzD1M2hSPffHehRisYVfydH6bNwX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bge+8P9jkyQ7XlAuVVRN2wk40G1UPWMYRVaVjas4JPh7 | ||
eTft1B6R1d1njM5/dD3UJ0qSfgjw5b8FJae6Up5eEDAfcjkJihqVBtQHXI8yEHMR | ||
qx22OF8VsT+AsrylYGDpDesCz9WrF0cWpg3XNT1YUV5YfwqCNBK4vN++5qgA9Q+M | ||
YmE+KdZ0mFmMZxlm6NOeQfUCAwEAAaNTMFEwHQYDVR0OBBYEFLEP+8lmc8esD3bM | ||
YoSivwthb6gHMB8GA1UdIwQYMBaAFLEP+8lmc8esD3bMYoSivwthb6gHMA8GA1Ud | ||
EwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBACsrChqr7MpgEN0I+IqmgG4K | ||
d4M5BBiz7jabnXMwcQfeduLL1RV7JkbI4EWF+SSpjpdojM35bxb8lyA43GpiFIaE | ||
AWa2frUJi/hXxvTn5eojwi6FU0zs7mHBHUSU+aOjBp/6TTnGR8LEemSJ1o7shaxH | ||
TaquNOHol/JV0QFTCn1hMPo44jpNwiDOngKDAc9TvQ3YUIURGrrE3j35c5KNGr4w | ||
DjjcjFky4OBhFRALU+9ff/Gergv03xyUDnfMtzYNomM15xO0jYou8FeQd7vzyh56 | ||
ekJpI+EkX3YM/zABa/5NwXSpNK79gaWxS1SSuXrCZU4pqnVVy96V1zq5t1umbvA= | ||
</ds:X509Certificate> | ||
</ds:X509Data> | ||
</ds:KeyInfo> | ||
</ds:Signature></ext:ExtensionContent> | ||
</ext:UBLExtension> | ||
</ext:UBLExtensions> | ||
<!-- La versión de UBL (no hay versión 2.1 para resumen) --> | ||
<cbc:UBLVersionID>2.0</cbc:UBLVersionID> | ||
<!-- La versión de la estructura del documento definida por SUNAT --> | ||
<cbc:CustomizationID>1.1</cbc:CustomizationID> | ||
<!-- Identificador RC-<Fecha>-##### --> | ||
<cbc:ID>RC-20201022-33221</cbc:ID> | ||
<!-- Fecha emisión de comprobantes --> | ||
<cbc:ReferenceDate>2020-10-20</cbc:ReferenceDate> | ||
<cbc:IssueDate>2020-10-22</cbc:IssueDate> | ||
<cac:Signature> | ||
<!-- Ruc del firmante --> | ||
<cbc:ID>20123456789</cbc:ID> | ||
<cac:SignatoryParty> | ||
<cac:PartyIdentification> | ||
<!-- Ruc del firmante --> | ||
<cbc:ID>20123456789</cbc:ID> | ||
</cac:PartyIdentification> | ||
<cac:PartyName> | ||
<!-- Nombre del firmante --> | ||
<cbc:Name><![CDATA[MI EMPRESA S.A.C]]></cbc:Name> | ||
</cac:PartyName> | ||
</cac:SignatoryParty> | ||
<cac:DigitalSignatureAttachment> | ||
<cac:ExternalReference> | ||
<!-- Referencia del firmante, nada expecífico que SUNAT exija. --> | ||
<cbc:URI>#EMPRESA-SIGN</cbc:URI> | ||
</cac:ExternalReference> | ||
</cac:DigitalSignatureAttachment> | ||
</cac:Signature> | ||
<cac:AccountingSupplierParty> | ||
<cbc:CustomerAssignedAccountID>20123456789</cbc:CustomerAssignedAccountID> | ||
<!-- Tipo documento emisor: 6 (RUC - Catálogo 06) --> | ||
<cbc:AdditionalAccountID>6</cbc:AdditionalAccountID> | ||
<cac:Party> | ||
<cac:PartyLegalEntity> | ||
<!-- Razon social del Emisor --> | ||
<cbc:RegistrationName><![CDATA[MI EMPRESA S.A.C]]></cbc:RegistrationName> | ||
</cac:PartyLegalEntity> | ||
</cac:Party> | ||
</cac:AccountingSupplierParty> | ||
<!-- Boleta 1 --> | ||
<sac:SummaryDocumentsLine> | ||
<!-- Numero secuencial --> | ||
<cbc:LineID>1</cbc:LineID> | ||
<!-- Tipo comprobante (03: Boleta) - catálogo 01 --> | ||
<cbc:DocumentTypeCode>03</cbc:DocumentTypeCode> | ||
<!-- Serie-Correlativo del comprobante --> | ||
<cbc:ID>B001-22</cbc:ID> | ||
<cac:AccountingCustomerParty> | ||
<!-- Numero documento del receptor --> | ||
<cbc:CustomerAssignedAccountID>33224567</cbc:CustomerAssignedAccountID> | ||
<!-- Tipo documento (1: DNI) - catálogo 06 --> | ||
<cbc:AdditionalAccountID>1</cbc:AdditionalAccountID> | ||
</cac:AccountingCustomerParty> | ||
<cac:Status> | ||
<!-- Estado del comprobante (1: Adicionar) - catálogo 19 --> | ||
<cbc:ConditionCode>1</cbc:ConditionCode> | ||
</cac:Status> | ||
<!-- Total del comprobante --> | ||
<sac:TotalAmount currencyID="PEN">1180.00</sac:TotalAmount> | ||
<!-- Total Gravado --> | ||
<sac:BillingPayment> | ||
<!-- Monto total Gravado --> | ||
<cbc:PaidAmount currencyID="PEN">1000.00</cbc:PaidAmount> | ||
<!-- Identificador de Total (01: Gravado) - catalogo 11 --> | ||
<cbc:InstructionID>01</cbc:InstructionID> | ||
</sac:BillingPayment> | ||
<!-- IGV --> | ||
<cac:TaxTotal> | ||
<!-- Monto IGV --> | ||
<cbc:TaxAmount currencyID="PEN">180.00</cbc:TaxAmount> | ||
<cac:TaxSubtotal> | ||
<!-- Mismo Monto IGV --> | ||
<cbc:TaxAmount currencyID="PEN">180.00</cbc:TaxAmount> | ||
<cac:TaxCategory> | ||
<!-- Codigos constantes para IGV --> | ||
<cac:TaxScheme> | ||
<cbc:ID>1000</cbc:ID> | ||
<cbc:Name>IGV</cbc:Name> | ||
<cbc:TaxTypeCode>VAT</cbc:TaxTypeCode> | ||
</cac:TaxScheme> | ||
</cac:TaxCategory> | ||
</cac:TaxSubtotal> | ||
</cac:TaxTotal> | ||
</sac:SummaryDocumentsLine> | ||
<!-- Nota Crédito 1 --> | ||
<sac:SummaryDocumentsLine> | ||
<!-- Numero secuencial --> | ||
<cbc:LineID>2</cbc:LineID> | ||
<!-- Tipo comprobante (07: Nota de crédito) - catálogo 01 --> | ||
<cbc:DocumentTypeCode>07</cbc:DocumentTypeCode> | ||
<!-- Serie-Correlativo del comprobante --> | ||
<cbc:ID>BC01-3</cbc:ID> | ||
<cac:AccountingCustomerParty> | ||
<!-- Numero documento del receptor --> | ||
<cbc:CustomerAssignedAccountID>44112576</cbc:CustomerAssignedAccountID> | ||
<!-- Tipo documento (1: DNI) - catálogo 06 --> | ||
<cbc:AdditionalAccountID>1</cbc:AdditionalAccountID> | ||
</cac:AccountingCustomerParty> | ||
<!-- Documento relacionado: Boleta afectada --> | ||
<cac:BillingReference> | ||
<cac:InvoiceDocumentReference> | ||
<!-- Serie-Correlativo de boleta afectada --> | ||
<cbc:ID>B001-15</cbc:ID> | ||
<!-- Tipo comprobante afectado (03: Boleta) - catálogo 01 --> | ||
<cbc:DocumentTypeCode>03</cbc:DocumentTypeCode> | ||
</cac:InvoiceDocumentReference> | ||
</cac:BillingReference> | ||
<cac:Status> | ||
<!-- Estado del comprobante (1: Adicionar) - catálogo 19 --> | ||
<cbc:ConditionCode>1</cbc:ConditionCode> | ||
</cac:Status> | ||
<!-- Total del comprobante --> | ||
<sac:TotalAmount currencyID="PEN">118.00</sac:TotalAmount> | ||
<!-- Total Gravado --> | ||
<sac:BillingPayment> | ||
<!-- Monto total Gravado --> | ||
<cbc:PaidAmount currencyID="PEN">100.00</cbc:PaidAmount> | ||
<!-- Identificador de Total (01: Gravado) - catalogo 11 --> | ||
<cbc:InstructionID>01</cbc:InstructionID> | ||
</sac:BillingPayment> | ||
<!-- IGV --> | ||
<cac:TaxTotal> | ||
<!-- Monto IGV --> | ||
<cbc:TaxAmount currencyID="PEN">18.00</cbc:TaxAmount> | ||
<cac:TaxSubtotal> | ||
<!-- Mismo Monto IGV --> | ||
<cbc:TaxAmount currencyID="PEN">18.00</cbc:TaxAmount> | ||
<cac:TaxCategory> | ||
<!-- Codigos constantes para IGV --> | ||
<cac:TaxScheme> | ||
<cbc:ID>1000</cbc:ID> | ||
<cbc:Name>IGV</cbc:Name> | ||
<cbc:TaxTypeCode>VAT</cbc:TaxTypeCode> | ||
</cac:TaxScheme> | ||
</cac:TaxCategory> | ||
</cac:TaxSubtotal> | ||
</cac:TaxTotal> | ||
</sac:SummaryDocumentsLine> | ||
<!-- Boleta 3 --> | ||
<sac:SummaryDocumentsLine> | ||
<!-- Numero secuencial --> | ||
<cbc:LineID>3</cbc:LineID> | ||
<!-- Tipo comprobante (03: Boleta) - catálogo 01 --> | ||
<cbc:DocumentTypeCode>03</cbc:DocumentTypeCode> | ||
<!-- Serie-Correlativo del comprobante --> | ||
<cbc:ID>BA01-11</cbc:ID> | ||
<cac:AccountingCustomerParty> | ||
<!-- Numero documento del receptor --> | ||
<cbc:CustomerAssignedAccountID>00538572</cbc:CustomerAssignedAccountID> | ||
<!-- Tipo documento (1: DNI) - catálogo 06 --> | ||
<cbc:AdditionalAccountID>1</cbc:AdditionalAccountID> | ||
</cac:AccountingCustomerParty> | ||
<cac:Status> | ||
<!-- Estado del comprobante (3: Anulado) - catálogo 19 --> | ||
<cbc:ConditionCode>3</cbc:ConditionCode> | ||
</cac:Status> | ||
<!-- Total del comprobante --> | ||
<sac:TotalAmount currencyID="PEN">236.00</sac:TotalAmount> | ||
<!-- Total Gravado --> | ||
<sac:BillingPayment> | ||
<!-- Monto total Gravado --> | ||
<cbc:PaidAmount currencyID="PEN">200.00</cbc:PaidAmount> | ||
<!-- Identificador de Total (01: Gravado) - catalogo 11 --> | ||
<cbc:InstructionID>01</cbc:InstructionID> | ||
</sac:BillingPayment> | ||
<!-- IGV --> | ||
<cac:TaxTotal> | ||
<!-- Monto IGV --> | ||
<cbc:TaxAmount currencyID="PEN">36.00</cbc:TaxAmount> | ||
<cac:TaxSubtotal> | ||
<!-- Mismo Monto IGV --> | ||
<cbc:TaxAmount currencyID="PEN">36.00</cbc:TaxAmount> | ||
<cac:TaxCategory> | ||
<!-- Codigos constantes para IGV --> | ||
<cac:TaxScheme> | ||
<cbc:ID>1000</cbc:ID> | ||
<cbc:Name>IGV</cbc:Name> | ||
<cbc:TaxTypeCode>VAT</cbc:TaxTypeCode> | ||
</cac:TaxScheme> | ||
</cac:TaxCategory> | ||
</cac:TaxSubtotal> | ||
</cac:TaxTotal> | ||
</sac:SummaryDocumentsLine> | ||
</SummaryDocuments> |