The Spanish version is the authoritative reference. View in Spanish
File naming
Each ZIP file sent to the OSE must follow a specific naming convention defined in SUNAT's Annex 4. An incorrect file name will result in immediate rejection of the document.
Receipts — sendBill
For Electronic Invoices, Electronic Sales Tickets, Credit Notes, Debit Notes, Withholdings, Perceptions and DAE:
{RUC}-{TT}-{SERIE}-{NUMERO}.zip
Parameters
AtributoTipoDescripción
{RUC}n11Issuer's RUC. 11 digits. Example: 20556695548
{TT}n2Receipt type code. Example: 01 (Invoice), 03 (Sales ticket)
{SERIE}an4Receipt series. Example: F001, B001, FB98
{NUMERO}n..8Correlative number of the receipt. Example: 1, 00100412
Examples
AtributoTipoDescripción
Electronic Invoice0120556695548-01-F001-1.zip
Electronic Sales Ticket0320556695548-03-B001-1.zip
Electronic Credit Note0720556695548-07-FC01-1.zip
Electronic Debit Note0820556695548-08-FD01-1.zip
Electronic Withholding2020556695548-20-R001-1.zip
Electronic Perception4020556695548-40-P001-1.zip
DAE Operator3420556695548-34-D001-1.zip
DAE Acquirer3020556695548-30-D001-1.zip
DAE Acquirer4220556695548-42-D001-1.zip
Summaries and voids — sendSummary
For Daily Sales-Ticket Summaries, Void Communications and Reversal Summaries:
{RUC}-{TT}-{YYYYMMDD}-{CCCCC}.zip
Parameters
AtributoTipoDescripción
{RUC}n11Issuer's RUC. 11 digits. Example: 20556695548
{TT}an2Summary type: RC (daily summary), RA (void), RR (reversal)
{YYYYMMDD}n8Summary generation date. Example: 20260616
{CCCCC}n..5Summary correlative for that date. Example: 1, 0231
Examples
AtributoTipoDescripción
Daily Sales-Ticket SummaryRC20556695548-RC-20260616-0231.zip
Void CommunicationRA20556695548-RA-20260616-001.zip
Reversal SummaryRR20556695548-RR-20260616-001.zip
Name of the XML inside the ZIP
The XML file inside the ZIP must have exactly the same name as the ZIP, without the extension. For example, the ZIP 20556695548-01-F001-1.zip must contain the file 20556695548-01-F001-1.xml.