> For the complete documentation index, see [llms.txt](https://wikiedoc.guru-soft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wikiedoc.guru-soft.com/pe/integraciones-y-servicios/soap/ejemplos/nota-de-debito.md).

# Nota de Débito

{% tabs %}
{% tab title="Request" %}

```xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:emis="https://pe.edocnube.com/api/emision" xmlns:not="https://pe.edocnube.com/api/emision/notaDebito" xmlns:deb="https://pe.edocnube.com/api/emision/ubl/debitNote" xmlns:deb1="https://pe.edocnube.com/api/emision/ubl/debitNote.note" xmlns:deb2="https://pe.edocnube.com/api/emision/ubl/debitNote.discrepancyResponse" xmlns:deb3="https://pe.edocnube.com/api/emision/ubl/debitNote.discrepancyResponse.description" xmlns:deb4="https://pe.edocnube.com/api/emision/ubl/debitNote.billingReference" xmlns:deb5="https://pe.edocnube.com/api/emision/ubl/debitNote.billingReference.invoiceDocumentReference" xmlns:deb6="https://pe.edocnube.com/api/emision/ubl/debitNote.despatchDocumentReference" xmlns:deb7="https://pe.edocnube.com/api/emision/ubl/debitNote.additionalDocumentReference" xmlns:deb8="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingSupplierParty" xmlns:deb9="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingSupplierParty.party" xmlns:deb10="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingSupplierParty.party.partyIdentification" xmlns:deb11="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingSupplierParty.party.partyIdentification.iD" xmlns:deb12="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingSupplierParty.party.partyName" xmlns:deb13="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingSupplierParty.party.partyLegalEntity" xmlns:deb14="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingSupplierParty.party.partyLegalEntity.registrationAddress" xmlns:deb15="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingSupplierParty.party.partyLegalEntity.registrationAddress.addressLine" xmlns:deb16="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingSupplierParty.party.partyLegalEntity.registrationAddress.country" xmlns:deb17="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty" xmlns:deb18="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty.party" xmlns:deb19="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty.party.partyIdentification" xmlns:deb20="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty.party.partyIdentification.iD" xmlns:deb21="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty.party.partyLegalEntity" xmlns:deb22="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty.party.partyLegalEntity.shareholderParty" xmlns:deb23="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty.party.partyLegalEntity.shareholderParty.party" xmlns:deb24="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty.party.partyLegalEntity.shareholderParty.party.partyIdentification" xmlns:deb25="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty.party.partyLegalEntity.shareholderParty.party.partyIdentification.iD" xmlns:deb26="https://pe.edocnube.com/api/emision/ubl/debitNote.accountingCustomerParty.party.partyLegalEntity.shareholderParty.party.partyLegalEntity" xmlns:deb27="https://pe.edocnube.com/api/emision/ubl/debitNote.paymentMean" xmlns:deb28="https://pe.edocnube.com/api/emision/ubl/debitNote.paymentMean.payeeFinancialAccount" xmlns:deb29="https://pe.edocnube.com/api/emision/ubl/debitNote.paymentTerm" xmlns:deb30="https://pe.edocnube.com/api/emision/ubl/debitNote.paymentTerm.amount" xmlns:deb31="https://pe.edocnube.com/api/emision/ubl/debitNote.taxTotal" xmlns:deb32="https://pe.edocnube.com/api/emision/ubl/debitNote.taxTotal.taxAmount" xmlns:deb33="https://pe.edocnube.com/api/emision/ubl/debitNote.taxTotal.taxSubtotal" xmlns:deb34="https://pe.edocnube.com/api/emision/ubl/debitNote.taxTotal.taxSubtotal.taxableAmount" xmlns:deb35="https://pe.edocnube.com/api/emision/ubl/debitNote.taxTotal.taxSubtotal.taxAmount" xmlns:deb36="https://pe.edocnube.com/api/emision/ubl/debitNote.taxTotal.taxSubtotal.taxCategory" xmlns:deb37="https://pe.edocnube.com/api/emision/ubl/debitNote.taxTotal.taxSubtotal.taxCategory.taxScheme" xmlns:deb38="https://pe.edocnube.com/api/emision/ubl/debitNote.requestedMonetaryTotal" xmlns:deb39="https://pe.edocnube.com/api/emision/ubl/debitNote.requestedMonetaryTotal.chargeTotalAmount" xmlns:deb40="https://pe.edocnube.com/api/emision/ubl/debitNote.requestedMonetaryTotal.payableRoundingAmount" xmlns:deb41="https://pe.edocnube.com/api/emision/ubl/debitNote.requestedMonetaryTotal.payableAmount" xmlns:deb42="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine" xmlns:deb43="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.debitedQuantity" xmlns:deb44="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.lineExtensionAmount" xmlns:deb45="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.pricingReference" xmlns:deb46="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.pricingReference.alternativeConditionPrice" xmlns:deb47="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.pricingReference.alternativeConditionPrice.priceAmount" xmlns:deb48="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.taxTotal" xmlns:deb49="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.taxTotal.taxAmount" xmlns:deb50="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.taxTotal.taxSubtotal.taxableAmount" xmlns:deb51="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.taxTotal.taxSubtotal.taxAmount" xmlns:deb52="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.taxTotal.taxSubtotal.baseUnitMeasure" xmlns:deb53="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.taxTotal.taxSubtotal.taxCategory" xmlns:deb54="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.taxTotal.taxSubtotal.taxCategory.perUnitAmount" xmlns:deb55="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.taxTotal.taxSubtotal.taxCategory.taxScheme" xmlns:deb56="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.item" xmlns:deb57="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.item.description" xmlns:deb58="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.item.sellersItemIdentification" xmlns:deb59="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.item.standardItemIdentification" xmlns:deb60="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.item.standardItemIdentification.iD" xmlns:deb61="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.item.commodityClassification" xmlns:deb62="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.item.additionalItemProperty" xmlns:deb63="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.item.additionalItemProperty.usabilityPeriod" xmlns:deb64="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.price" xmlns:deb65="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.price.priceAmount" xmlns:deb66="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.price.priceAmount" xmlns:deb67="https://pe.edocnube.com/api/emision/ubl/debitNote.debitNoteLine.taxTotal.taxSubtotal" xmlns:ext="https://pe.edocnube.com/api/emision/extensiones">
   <soapenv:Header/>
   <soapenv:Body>
      <emis:EmitirNotaDebito>
         <emis:Clave>----------</emis:Clave>
         <emis:NotaDebito>
            <not:DebitNote>
               <deb:ID>FD01-00000908</deb:ID>
               <deb:IssueDate>2026-03-27</deb:IssueDate>
               <!--Optional:-->
               <deb:IssueTime>11:17:00</deb:IssueTime>
               <!--Optional:-->
               <deb:Notes>
                  <!--Zero or more repetitions:-->
                  <deb1:Note>
                     <!--Optional:-->
                     <deb1:LanguageLocaleID>1000</deb1:LanguageLocaleID>
                     <deb1:Value>TREINTA Y CINCO DOLARES CUARENTA CENTAVOS</deb1:Value>
                  </deb1:Note>
               </deb:Notes>
               <deb:DocumentCurrencyCode>USD</deb:DocumentCurrencyCode>
               <deb:DiscrepancyResponse>
                  <deb2:ResponseCode>01</deb2:ResponseCode>
                  <deb2:Descriptions>
                     <!--Zero or more repetitions:-->
                     <deb3:Description>Aumento en el valor</deb3:Description>
                  </deb2:Descriptions>
               </deb:DiscrepancyResponse>
               <deb:BillingReferences>
                  <!--Zero or more repetitions:-->
                  <deb4:BillingReference>
                     <deb4:InvoiceDocumentReference>
                        <deb5:ID>FV01-00107141</deb5:ID>
                        <deb5:DocumentTypeCode>01</deb5:DocumentTypeCode>
                     </deb4:InvoiceDocumentReference>
                  </deb4:BillingReference>
               </deb:BillingReferences>
               <deb:AccountingSupplierParty>
                  <deb8:Party>
                     <deb9:PartyIdentification>
                        <deb10:ID>
                           <deb11:SchemeID>6</deb11:SchemeID>
                           <deb11:Value>20606317663</deb11:Value>
                        </deb10:ID>
                     </deb9:PartyIdentification>
                     <!--Optional:-->
                     <deb9:PartyName>
                        <deb12:Name>CICSA PERU S.A.C.</deb12:Name>
                     </deb9:PartyName>
                     <deb9:PartyLegalEntity>
                        <deb13:RegistrationName>CICSA PERU S.A.C.</deb13:RegistrationName>
                        <!--Optional:-->
                        <deb13:RegistrationAddress>
                           <!--Optional:-->
                           <deb14:ID>150131</deb14:ID>
                           <!--Optional:-->
                           <deb14:AddressTypeCode>0000</deb14:AddressTypeCode>
                           <!--Optional:-->
                           <deb14:CitySubdivisionName>Lima</deb14:CitySubdivisionName>
                           <!--Optional:-->
                           <deb14:CityName>Lima</deb14:CityName>
                           <!--Optional:-->
                           <deb14:CountrySubentity>Lima</deb14:CountrySubentity>
                           <!--Optional:-->
                           <deb14:District>San Isidro</deb14:District>
                           <!--Optional:-->
                           <deb14:AddressLines>
                              <!--Zero or more repetitions:-->
                              <deb15:AddressLine>
                                 <deb15:Line>Calle 1 con calle 2</deb15:Line>
                              </deb15:AddressLine>
                           </deb14:AddressLines>
                           <!--Optional:-->
                           <deb14:Country>
                              <deb16:IdentificationCode>PE</deb16:IdentificationCode>
                           </deb14:Country>
                        </deb13:RegistrationAddress>
                     </deb9:PartyLegalEntity>
                  </deb8:Party>
               </deb:AccountingSupplierParty>
               <deb:AccountingCustomerParty>
                  <deb17:Party>
                     <deb18:PartyIdentification>
                        <deb19:ID>
                           <deb20:SchemeID>6</deb20:SchemeID>
                           <deb20:Value>20606317663</deb20:Value>
                        </deb19:ID>
                     </deb18:PartyIdentification>
                     <deb18:PartyLegalEntity>
                        <deb21:RegistrationName>CORPORATIVO</deb21:RegistrationName>
                     </deb18:PartyLegalEntity>
                  </deb17:Party>
               </deb:AccountingCustomerParty>
               <deb:TaxTotal>
                  <deb31:TaxAmount>
                     <deb32:Value>5.4</deb32:Value>
                  </deb31:TaxAmount>
                  <deb31:TaxSubtotals>
                     <!--Zero or more repetitions:-->
                     <deb33:TaxSubtotal>
                        <deb33:TaxableAmount>
                           <deb34:Value>30</deb34:Value>
                        </deb33:TaxableAmount>
                        <deb33:TaxAmount>
                           <deb35:Value>5.4</deb35:Value>
                        </deb33:TaxAmount>
                        <deb33:TaxCategory>
                           <deb36:TaxScheme>
                              <deb37:ID>1000</deb37:ID>
                              <deb37:Name>IGV</deb37:Name>
                              <deb37:TaxTypeCode>VAT</deb37:TaxTypeCode>
                           </deb36:TaxScheme>
                        </deb33:TaxCategory>
                     </deb33:TaxSubtotal>
                  </deb31:TaxSubtotals>
               </deb:TaxTotal>
               <deb:RequestedMonetaryTotal>
                  <deb38:PayableAmount>
                     <deb41:Value>35.40</deb41:Value>
                  </deb38:PayableAmount>
               </deb:RequestedMonetaryTotal>
               <deb:DebitNoteLines>
                  <!--Zero or more repetitions:-->
                  <deb42:DebitNoteLine>
                     <deb42:ID>10</deb42:ID>
                     <!--Optional:-->
                     <deb42:DebitedQuantity>
                        <deb43:UnitCode>EA</deb43:UnitCode>
                        <deb43:Value>1</deb43:Value>
                     </deb42:DebitedQuantity>
                     <deb42:LineExtensionAmount>
                        <deb44:Value>20</deb44:Value>
                     </deb42:LineExtensionAmount>
                     <deb42:PricingReference>
                        <deb45:AlternativeConditionPrices>
                           <!--Zero or more repetitions:-->
                           <deb46:AlternativeConditionPrice>
                              <deb46:PriceAmount>
                                 <deb47:Value>23.60</deb47:Value>
                              </deb46:PriceAmount>
                              <deb46:PriceTypeCode>01</deb46:PriceTypeCode>
                           </deb46:AlternativeConditionPrice>
                        </deb45:AlternativeConditionPrices>
                     </deb42:PricingReference>
                     <deb42:TaxTotal>
                        <deb48:TaxAmount>
                           <deb49:Value>3.60</deb49:Value>
                        </deb48:TaxAmount>
                        <deb48:TaxSubtotals>
                           <!--Zero or more repetitions:-->
                           <deb67:TaxSubtotal>
                              <deb67:TaxableAmount>
                                 <deb50:Value>20</deb50:Value>
                              </deb67:TaxableAmount>
                              <deb67:TaxAmount>
                                 <deb51:Value>3.60</deb51:Value>
                              </deb67:TaxAmount>
                              <deb67:TaxCategory>
                                 <!--Optional:-->
                                 <deb53:Percent>18</deb53:Percent>
                                 <!--Optional:-->
                                 <deb53:TaxExemptionReasonCode>10</deb53:TaxExemptionReasonCode>
                                 <deb53:TaxScheme>
                                    <deb55:ID>1000</deb55:ID>
                                    <deb55:Name>IGV</deb55:Name>
                                    <deb55:TaxTypeCode>VAT</deb55:TaxTypeCode>
                                 </deb53:TaxScheme>
                              </deb67:TaxCategory>
                           </deb67:TaxSubtotal>
                        </deb48:TaxSubtotals>
                     </deb42:TaxTotal>
                     <!--Optional:-->
                     <deb42:Item>
                        <!--Optional:-->
                        <deb56:Descriptions>
                           <!--Zero or more repetitions:-->
                           <deb57:Description>GATEWAY INALAMBRICO</deb57:Description>
                        </deb56:Descriptions>
                     </deb42:Item>
                     <deb42:Price>
                        <deb64:PriceAmount>
                           <deb66:Value>20</deb66:Value>
                        </deb64:PriceAmount>
                     </deb42:Price>
                  </deb42:DebitNoteLine>
                  <deb42:DebitNoteLine>
                     <deb42:ID>20</deb42:ID>
                     <!--Optional:-->
                     <deb42:DebitedQuantity>
                        <deb43:UnitCode>EA</deb43:UnitCode>
                        <deb43:Value>1</deb43:Value>
                     </deb42:DebitedQuantity>
                     <deb42:LineExtensionAmount>
                        <deb44:Value>10</deb44:Value>
                     </deb42:LineExtensionAmount>
                     <deb42:PricingReference>
                        <deb45:AlternativeConditionPrices>
                           <!--Zero or more repetitions:-->
                           <deb46:AlternativeConditionPrice>
                              <deb46:PriceAmount>
                                 <deb47:Value>11.80</deb47:Value>
                              </deb46:PriceAmount>
                              <deb46:PriceTypeCode>01</deb46:PriceTypeCode>
                           </deb46:AlternativeConditionPrice>
                        </deb45:AlternativeConditionPrices>
                     </deb42:PricingReference>
                     <deb42:TaxTotal>
                        <deb48:TaxAmount>
                           <deb49:Value>1.80</deb49:Value>
                        </deb48:TaxAmount>
                        <deb48:TaxSubtotals>
                           <!--Zero or more repetitions:-->
                           <deb67:TaxSubtotal>
                              <deb67:TaxableAmount>
                                 <deb50:Value>10</deb50:Value>
                              </deb67:TaxableAmount>
                              <deb67:TaxAmount>
                                 <deb51:Value>1.80</deb51:Value>
                              </deb67:TaxAmount>
                              <deb67:TaxCategory>
                                 <!--Optional:-->
                                 <deb53:Percent>18</deb53:Percent>
                                 <!--Optional:-->
                                 <deb53:TaxExemptionReasonCode>10</deb53:TaxExemptionReasonCode>
                                 <deb53:TaxScheme>
                                    <deb55:ID>1000</deb55:ID>
                                    <deb55:Name>IGV</deb55:Name>
                                    <deb55:TaxTypeCode>VAT</deb55:TaxTypeCode>
                                 </deb53:TaxScheme>
                              </deb67:TaxCategory>
                           </deb67:TaxSubtotal>
                        </deb48:TaxSubtotals>
                     </deb42:TaxTotal>
                     <!--Optional:-->
                     <deb42:Item>
                        <!--Optional:-->
                        <deb56:Descriptions>
                           <!--Zero or more repetitions:-->
                           <deb57:Description>GOLD SYSTEM</deb57:Description>
                        </deb56:Descriptions>
                     </deb42:Item>
                     <deb42:Price>
                        <deb64:PriceAmount>
                           <deb66:Value>10</deb66:Value>
                        </deb64:PriceAmount>
                     </deb42:Price>
                  </deb42:DebitNoteLine>
               </deb:DebitNoteLines>
            </not:DebitNote>
            <not:InfoAdicionalEDoc>
              <ext:NombreIntegracion>SOAP UI</ext:NombreIntegracion>
               <!--Optional:-->
               <ext:UsuarioTransaccionERP>jzambrano</ext:UsuarioTransaccionERP>
               <!--Optional:-->
               <ext:CodigoTransaccionERP>ERPND2026</ext:CodigoTransaccionERP>
               <!--Optional:-->
               <ext:SecuencialERP>ERP02000001096</ext:SecuencialERP>
               <!--Optional:-->
               <ext:EmailReceptor>jose.zambrano@guru-soft.com</ext:EmailReceptor>
               <!--Optional:-->
               <ext:EmailResponsable>soporte.pe@guru-soft.com</ext:EmailResponsable>
               <!--Optional:-->
               <ext:Campo1>Campo1</ext:Campo1>
               <!--Optional:-->
               <ext:Campo2>Campo2</ext:Campo2>
               <!--Optional:-->
               <ext:Campo3>Campo3</ext:Campo3>
               <!--Optional:-->
               <ext:Campo4>Campo4</ext:Campo4>
               <!--Optional:-->
               <ext:Campo5>Campo5</ext:Campo5>
               <!--Optional:-->
               <ext:Campo6>Campo6</ext:Campo6>
               <!--Optional:-->
               <ext:Campo7>Campo7</ext:Campo7>
               <!--Optional:-->
               <ext:Campo8>Campo8</ext:Campo8>
               <!--Optional:-->
               <ext:Campo9>Campo9</ext:Campo9>
               <!--Optional:-->
               <ext:Campo10>Campo10</ext:Campo10>
            </not:InfoAdicionalEDoc>
         </emis:NotaDebito>
      </emis:EmitirNotaDebito>
   </soapenv:Body>
</soapenv:Envelope>
```

{% endtab %}

{% tab title="Response" %}
{% code title="" %}

```xml
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <EmitirNotaDebitoResponse xmlns="https://pe.edocnube.com/api/emision" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
         <Estado>2</Estado>
         <FechaAutorizacion>2026-05-13T11:29:57.000-05:00</FechaAutorizacion>
         <MensajeError>La Nota de Debito numero FD01-00000908, ha sido aceptada</MensajeError>
      </EmitirNotaDebitoResponse>
   </s:Body>
</s:Envelope>
```

{% endcode %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wikiedoc.guru-soft.com/pe/integraciones-y-servicios/soap/ejemplos/nota-de-debito.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
