books/backend/Books.Api/AiBookkeeper/ChartOfAccountsDto.cs

24 lines
725 B
C#
Raw Normal View History

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; }
}