[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

NoteInvoice Document TypeInvoice TypeInvoice Serie
Credit notecredit notecreditStarts with F for a note on a factura, B for a note on a boleta. Examples: FC01, BC01.
Debit notedebit notedebitStarts 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.

ColumnValue / formatRequiredNotes
Original Invoice BRINTA IDBrinta ID of the original documentYes, unless you use the next columnFind it in Invoicing → Outgoing, in the detail of the original document.
Original Invoice External IDYour own ID of the original documentAlternative to the column aboveUse it only if the original was issued through Brinta and you don't have its Brinta ID.
Invoice Reasonvoid, return, discountCredit notesvoid 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 IDBrinta ID of the original itemCredit notes return and discountThe line of the original document that the note changes.

Column by column

Document

ColumnValue / formatRequiredNotes
IssuerValue given by BrintaYesSame issuer as the original document.
Invoice Document Typecredit note or debit noteYesLowercase.
Invoice Typecredit or debitYes
Invoice External IDYour own IDYesYour reference for the note. Rows with the same value are items of the same note.
Invoice Serie4 charactersYesSee the table above.
Invoice NumberNumber from 1 to 99999999YesThe correlative of the note.
Invoice Dateyyyy-mm-ddYesIssue date of the note.
Invoice Due Dateyyyy-mm-ddNo
Invoice CurrencySame as the originalYes
Invoice Exchange RateNumberWhen currency is not PEN
Additional InfoLegend code, a space, a dash, a space, then the noteNoSame 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 return or discount: fill in only the items returned or discounted. Each one points to its line on the original with Original Item ID.
  • Debit note: fill in only the amount being added, as new items. Leave Original Item ID empty.
ColumnValue / formatRequiredNotes
Item External IDYour own codeNo
Item NameTextYesWhat is credited or added.
Item DescriptionTextNo
Item QuantityNumberNoIf empty, 1 is used.
Item Unit AmountNumberNoUnit value before taxes.
Item AmountNumberYesAmount being credited or added, before IGV. Positive number.
Item Unit CodeUnit of measure codeDebit notesZZ for services, NIU for units. In credit notes it can stay empty.
VAT RateSame rate as the original lineYes0.18, 0.105, 0.04 or 0.
VAT AmountNumberYesItem Amount × VAT Rate.

Example rows

Full cancellation of a boleta (void)

ColumnValue
Issuer(your issuer value)
Invoice Document Typecredit note
Invoice Typecredit
Invoice External IDNC-2026-0008
Invoice SerieB002
Invoice Number123
Invoice Due Date2026-11-03
Invoice CurrencyPEN
Invoice Reasonvoid
Original Invoice BRINTA ID(Brinta ID of the boleta)

Return of one item (return)

ColumnValue
Issuer(your issuer value)
Invoice Document Typecredit note
Invoice Typecredit
Invoice External IDNC-2026-0007
Invoice SerieFC01
Invoice Number7
Invoice Date2026-11-03
Invoice CurrencyPEN
Invoice Reasonreturn
Original Invoice BRINTA ID(Brinta ID of the factura)
Original Item ID(Brinta ID of the item)
Item NameServicio de procesamiento
Item Amount1000
VAT Rate0.18
VAT Amount180

A discount note has the same columns, with Invoice Reason = discount.

Late-payment interest on a factura (debit note)

ColumnValue
Issuer(your issuer value)
Invoice Document Typedebit note
Invoice Typedebit
Invoice External IDND-2026-0001
Invoice SerieFD01
Invoice Number1
Invoice Date2026-11-03
Invoice CurrencyPEN
Original Invoice BRINTA ID(Brinta ID of the factura)
Item NameIntereses por mora
Item Quantity1
Item Unit Amount100
Item Amount100
Item Unit CodeZZ
VAT Rate0.18
VAT Amount18

Did this page help you?