- Created ComplianceNFs.Core project with domain entities and ports - Implemented BuyingRecord, EnergyInvoice, ParsedInvoice entities - Defined domain interfaces for mail listening, XML and PDF parsing, and repository access - Established ComplianceNFs.Infrastructure project with file archiving, mail listening, and data access implementations - Developed PDF and XML parsers for invoice data extraction - Set up AccessDbRepository and AttachmentRepository for data retrieval and storage - Created ComplianceNFs.Service project for background processing and service orchestration - Implemented Worker service for periodic tasks - Established ComplianceNFs.Monitor project with WPF UI for monitoring invoice statuses - Added ViewModel for UI data binding and command handling - Configured project files for .NET 9.0 and necessary package references - Created initial appsettings.json for configuration management - Added TODOs and roadmap for future development
25 lines
706 B
JSON
25 lines
706 B
JSON
{
|
|
"AccessConnectionString": "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=X:\\Back\\Controle NFs\\Dados.accdb;",
|
|
"PostgresConnectionString": "Host=…;Port=5432;Database=…;Username=…;Password=…;",
|
|
"Mail": {
|
|
"Host": "outlook.office365.com",
|
|
"Port": 993,
|
|
"User": "service@yourcompany.com",
|
|
"Password": "…",
|
|
"SupplierAllowList": [ "faturamento@…", "nfe@…" ]
|
|
},
|
|
"PollingIntervalMinutes": 2,
|
|
"Tolerances": {
|
|
"VolumePercent": 1.0,
|
|
"PricePercent": 0.5,
|
|
"TaxPercent": 1.0
|
|
},
|
|
"ArchiveBasePath": "X:\\Back\\Controle NFs\\Fs\\",
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
}
|
|
}
|