[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
| Column | Value / format | Required | Notes |
|---|---|---|---|
Issuer | Value given by Brinta | Yes | Identifies which of your companies issues the document. |
Invoice Document Type | invoice | Yes | Lowercase. |
Invoice Type | debit | Yes | Always debit for a factura. |
Invoice External ID | Your own ID | Yes | Your reference for the factura. Rows with the same value are items of the same document. |
Invoice Serie | 4 characters starting with F | Yes | Example: F001. |
Invoice Number | Number from 1 to 99999999 | Yes | No leading zeros. Example: 12346. |
Invoice Date | yyyy-mm-dd | Yes | Issue date. It can't be more than 3 days before, or more than 2 days after, the day the document reaches SUNAT. |
Invoice Due Date | yyyy-mm-dd | No | Same date as Invoice Date for a cash sale (contado). A later date makes it a credit sale (crédito). |
Payment Model | cash or credit | No | Contado or Crédito. If empty, it is decided from Invoice Due Date. |
Invoice Reason | Operation type | No | See the table below. If empty, the factura is issued as 0101. |
Invoice Currency | PEN or USD | Yes | Currency of the factura. |
Invoice Exchange Rate | Number | When currency is not PEN | Exchange rate to PEN. Leave empty for PEN. |
Additional Info | Legend code, a space, a dash, a space, then the note | No | Example: 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 Number | Up to 20 letters or digits | No | The buyer's purchase or service order number. Informative only. |
Operation types (Invoice Reason)
| Value | Use it for |
|---|---|
0101 | Domestic sale (the usual case) |
0112 | Domestic sale supporting deductible expenses of an individual |
0200 to 0208 | Exports of goods or services. Use IGV Code 40 in every item. |
0401 | Sales to non-residents that don't qualify as exports |
The full list is in Invoice reasons → PE.
Buyer
| Column | Value / format | Required | Notes |
|---|---|---|---|
Buyer External ID | Your own ID | No | Your reference for the buyer. |
Buyer Type | business | Yes | Lowercase. |
Buyer Tax Registration Type | RUC | Yes | A factura requires a buyer with RUC. |
Buyer Tax Registration Number | 11 digits, no spaces or dashes | Yes | Format the cell as text so Excel keeps all digits. The RUC must exist in the SUNAT taxpayer registry. |
Buyer Name | Trade name | Yes | |
Buyer Legal Name | Legal name (razón social) | Yes | Printed on the document. |
Buyer Country | PE | Yes | ISO code. For exports, the buyer's country. |
Buyer State | ISO 3166-2 code | Yes | Example: PE-LIM. See department codes. |
Buyer City | City or province | Yes | |
Buyer Address Line 1 | Street and number | Yes | |
Buyer Address Line 2 | Urbanization or additional line | No | |
Buyer Neighborhood | District | No | |
Buyer Municipality Code | 6 digits | No | Ubigeo: the INEI district code. Example: 150132. It is not a postal code. |
Buyer Postal Code | Postal code | No | |
Buyer Email | No |
Item and IGV
| Column | Value / format | Required | Notes |
|---|---|---|---|
Item External ID | Your own code | No | Your product code. |
Item Name | Text | Yes | |
Item Description | Text | No | Added after the name on the document. |
Item Quantity | Number | No | If empty, 1 is used. |
Item Unit Amount | Number | Recommended | Unit value before taxes. |
Item Amount | Number | Yes | Line value before taxes (quantity × unit amount). |
Item Unit Code | Unit of measure code | Yes | ZZ for services, NIU for units. See Units of Measure. |
Item SUNAT Code | 8 digits | No | SUNAT product code. SUNAT requires it for some goods. |
VAT Rate | 0.18, 0.105, 0.04 or 0 | Yes | 0.18 standard rate, 0.105 reduced rate, 0.04 IVAP, 0 for exempt, unaffected and export lines. Use one rate per document. |
VAT Amount | Number | Yes | Item Amount × VAT Rate. Use 0 when the rate is 0. |
IGV Code | Number | Only for non-taxed lines | Leave 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.
| Column | Row 1 | Row 2 |
|---|---|---|
Issuer | (your issuer value) | |
Invoice Document Type | invoice | |
Invoice Type | debit | |
Invoice External ID | INV-2026-0123 | INV-2026-0123 |
Invoice Serie | F001 | |
Invoice Number | 123 | |
Invoice Date | 2026-11-03 | |
Invoice Due Date | 2026-12-03 | |
Invoice Reason | 0101 | |
Invoice Currency | PEN | |
Buyer Type | business | |
Buyer Tax Registration Type | RUC | |
Buyer Tax Registration Number | 20512345678 | |
Buyer Name | Comercial Andina | |
Buyer Legal Name | Comercial Andina S.A.C. | |
Buyer Country | PE | |
Buyer State | PE-LIM | |
Buyer City | Lima | |
Buyer Address Line 1 | Av. Javier Prado Este 1234 | |
Item Name | Servicio de procesamiento | Servicio de soporte |
Item Quantity | 1 | 1 |
Item Unit Amount | 1000 | 500 |
Item Amount | 1000 | 500 |
Item Unit Code | ZZ | ZZ |
VAT Rate | 0.18 | 0.18 |
VAT Amount | 180 | 90 |
Updated 1 day ago
Did this page help you?
