Commit Graph

4 Commits

Author SHA1 Message Date
lite 9c4f11d7c7 refactor: accept certificates as base64, remove external dependencies
- Replace file path with base64 content in register endpoint
- Use native Go pkcs12 for certificate validation and loading
- Remove PowerShell script dependency (validator.go)
- Remove Python script dependency (client.go)
- Remove hardcoded Windows paths
- Cross-platform: works on Linux, macOS, Windows without external tools
- Update documentation (api.md, seguridad.md, prerequisites.md)
2026-05-19 16:03:28 -04:00
lite 4427857ba2 feat: add formats endpoint and update factura handler
- Add GET /api/v1/formats to list available formats
- Simplify HandleFacturas to accept raw JSON (format auto-detected)
- Remove format query param handling
2026-05-17 16:27:33 -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