Skip to content

chore(billing-platform): Add protos for set_pending_tax_transaction endpoint#315

Closed
dashed wants to merge 2 commits into
mainfrom
aleal/feat/contract-set-pending-tax-transaction
Closed

chore(billing-platform): Add protos for set_pending_tax_transaction endpoint#315
dashed wants to merge 2 commits into
mainfrom
aleal/feat/contract-set-pending-tax-transaction

Conversation

@dashed

@dashed dashed commented Jun 17, 2026

Copy link
Copy Markdown
Member

Adds the SetPendingTaxTransaction request/response messages to the contract service for the PR https://github.com/getsentry/getsentry/pull/20624.

SetPendingTaxTransactionRequest carries the invoice_id and the tax provider's external_reference; SetPendingTaxTransactionResponse returns whether a matching invoice was updated. These back the getsentry contract service's set_pending_tax_transaction, which records the provider-side tax document reference on an invoice as a pending tax transaction so it can be committed or voided once the charge outcome is known. That method is currently prototyped with proto-free dataclasses (the dataclass-prototype pattern); these messages are what it migrates to.

Message-only and consistent with the other contract endpoints — uint64 invoice_id, bare string, one endpoint_*.proto for the pair, mirroring MarkInvoicePaid. Generated stubs are produced at build time, so only the .proto source is included here.

…ndpoint

Records the tax provider's document reference on an invoice as a pending tax transaction so it can be committed or voided once the charge outcome is known.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow ci / buf-checks (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJun 17, 2026, 9:45 PM

@dashed

dashed commented Jun 18, 2026

Copy link
Copy Markdown
Member Author

Superseded by #319. The atomic-linkage refactor (getsentry getsentry/getsentry#20754) folds the tax-document linkage into the contract create/rollover requests (tax_transaction_code on CreateContractRequest + RolloverContractRequest) and removes the standalone set_pending_tax_transaction endpoint, so these standalone messages have no consumer.

@dashed dashed closed this Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant