diff --git a/app/graphql/types/invoices/object.rb b/app/graphql/types/invoices/object.rb index f24a9e2caf94..445fa611dd3d 100644 --- a/app/graphql/types/invoices/object.rb +++ b/app/graphql/types/invoices/object.rb @@ -71,7 +71,7 @@ def integration_syncable end def tax_provider_voidable - return false unless object.voided? + return false if !object.voided? && !object.payment_dispute_lost_at object.error_details.tax_voiding_error.any? end