From 7ae8585f3ed56834f3b96bd9b50e7093ace8af80 Mon Sep 17 00:00:00 2001 From: Alberto Leal Date: Fri, 5 Jun 2026 14:02:21 -0400 Subject: [PATCH 1/2] feat(billing): add tax_number to BillingDetails Adds an optional tax_number (e.g. VAT ID) to BillingDetails for determining a customer's tax treatment. Sales tax is no longer carried on the contract requests as a dedicated field; it now flows through line_items as a typed entry. The field slots that were considered for it are reserved on CreateContractRequest (7) and RolloverContractRequest (6). Regenerates the Rust bindings. --- .../v1/services/billing_details/v1/billing_details.proto | 3 +++ .../sentry_protos.billing.v1.services.billing_details.v1.rs | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/proto/sentry_protos/billing/v1/services/billing_details/v1/billing_details.proto b/proto/sentry_protos/billing/v1/services/billing_details/v1/billing_details.proto index 864bef55..210072ca 100644 --- a/proto/sentry_protos/billing/v1/services/billing_details/v1/billing_details.proto +++ b/proto/sentry_protos/billing/v1/services/billing_details/v1/billing_details.proto @@ -22,4 +22,7 @@ message BillingDetails { optional string company_name = 3; optional string billing_email = 4; sentry_protos.billing.v1.common.v1.Address billing_address = 5; + // The customer's tax registration number (e.g. VAT ID) on file, used when + // determining tax treatment for the customer. Unset if none is on file. + optional string tax_number = 6; } diff --git a/rust/src/sentry_protos.billing.v1.services.billing_details.v1.rs b/rust/src/sentry_protos.billing.v1.services.billing_details.v1.rs index 3a05b50b..ee429fa3 100644 --- a/rust/src/sentry_protos.billing.v1.services.billing_details.v1.rs +++ b/rust/src/sentry_protos.billing.v1.services.billing_details.v1.rs @@ -31,6 +31,10 @@ pub struct BillingDetails { pub billing_address: ::core::option::Option< super::super::super::common::v1::Address, >, + /// The customer's tax registration number (e.g. VAT ID) on file, used when + /// determining tax treatment for the customer. Unset if none is on file. + #[prost(string, optional, tag = "6")] + pub tax_number: ::core::option::Option<::prost::alloc::string::String>, } #[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)] pub struct GetBillingDetailsRequest { From 4578ecbb9379c5bc56834baafa13bc8ce77646ff Mon Sep 17 00:00:00 2001 From: "getsantry[bot]" <66042841+getsantry[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 21:31:00 +0000 Subject: [PATCH 2/2] chore: Regenerate Rust bindings --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 9617d850..384958e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -717,7 +717,7 @@ checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "sentry_protos" -version = "0.22.2" +version = "0.23.0" dependencies = [ "prost", "prost-types",