Distribution_GL Initialization
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace General_Ledger_Service.DTOs.Tax
|
||||
{
|
||||
public class CalculateTaxRequest
|
||||
{
|
||||
public string TaxCode { get; set; } = string.Empty;
|
||||
public decimal Amount { get; set; }
|
||||
public DateOnly TxnDate { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace General_Ledger_Service.DTOs.Tax
|
||||
{
|
||||
public class CalculateTaxResponse
|
||||
{
|
||||
public long TaxCodeId { get; set; }
|
||||
public string Code { get; set; } = string.Empty;
|
||||
public decimal RatePercent { get; set; }
|
||||
public decimal LineTotal { get; set; }
|
||||
public decimal TaxAmount { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
namespace General_Ledger_Service.DTOs.Tax
|
||||
{
|
||||
public class CreateTaxCodeRequest
|
||||
{
|
||||
public string TaxTypeCode { get; set; } = string.Empty;
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public decimal RatePercent { get; set; }
|
||||
public string CalculationBasis { get; set; } = string.Empty;
|
||||
public string AppliesTo { get; set; } = string.Empty;
|
||||
public string? OutputTaxAccountCode { get; set; }
|
||||
public string? InputTaxAccountCode { get; set; }
|
||||
public DateOnly EffectiveFrom { get; set; }
|
||||
public DateOnly? EffectiveTo { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user