[PE] Credit Note (07)
What is a Nota de Crédito?
A Nota de Crédito Electrónica (SUNAT code 07) voids, returns, discounts or corrects a factura or boleta already issued. It always references the original document.
| Field | Value |
|---|---|
document_type | credit note |
invoice_type | credit |
invoice_serie | 4 characters, starting with F for a note on a factura, B for a note on a boleta |
invoice_number | Correlative of the note itself, 1 to 99999999 |
reason | void, return or discount (table below) |
e_invoice | true |
invoice_serieandinvoice_numberbelong to the noteThey identify the credit note, not the document it modifies. The original is referenced with
original_invoice_id(or the alternatives below). The series letter must match the original:Ffor a factura,Bfor a boleta.
reason: credit note type
reason: credit note typereason | Use it for |
|---|---|
void | Void the whole document (Anulación de la operación) |
return | Goods returned |
discount | A discount granted after the sale |
Field by Field
Root Level
Referencing the original document
Send one of:
| Field | When |
|---|---|
original_invoice_id | The original was issued through Brinta: its Brinta ID. |
original_invoice_external_id | The original was issued through Brinta: its ID in your system. |
relations[] with document_type (invoice or ticket), invoice_serie and invoice_number | The original was not issued through Brinta. |
Brinta takes the original's type (factura or boleta), series and number from the reference.
invoice_date, currency, additional_info
invoice_date, currency, additional_infoSame as on the Factura (01). Use the same currency as the original.
buyer
buyerDon't send it. Brinta takes the buyer from the original document.
items[]
items[]void: don't send items. Brinta voids the whole original document.returnordiscount: send only the items returned or discounted. Each one points to its line on the original withoriginal_item_id(the Brinta ID of that item), plusname,amountandtaxes[]for the amount being credited.
Credit notes don't carry percepción.
Examples
Void a boleta (void)
{
"invoice_type": "credit",
"document_type": "credit note",
"invoice_due_date": "2026-11-03",
"currency": "PEN",
"e_invoice": true,
"reason": "void",
"invoice_serie": "B002",
"invoice_number": 123,
"original_invoice_id": "{{original_invoice_id}}",
"supplier_company_id": "{{company_id}}"
}Return of one item (return)
{
"invoice_type": "credit",
"document_type": "credit note",
"invoice_due_date": "2026-11-03",
"currency": "PEN",
"e_invoice": true,
"reason": "return",
"invoice_serie": "B001",
"invoice_number": 123,
"original_invoice_id": "{{original_invoice_id}}",
"supplier_company_id": "{{company_id}}",
"items": [
{
"original_item_id": "{{original_item_id}}",
"amount": 1000,
"name": "Item Name",
"taxes": [
{
"amount": 180,
"name": "IGV",
"type": "VAT",
"rate": 0.18,
"rate_type": "percentage",
"description": "Impuesto General a las Ventas",
"adds_to_final_amount": true
}
]
}
]
}A discount note has the same structure as the return one, with "reason": "discount".
Updated 3 days ago
