diff --git a/app/services/invoices/customer_usage_service.rb b/app/services/invoices/customer_usage_service.rb index 9f814437831d..26d30bce8f6d 100644 --- a/app/services/invoices/customer_usage_service.rb +++ b/app/services/invoices/customer_usage_service.rb @@ -157,7 +157,7 @@ def compute_amounts_with_provider_taxes res.raise_if_error! end - res = Invoices::ApplyProviderTaxesService.call(invoice:, provider_taxes: result.fees_taxes) + res = Invoices::ApplyProviderTaxesService.call(invoice:, provider_taxes: result.fees_taxes) res.raise_if_error! invoice.total_amount_cents = invoice.fees_amount_cents + invoice.taxes_amount_cents