Open Issues Need Help
View All on GitHubAI Summary: Implement a new API endpoint POST /nfe/danfe that takes an NF-e XML (in base64 or string) as input and returns a DANFE PDF. This involves XML validation, PDF generation using a library like iText, and thorough testing.
AI Summary: Implement structured logging using Pino in a Node.js API for improved observability. This involves configuring Pino, creating a reusable logging service, adding request IDs, logging relevant information in key routes (emission, consultation, cancellation), ensuring error logs include stack traces and context, and outputting logs in JSON format. Testing and documentation are also required.
AI Summary: Implement API key authentication, encryption/decryption, a BullMQ queue for asynchronous processing of NFe/NFCe issuance requests, a status endpoint for tracking job progress, and detailed logging for debugging and monitoring. This involves creating a SoftwareHouse model, middleware for authentication and decryption, producers and consumers for the BullMQ queue, an endpoint to retrieve job status, and comprehensive logging throughout the process.