Commit Graph

4 Commits

Author SHA1 Message Date
lite 16049fa3ef feat: add format system with auto-detection
- Add internal/formats/registry.go with Transformer interface
- Add internal/formats/native/ for current API format
- Add internal/formats/dolibarr/ for Dolibarr BFF format
- Refactor factura.go to use TransformAuto() for auto-detection
- Remove format query param — detection is now automatic
2026-05-17 16:27:27 -04:00
admin 4ab7670232 Implement VeriFactu API with certificate management, invoice submission and local fallback
- Add API handlers for facturas (alta/anulacion)
- Implement certificate storage with temp/permanent flow
- Add token generation for authenticated sessions
- Add fallback to local storage when AEAT unavailable
- Update config with certificate path/password
- Add client certificate conversion for TLS
- Add comprehensive documentation
2026-04-17 13:03:06 +02:00
admin 0de298687c api: add HTTP handlers and router for endpoints 2026-04-08 14:49:27 +02:00
admin fa59c984bc internal: add models, validation, transformer and hash logic 2026-04-08 14:31:02 +02:00