Skip to content
Merged
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 @@ -25,6 +25,12 @@ message CreateContractRequest {
// Whether usage past reserved volume is allowed (and billed) instead of
// hard-stopping ingestion.
bool has_soft_cap = 8;

// The tax provider's reference for the tax document opened for this invoice.
// When set, the contract service records it on the created invoice as a
// pending tax transaction atomically with invoice creation. Unset means no
// tax document was opened.
optional string tax_transaction_code = 9;
}

message CreateContractResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ 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 tax provider's reference for the tax document opened for this invoice.
// When set, the contract service records it on the new invoice as a pending
// tax transaction atomically with invoice creation, so the document can later
// be committed or voided. Unset means no tax document was opened.
optional string tax_transaction_code = 7;
}

message RolloverContractResponse {
Expand Down
12 changes: 12 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 @@ -520,6 +520,12 @@ pub struct CreateContractRequest {
/// hard-stopping ingestion.
#[prost(bool, tag = "8")]
pub has_soft_cap: bool,
/// The tax provider's reference for the tax document opened for this invoice.
/// When set, the contract service records it on the created invoice as a
/// pending tax transaction atomically with invoice creation. Unset means no
/// tax document was opened.
#[prost(string, optional, tag = "9")]
pub tax_transaction_code: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct CreateContractResponse {
Expand Down Expand Up @@ -722,6 +728,12 @@ pub struct RolloverContractRequest {
pub pending_change: ::core::option::Option<
super::super::super::common::v1::PendingChange,
>,
/// The tax provider's reference for the tax document opened for this invoice.
/// When set, the contract service records it on the new invoice as a pending
/// tax transaction atomically with invoice creation, so the document can later
/// be committed or voided. Unset means no tax document was opened.
#[prost(string, optional, tag = "7")]
pub tax_transaction_code: ::core::option::Option<::prost::alloc::string::String>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct RolloverContractResponse {
Expand Down
Loading