Stockline Labs

Security, incident response and data retention

Applies to Facturación CFDI · Version 1.0 · October 13, 2026

1. Security measures

  • Encryption in transit: HTTPS/TLS is enforced for the app, webhooks and the storefront portal. Traffic between the app and its database is encrypted with TLS.
  • Encryption at rest: the database runs on encrypted storage. Each store's stamping credentials are additionally encrypted in the app with AES-256-GCM. Tax certificates (CSD) are sent to the authorized PAC and are not stored by the app.
  • Backups: daily snapshots of the encrypted database volume, kept for 5 days.
  • Test and production separation: test (test mode, development stores) and live data are flagged separately and use separate credentials; test invoices never reach the SAT.
  • Access logging: an audit log records who views tax receiver data, downloads PDF/XML, stamps, cancels or emails invoices, and privacy webhook actions. Merchants can review it on the app's Auditoría page.
  • Access control: least-privilege Shopify scopes; unique passwords and two-factor authentication on all staff accounts (Shopify Partners, GitHub, infrastructure and stamping providers).
  • Data loss prevention: only the data needed to issue CFDI is stored; secrets are kept in the hosting secret store and never in source code; secrets are redacted from logs and audit metadata; and backups can restore lost data.

2. Incident response policy

  1. Detect: platform alerts and logs, the audit log, provider notices and reports to soporte@stocklinelabs.website.
  2. Contain: within 4 hours for critical incidents, rotate affected secrets and tokens and suspend affected endpoints.
  3. Investigate: work out which data, stores and time period were affected.
  4. Recover: fix the root cause, deploy, and restore from encrypted backups if needed.
  5. Notify: affected merchants without undue delay and no later than 72 hours after confirmation; Shopify as required by its API terms; and data subjects and authorities where the law requires it.
  6. Review: a written post-mortem within 10 business days. This policy is reviewed every year.

3. Data retention policy

DataRetentionDeletion
Tax receiver data (RFC, name, ZIP, regime, CFDI use) and issued CFDIWhile the app is installed; stamped CFDI are kept at the PAC for the legal period under the Mexican Federal Tax Code (~5 years)customers/redact removes the customer's email and anonymizes the order. shop/redact deletes all local store records. CFDI held by the PAC/SAT cannot be deleted by law.
Customer emailUntil customers/redact or uninstallDeleted automatically
Audit log, settings, encrypted API keysWhile installedshop/redact (48 h after uninstall)
Backups5 days (rolling)Automatic rotation

Requests: soporte@stocklinelabs.website (answered within 20 business days). See also our Privacy Policy.