(invoice);
diff --git a/BTCPayServer/Models/InvoiceResponse.cs b/BTCPayServer/Models/InvoiceResponse.cs
index 486a3b906..d0c5c5dfe 100644
--- a/BTCPayServer/Models/InvoiceResponse.cs
+++ b/BTCPayServer/Models/InvoiceResponse.cs
@@ -90,6 +90,12 @@ namespace BTCPayServer.Models
get; set;
}
+ [JsonProperty("taxIncluded", DefaultValueHandling = DefaultValueHandling.Ignore)]
+ public decimal TaxIncluded
+ {
+ get; set;
+ }
+
//"currency":"USD"
[JsonProperty("currency")]
public string Currency
diff --git a/BTCPayServer/Services/Invoices/InvoiceEntity.cs b/BTCPayServer/Services/Invoices/InvoiceEntity.cs
index 0bc8fa914..cb54640f1 100644
--- a/BTCPayServer/Services/Invoices/InvoiceEntity.cs
+++ b/BTCPayServer/Services/Invoices/InvoiceEntity.cs
@@ -91,6 +91,12 @@ namespace BTCPayServer.Services.Invoices
get; set;
}
+ [JsonProperty(PropertyName = "taxIncluded", DefaultValueHandling = DefaultValueHandling.Ignore)]
+ public decimal TaxIncluded
+ {
+ get; set;
+ }
+
[JsonProperty(PropertyName = "currency")]
public string Currency
{
diff --git a/BTCPayServer/Views/Invoice/Invoice.cshtml b/BTCPayServer/Views/Invoice/Invoice.cshtml
index 848216821..03fed5d38 100644
--- a/BTCPayServer/Views/Invoice/Invoice.cshtml
+++ b/BTCPayServer/Views/Invoice/Invoice.cshtml
@@ -157,6 +157,10 @@
| Price |
@Model.ProductInformation.Price @Model.ProductInformation.Currency |
+
+ | Tax included |
+ @Model.ProductInformation.TaxIncluded @Model.ProductInformation.Currency |
+
}
@@ -180,6 +184,10 @@
Price |
@Model.ProductInformation.Price @Model.ProductInformation.Currency |
+
+ | Tax included |
+ @Model.ProductInformation.TaxIncluded @Model.ProductInformation.Currency |
+