Skip to content

Add Facturama Multiemisor PAC support#77

Merged
satcfdi merged 1 commit into
SAT-CFDI:mainfrom
ursais:feature/pac-facturama
Jul 21, 2026
Merged

Add Facturama Multiemisor PAC support#77
satcfdi merged 1 commit into
SAT-CFDI:mainfrom
ursais:feature/pac-facturama

Conversation

@max3903

@max3903 max3903 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a Facturama Multiemisor PAC adapter (satcfdi.pacs.facturama) using requests (no official Facturama SDK).
  • Supports seal-and-stamp via issue() for CFDI types I / E / T / P (Pagos 2.0) / N (Nómina 1.2), plus CSD upload, recover, and cancel (including UUID → Facturama Id resolution).
  • stamp() of pre-signed XML is intentionally unsupported (Facturama Multiemisor seals from JSON).
  • Includes mocked unit tests and documents Facturama in the README PAC list.

Related: #76

Test plan

  • pytest tests/test_pac_facturama.py (9 passed)
  • Smoke-test against Facturama sandbox: upload_csdissue() (I/P/N) → download XML → cancel() by UUID
  • Confirm PDF with Accept.XML_PDF if needed for the account

Integrates seal-and-stamp via Facturama's Multiemisor JSON API without the official SDK. Supports I/E/T, Pagos 2.0, Nómina 1.2, CSD upload, recover, and cancel by UUID.
@max3903
max3903 force-pushed the feature/pac-facturama branch 2 times, most recently from 0605a56 to abe8bb7 Compare July 21, 2026 19:06
@max3903

max3903 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

@satcfdi Can you please trigger the workflows?

@satcfdi
satcfdi merged commit d6a9d22 into SAT-CFDI:main Jul 21, 2026
7 checks passed
@max3903
max3903 deleted the feature/pac-facturama branch July 21, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants