Skip to content

Notas de Debito (08)

Notas de Debito (debit notes) are used to increase the amount of a previously emitted Factura or Boleta. Common uses include adding interest for late payments or correcting amounts upward.

POST /api/debit-notes

Authorization: Bearer sk_live_YOUR_API_KEY or Authorization: Bearer JWT_TOKEN

{
"series": "F001",
"correlative": 1,
"issueDate": "2026-02-21",
"currencyCode": "PEN",
"referenceDocumentId": "F001-00000001",
"referenceDocumentType": "01",
"responseCode": "01",
"responseDescription": "Intereses por mora",
"customer": {
"identityType": "6",
"identityNumber": "20100047218",
"name": "Empresa Cliente SAC",
"address": "Av. Javier Prado 1234, San Isidro"
},
"items": [
{
"code": "INT-001",
"description": "Intereses moratorios - Febrero 2026",
"quantity": 1,
"unitCode": "ZZ",
"unitPrice": 150.00,
"igvType": "10"
}
]
}
FieldTypeRequiredDescription
referenceDocumentIdstringYesOriginal document series-correlative (e.g., F001-00000001)
referenceDocumentTypestringYesOriginal document type code (01 for Factura, 03 for Boleta)
responseCodestringYesSUNAT debit note reason code (see below)
responseDescriptionstringYesDescription of the reason
CodeDescription
01Intereses por mora
02Aumento en el valor
03Penalidades / otros conceptos

All other fields (series, customer, items, etc.) follow the same schema as Facturas.

{
"id": "cm3jkl012",
"documentId": "20123456789-08-F001-00000001",
"status": "ACCEPTED",
"cdrResponseCode": "0",
"cdrDescription": "La Nota de Debito numero F001-00000001, ha sido aceptada",
"ticket": null
}
  • Use F prefix when the debit note references a Factura
  • Use B prefix when the debit note references a Boleta