Files
Distribution_GL/Interfaces/Repositories/ITaxRepository.cs
T

20 lines
835 B
C#

using General_Ledger_Service.DTOs.Reports;
using General_Ledger_Service.Models;
namespace General_Ledger_Service.Interfaces.Repositories
{
public interface ITaxRepository
{
Task<TaxType?> GetTaxTypeByCodeAsync(string code);
Task<List<TaxType>> GetAllTaxTypesAsync();
Task<TaxCode?> GetEffectiveTaxCodeByCodeAsync(string code, DateOnly txnDate);
Task<TaxCode?> GetByCodeAsync(string code);
Task<TaxCode> AddTaxCodeAsync(TaxCode taxCode);
Task<List<TaxCode>> GetAllTaxCodesAsync();
// Accounting_System_Design_LKAS.md Section 11.7 - Income Tax Computation.
Task<decimal> GetNonDeductibleExpensesAsync(DateOnly periodStart, DateOnly periodEnd);
Task<decimal> GetAccountCreditActivityAsync(long accountId, DateOnly periodStart, DateOnly periodEnd);
}
}