mirror of
https://github.com/bitwarden/server.git
synced 2025-06-09 20:50:31 -05:00
Only set automatic tax to true w/ reverse charge flag if customer has billing location (#5917)
This commit is contained in:
parent
2e14a46cee
commit
769313abbf
@ -420,7 +420,7 @@ public class OrganizationBillingService(
|
||||
var setNonUSBusinessUseToReverseCharge =
|
||||
featureService.IsEnabled(FeatureFlagKeys.PM21092_SetNonUSBusinessUseToReverseCharge);
|
||||
|
||||
if (setNonUSBusinessUseToReverseCharge)
|
||||
if (setNonUSBusinessUseToReverseCharge && customer.HasBillingLocation())
|
||||
{
|
||||
subscriptionCreateOptions.AutomaticTax = new SubscriptionAutomaticTaxOptions { Enabled = true };
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user