Tax
Overview
Tax categories
Tax providers
public class CustomTaxProvider : ITaxProvider
{
public Task<TaxRate> GetTaxRateAsync(TaxRateRequest request)
{
// return 7% for books, otherwise 19%
var rate = request.TaxCategoryId == 5 ? 7m : 19m;
return Task.FromResult(new TaxRate(rate, request.TaxCategoryId));
}
}Calculating tax
Display and formatting
VAT numbers and exemptions
Tax settings
Last updated
Was this helpful?