This commit includes all previously untracked backend files: Domain: - Accounts, Attachments, BankConnections, Customers - FiscalYears, Invoices, JournalEntryDrafts - Orders, Products, UserAccess Commands & Handlers: - Full CQRS command structure for all domains Repositories: - PostgreSQL repositories for all read models - Bank transaction and ledger repositories GraphQL: - Input types, scalars, and types for all entities - Mutations and queries Infrastructure: - Banking integration (Enable Banking client) - File storage, Invoicing, Reporting, SAF-T export - Database migrations (003-029) Tests: - Integration tests for GraphQL endpoints - Domain tests - Invoicing and reporting tests Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
725 B
C#
23 lines
725 B
C#
namespace Books.Api.AiBookkeeper;
|
|
|
|
/// <summary>
|
|
/// Chart of accounts data for AI Bookkeeper processing.
|
|
/// Contains the list of expense accounts that AI can suggest for document booking.
|
|
/// </summary>
|
|
public class ChartOfAccountsDto
|
|
{
|
|
public required string CompanyId { get; init; }
|
|
public required IReadOnlyList<AiAccountDto> Accounts { get; init; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Account information for AI Bookkeeper.
|
|
/// </summary>
|
|
public class AiAccountDto
|
|
{
|
|
public required string AccountNumber { get; init; }
|
|
public required string Name { get; init; }
|
|
public required string AccountType { get; init; }
|
|
public string? VatCodeId { get; init; }
|
|
public string? StandardAccountNumber { get; init; }
|
|
}
|