This guide shows how to issue an electronic invoice for Peruvian stores and an electronic receipt for end consumers, using the Nubefact integration.
Prerequisite: Nubefact must be configured and enabled in Configuration → Invoicing. See Nubefact configuration.
For distribution sales to supermarkets, stores and other businesses.
When SUNAT accepts the document:
For direct sales to end consumers at the delivery point.
Require the original invoice or receipt to be already declared to SUNAT.
| Error | Likely cause | Solution |
|---|---|---|
Invalid token |
Incorrect or expired Nubefact token | Check in Configuration → Invoicing |
Incorrect URL |
URL missing the Nubefact account UUID | Verify the URL includes the unique identifier |
Document already exists |
Document already sent to SUNAT | Do not re-declare already accepted documents |
Missing recipient data |
Store without RUC or client without DNI | Complete the document in the profile |
Invoice already declared |
Attempt to declare twice | No need to declare again |
Original invoice must be declared |
Credit/debit note on undeclared invoice | Declare the original document first |
AI-generated answers based on the manual. They may contain mistakes.