[PE] Bulk Upload - Credit and debit notes
A credit note (SUNAT code 07) voids, returns, discounts or corrects a factura or boleta already issued. A debit note (08) increases the amount of one: late-payment interest, a value increase, penalties. Both always reference the original document. For the general upload steps and format rules, see the Peru bulk upload manual.
Each row in the file is one item. A note with several items takes several rows with the same Invoice External ID. Fill in the document columns on the first row.
Which values to use
| Note | Invoice Document Type | Invoice Type | Invoice Serie |
|---|---|---|---|
| Credit note | credit note | credit | Starts with F for a note on a factura, B for a note on a boleta. Examples: FC01, BC01. |
| Debit note | debit note | debit | Starts with F for a note on a factura, B for a note on a boleta. Examples: FD01, BD01. |
Invoice Serie and Invoice Number identify the note itself, not the document it modifies. An F note can't modify a boleta, and a B note can't modify a factura. Invoice Number has no leading zeros.
Extra columns for notes
These columns are at the end of the template. Keep the headers exactly as they are.
| Column | Value / format | Required | Notes |
|---|---|---|---|
Original Invoice BRINTA ID | Brinta ID of the original document | Yes, unless you use the next column | Find it in Invoicing → Outgoing, in the detail of the original document. |
Original Invoice External ID | Your own ID of the original document | Alternative to the column above | Use it only if the original was issued through Brinta and you don't have its Brinta ID. |
Invoice Reason | void, return, discount | Credit notes | void cancels the whole original document. return credits goods returned. discount credits a discount granted after the sale. Leave it empty in debit notes. |
Original Item ID | Brinta ID of the original item | Credit notes return and discount | The line of the original document that the note changes. |
Column by column
Document
| Column | Value / format | Required | Notes |
|---|---|---|---|
Issuer | Value given by Brinta | Yes | Same issuer as the original document. |
Invoice Document Type | credit note or debit note | Yes | Lowercase. |
Invoice Type | credit or debit | Yes | |
Invoice External ID | Your own ID | Yes | Your reference for the note. Rows with the same value are items of the same note. |
Invoice Serie | 4 characters | Yes | See the table above. |
Invoice Number | Number from 1 to 99999999 | Yes | The correlative of the note. |
Invoice Date | yyyy-mm-dd | Yes | Issue date of the note. |
Invoice Due Date | yyyy-mm-dd | No | |
Invoice Currency | Same as the original | Yes | |
Invoice Exchange Rate | Number | When currency is not PEN | |
Additional Info | Legend code, a space, a dash, a space, then the note | No | Same format as in the Factura. |
Buyer
Leave the buyer columns empty for every note. The note keeps the buyer of the original document.
Item and IGV
- Full cancellation (
Invoice Reason=void): leave the item and IGV columns empty. The note cancels the original document for its full amount. - Credit note
returnordiscount: fill in only the items returned or discounted. Each one points to its line on the original withOriginal Item ID. - Debit note: fill in only the amount being added, as new items. Leave
Original Item IDempty.
| Column | Value / format | Required | Notes |
|---|---|---|---|
Item External ID | Your own code | No | |
Item Name | Text | Yes | What is credited or added. |
Item Description | Text | No | |
Item Quantity | Number | No | If empty, 1 is used. |
Item Unit Amount | Number | No | Unit value before taxes. |
Item Amount | Number | Yes | Amount being credited or added, before IGV. Positive number. |
Item Unit Code | Unit of measure code | Debit notes | ZZ for services, NIU for units. In credit notes it can stay empty. |
VAT Rate | Same rate as the original line | Yes | 0.18, 0.105, 0.04 or 0. |
VAT Amount | Number | Yes | Item Amount × VAT Rate. |
Example rows
Full cancellation of a boleta (void)
| Column | Value |
|---|---|
Issuer | (your issuer value) |
Invoice Document Type | credit note |
Invoice Type | credit |
Invoice External ID | NC-2026-0008 |
Invoice Serie | B002 |
Invoice Number | 123 |
Invoice Due Date | 2026-11-03 |
Invoice Currency | PEN |
Invoice Reason | void |
Original Invoice BRINTA ID | (Brinta ID of the boleta) |
Return of one item (return)
| Column | Value |
|---|---|
Issuer | (your issuer value) |
Invoice Document Type | credit note |
Invoice Type | credit |
Invoice External ID | NC-2026-0007 |
Invoice Serie | FC01 |
Invoice Number | 7 |
Invoice Date | 2026-11-03 |
Invoice Currency | PEN |
Invoice Reason | return |
Original Invoice BRINTA ID | (Brinta ID of the factura) |
Original Item ID | (Brinta ID of the item) |
Item Name | Servicio de procesamiento |
Item Amount | 1000 |
VAT Rate | 0.18 |
VAT Amount | 180 |
A discount note has the same columns, with Invoice Reason = discount.
Late-payment interest on a factura (debit note)
| Column | Value |
|---|---|
Issuer | (your issuer value) |
Invoice Document Type | debit note |
Invoice Type | debit |
Invoice External ID | ND-2026-0001 |
Invoice Serie | FD01 |
Invoice Number | 1 |
Invoice Date | 2026-11-03 |
Invoice Currency | PEN |
Original Invoice BRINTA ID | (Brinta ID of the factura) |
Item Name | Intereses por mora |
Item Quantity | 1 |
Item Unit Amount | 100 |
Item Amount | 100 |
Item Unit Code | ZZ |
VAT Rate | 0.18 |
VAT Amount | 18 |
Updated 1 day ago
