TL;DR — Quick Summary
CFDI error 401 from expired or wrong CSD: renew digital seal certificate on SAT portal, reload in PAC and ERP, then test stamp a minimal invoice.
CFDI error 401 during Mexican e-invoicing typically means the CSD (Certificado de Sello Digital) is expired or not loaded in your PAC or ERP.
Summary
- Renew CSD on SAT before expiration.
- Update PAC and ERP the same day.
- Confirm with a test invoice UUID.