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.
Endpoint
Section titled “Endpoint”POST /api/debit-notes
Authentication
Section titled “Authentication”Authorization: Bearer sk_live_YOUR_API_KEY or Authorization: Bearer JWT_TOKEN
Request body
Section titled “Request body”{ "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" } ]}Additional fields (beyond Factura fields)
Section titled “Additional fields (beyond Factura fields)”| Field | Type | Required | Description |
|---|---|---|---|
referenceDocumentId | string | Yes | Original document series-correlative (e.g., F001-00000001) |
referenceDocumentType | string | Yes | Original document type code (01 for Factura, 03 for Boleta) |
responseCode | string | Yes | SUNAT debit note reason code (see below) |
responseDescription | string | Yes | Description of the reason |
Debit note reason codes
Section titled “Debit note reason codes”| Code | Description |
|---|---|
01 | Intereses por mora |
02 | Aumento en el valor |
03 | Penalidades / otros conceptos |
All other fields (series, customer, items, etc.) follow the same schema as Facturas.
Response
Section titled “Response”Success (201 Created)
Section titled “Success (201 Created)”{ "id": "cm3jkl012", "documentId": "20123456789-08-F001-00000001", "status": "ACCEPTED", "cdrResponseCode": "0", "cdrDescription": "La Nota de Debito numero F001-00000001, ha sido aceptada", "ticket": null}Series format
Section titled “Series format”- Use
Fprefix when the debit note references a Factura - Use
Bprefix when the debit note references a Boleta