Overview
The POS Settings page (/configuracion/pos) provides centralized configuration for:
- IVA (sales tax) calculation
- CFDI invoicing (Mexican electronic invoicing)
- Receipt/ticket printing customization
- Billing series and folio management
localStorage and apply immediately.
IVA Configuration
Enable/Disable IVA
How IVA Works
Fixed at 16% according to Mexican tax law.
pos_aplicar_iva - Stores boolean value (“0” or “1”)IVA settings affect both POS calculations and printed tickets. Changes apply immediately to new transactions.
CFDI Invoice Configuration
Basic Settings
Enable or disable invoicing functionality
Invoice emission mode:
ticket_y_factura: Print both ticket and invoicefactura_bajo_solicitud: Invoice only when requestedsolo_factura: Invoice only (no ticket)
Invoice series (up to 8 characters, uppercase)
Current folio number (minimum: 1)
Automatically increment folio after each invoice
Issuer Information (Emisor)
Business legal name
Tax ID (RFC) - 12-13 characters, alphanumericFormat:
XAXX010101000Tax regime:
601: General de Ley Personas Morales612: Personas Fisicas con Actividades Empresariales626: Regimen Simplificado de Confianza
Fiscal postal code (5 digits)Example:
06000CFDI Defaults
CFDI usage:
G03: Gastos en generalG01: Adquisicion de mercanciasS01: Sin efectos fiscales
Payment method:
PUE: Pago en una sola exhibicion (single payment)PPD: Pago en parcialidades o diferido (installments)
Payment form:
01: Efectivo (cash)03: Transferencia electronica04: Tarjeta de credito28: Tarjeta de debito
Client Requirements
Require customer RFC before issuing invoice
Require customer email before issuing invoice
Test Mode
Enable test mode (no real stamping/timbrado)
Terms and Conditions
Invoice terms and conditions textExample:
"Factura valida para deduccion conforme a legislacion vigente."Configuration Storage
All billing settings are stored in:Ticket Customization
Header Section
Display business logo at top of ticket
Show business name, address, and phone
Business name to display on ticket
Business address (e.g., “Calle 5 #123”)
Contact phone (e.g., “2711234567”)
Content Options
Show unit price for each item (e.g., “2 x $129.00”)If disabled, only shows quantity (e.g., “2 pza”)
Print complete product descriptionIf disabled, truncates to 38 characters
Show product type label (“Producto” or “Servicio S/N04032601”)
Client Section
Display client information section
Show customer name (requires
showClientSection)Show customer phone (requires
showClientSection)Payment and Status
Display payment method section
Show transaction status (Pagado, Pendiente, etc.)
Custom Messages
Additional lines after header (one per line)Example:
Additional lines before footer (one per line)
Display return/exchange legend
Return policy text
Footer message
Configuration Storage
Ticket settings are stored in:Testing Configuration
Test Ticket Printing
Preview Panel
The right side of the configuration page shows a live preview of your ticket with all current settings applied.Service Integration
Reading Configuration
Saving Configuration
Printing Tickets
Best Practices
Configure IVA First
Configure IVA First
Set up IVA before making sales. Changing it mid-operation can cause confusion with accounting.
Test Invoicing in Sandbox
Test Invoicing in Sandbox
Keep
timbradoPruebas enabled until you’ve validated your complete invoicing flow.Validate RFC Format
Validate RFC Format
Ensure your RFC follows the correct format:
- Personas Fisicas: 13 characters (XAXX010101000)
- Personas Morales: 12 characters (ABC123456D01)
Back Up Configuration
Back Up Configuration
Periodically export your localStorage to back up settings:
Print Test Tickets
Print Test Tickets
Test your ticket configuration with different scenarios:
- With and without IVA
- Short and long product names
- Multiple products
- Service items with folio numbers
Troubleshooting
Changes Not Saving
Changes Not Saving
Check browser console for localStorage errors:
Ticket Preview Not Updating
Ticket Preview Not Updating
The preview uses
useMemo hooks. If it’s not updating:- Check that the state is actually changing
- Verify the dependency arrays in the component
- Hard refresh the page (Ctrl+Shift+R)
Invoice Folio Not Incrementing
Invoice Folio Not Incrementing
Ensure
autoIncrement is enabled in billing configuration. The folio increments automatically after each successful invoice.Settings Reset on Page Refresh
Settings Reset on Page Refresh
This indicates localStorage is not persisting. Check:
- Browser privacy settings
- Incognito/private browsing mode (doesn’t persist)
- Storage quota limits
Next Steps
Appearance Settings
Customize colors, fonts, and visual theme
Billing Configuration
Configure CFDI invoicing and billing
