Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ message CreateContractRequest {
// supported_month_intervals. If unset, defaults to the package's first
// supported interval.
uint32 month_interval = 6;
// The customer's tax registration number at invoicing time, persisted on the
// created invoice for receipts and reverse-charge determination. Unset if none
// is on file.
optional string tax_number = 7;
}

message CreateContractResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ message RolloverContractRequest {
// The pending change to apply to the new contract, if any. Unset means no
// pending change is being applied during this rollover.
optional sentry_protos.billing.v1.common.v1.PendingChange pending_change = 5;
// The customer's tax registration number at invoicing time, persisted on the
// created invoice for receipts and reverse-charge determination. Unset if none
// is on file.
optional string tax_number = 6;
}

message RolloverContractResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ message Invoice {
string guid = 7;
bool needs_charged = 8;
sentry_protos.billing.v1.common.v1.Address address = 9;
// The customer's tax registration number as persisted at invoicing time.
// Unset if none was on file.
optional string tax_number = 10;
}
14 changes: 14 additions & 0 deletions rust/src/sentry_protos.billing.v1.services.contract.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,10 @@ pub struct Invoice {
pub needs_charged: bool,
#[prost(message, optional, tag = "9")]
pub address: ::core::option::Option<super::super::super::common::v1::Address>,
/// The customer's tax registration number as persisted at invoicing time.
/// Unset if none was on file.
#[prost(string, optional, tag = "10")]
pub tax_number: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct OptionValue {
Expand Down Expand Up @@ -499,6 +503,11 @@ pub struct CreateContractRequest {
/// supported interval.
#[prost(uint32, tag = "6")]
pub month_interval: u32,
/// The customer's tax registration number at invoicing time, persisted on the
/// created invoice for receipts and reverse-charge determination. Unset if none
/// is on file.
#[prost(string, optional, tag = "7")]
pub tax_number: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CreateContractResponse {
Expand Down Expand Up @@ -691,6 +700,11 @@ pub struct RolloverContractRequest {
pub pending_change: ::core::option::Option<
super::super::super::common::v1::PendingChange,
>,
/// The customer's tax registration number at invoicing time, persisted on the
/// created invoice for receipts and reverse-charge determination. 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 RolloverContractResponse {
Expand Down
Loading