Commit Graph

6 Commits

Author SHA1 Message Date
lite 1d3e781c7b fix: soporte PascalCase en registro de certificados y actualizacion de documentacion
- Añadir campos PascalCase (CertName, CertFile, PasswordEncrypted) para compatibilidad con frontend
- Metodos CertNameResolved(), CertFileResolved(), PasswordResolved() para resolver campos
- Actualizar documentacion/api.md con ejemplos PascalCase, anulacion completa y errores AEAT
- Actualizar documentacion/certificado_pruebas.md con solucion de problemas P12 legacy
- Actualizar README.md con estado actual del proyecto
2026-05-21 19:31:11 -04:00
lite 3ede32ef20 refactor: only accept certificate as base64, remove cert_path field
- RegisterInput now only has cert_file (base64 content)
- Removed cert_path fallback and raw map parsing
- Clean struct-based JSON unmarshaling
2026-05-19 17:16:48 -04:00
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