[PE] Bulk Upload - Factura

Use a Factura (SUNAT code 01) when the buyer is a business identified with a RUC. For the general upload steps and format rules, see the Peru bulk upload manual.

Each row in the file is one item. A factura with several items takes several rows with the same Invoice External ID. Fill in the document and buyer columns on the first row.

Column by column

Document

ColumnValue / formatRequiredNotes
IssuerValue given by BrintaYesIdentifies which of your companies issues the document.
Invoice Document TypeinvoiceYesLowercase.
Invoice TypedebitYesAlways debit for a factura.
Invoice External IDYour own IDYesYour reference for the factura. Rows with the same value are items of the same document.
Invoice Serie4 characters starting with FYesExample: F001.
Invoice NumberNumber from 1 to 99999999YesNo leading zeros. Example: 12346.
Invoice Dateyyyy-mm-ddYesIssue date. It can't be more than 3 days before, or more than 2 days after, the day the document reaches SUNAT.
Invoice Due Dateyyyy-mm-ddNoSame date as Invoice Date for a cash sale (contado). A later date makes it a credit sale (crédito).
Payment Modelcash or creditNoContado or Crédito. If empty, it is decided from Invoice Due Date.
Invoice ReasonOperation typeNoSee the table below. If empty, the factura is issued as 0101.
Invoice CurrencyPEN or USDYesCurrency of the factura.
Invoice Exchange RateNumberWhen currency is not PENExchange rate to PEN. Leave empty for PEN.
Additional InfoLegend code, a space, a dash, a space, then the noteNoExample: 2004 - Paquete turístico Cusco 5 días. The note can be up to 200 characters. Do not send legends 1000 or 1002: they are added on their own.
Purchase Order NumberUp to 20 letters or digitsNoThe buyer's purchase or service order number. Informative only.

Operation types (Invoice Reason)

ValueUse it for
0101Domestic sale (the usual case)
0112Domestic sale supporting deductible expenses of an individual
0200 to 0208Exports of goods or services. Use IGV Code 40 in every item.
0401Sales to non-residents that don't qualify as exports

The full list is in Invoice reasons → PE.

Buyer

ColumnValue / formatRequiredNotes
Buyer External IDYour own IDNoYour reference for the buyer.
Buyer TypebusinessYesLowercase.
Buyer Tax Registration TypeRUCYesA factura requires a buyer with RUC.
Buyer Tax Registration Number11 digits, no spaces or dashesYesFormat the cell as text so Excel keeps all digits. The RUC must exist in the SUNAT taxpayer registry.
Buyer NameTrade nameYes
Buyer Legal NameLegal name (razón social)YesPrinted on the document.
Buyer CountryPEYesISO code. For exports, the buyer's country.
Buyer StateISO 3166-2 codeYesExample: PE-LIM. See department codes.
Buyer CityCity or provinceYes
Buyer Address Line 1Street and numberYes
Buyer Address Line 2Urbanization or additional lineNo
Buyer NeighborhoodDistrictNo
Buyer Municipality Code6 digitsNoUbigeo: the INEI district code. Example: 150132. It is not a postal code.
Buyer Postal CodePostal codeNo
Buyer EmailEmailNo

Item and IGV

ColumnValue / formatRequiredNotes
Item External IDYour own codeNoYour product code.
Item NameTextYes
Item DescriptionTextNoAdded after the name on the document.
Item QuantityNumberNoIf empty, 1 is used.
Item Unit AmountNumberRecommendedUnit value before taxes.
Item AmountNumberYesLine value before taxes (quantity × unit amount).
Item Unit CodeUnit of measure codeYesZZ for services, NIU for units. See Units of Measure.
Item SUNAT Code8 digitsNoSUNAT product code. SUNAT requires it for some goods.
VAT Rate0.18, 0.105, 0.04 or 0Yes0.18 standard rate, 0.105 reduced rate, 0.04 IVAP, 0 for exempt, unaffected and export lines. Use one rate per document.
VAT AmountNumberYesItem Amount × VAT Rate. Use 0 when the rate is 0.
IGV CodeNumberOnly for non-taxed linesLeave empty for a normal taxed line. Use 20 for exempt, 30 for unaffected and 40 for exports, always with VAT Rate 0 and VAT Amount 0.

Leave the credit and debit note columns (Invoice Reason values void, return and discount, Original Item ID, Original Invoice BRINTA ID and Original Invoice External ID) empty.

Example rows

A factura with two items. The second row repeats Invoice External ID and carries only the item columns.

ColumnRow 1Row 2
Issuer(your issuer value)
Invoice Document Typeinvoice
Invoice Typedebit
Invoice External IDINV-2026-0123INV-2026-0123
Invoice SerieF001
Invoice Number123
Invoice Date2026-11-03
Invoice Due Date2026-12-03
Invoice Reason0101
Invoice CurrencyPEN
Buyer Typebusiness
Buyer Tax Registration TypeRUC
Buyer Tax Registration Number20512345678
Buyer NameComercial Andina
Buyer Legal NameComercial Andina S.A.C.
Buyer CountryPE
Buyer StatePE-LIM
Buyer CityLima
Buyer Address Line 1Av. Javier Prado Este 1234
Item NameServicio de procesamientoServicio de soporte
Item Quantity11
Item Unit Amount1000500
Item Amount1000500
Item Unit CodeZZZZ
VAT Rate0.180.18
VAT Amount18090

Did this page help you?