Skip to content

feat(billing): add tax_pending to RolloverContractRequest#287

Draft
dashed wants to merge 1 commit into
mainfrom
aleal/feat/contract-tax-pending
Draft

feat(billing): add tax_pending to RolloverContractRequest#287
dashed wants to merge 1 commit into
mainfrom
aleal/feat/contract-tax-pending

Conversation

@dashed

@dashed dashed commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

Adds bool tax_pending = 7 to RolloverContractRequest.

When the tax provider is unavailable at rollover time, the tax cannot be computed. tax_pending marks such an invoice so it is created without a tax line item and held back from charging until a later sweep recomputes and backfills the tax.

Field layout (RolloverContractRequest)

# field notes
5 pending_change unchanged
6 reserved (former sales_tax slot, removed in #286)
7 tax_pending new, bool

Rust bindings regenerated via make build-rust; Python bindings via make build-py (py/ is gitignored).

Stacking

main#293 (InvoiceLineItem.type) → #286 (tax_number) → this PR. Review/merge in order.

Test plan

  • make build-py + make build-rust succeed
  • buf lint / buf format pass

@linear-code

linear-code Bot commented Jun 4, 2026

Copy link
Copy Markdown

REVENG-15

@github-actions

github-actions Bot commented Jun 4, 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 9, 2026, 4:04 PM

@dashed dashed force-pushed the aleal/feat/contract-sales-tax branch from c040360 to d4052c4 Compare June 5, 2026 18:02
@dashed dashed force-pushed the aleal/feat/contract-tax-pending branch from 34e7c23 to 7cf0f60 Compare June 5, 2026 18:03
@dashed dashed force-pushed the aleal/feat/contract-sales-tax branch from 729d1fc to 42df697 Compare June 5, 2026 21:21
@dashed dashed force-pushed the aleal/feat/contract-tax-pending branch from 7cf0f60 to 1434c6e Compare June 5, 2026 21:21
@dashed dashed force-pushed the aleal/feat/contract-sales-tax branch from c407799 to 7ae8585 Compare June 5, 2026 21:30
@dashed dashed force-pushed the aleal/feat/contract-tax-pending branch from d7bf1a0 to 6cd2d23 Compare June 5, 2026 21:31
@dashed dashed self-assigned this Jun 9, 2026
When tax cannot be computed at contract rollover (the tax provider is
unavailable), tax_pending marks the invoice so it is created without a tax
line item and held back from charging until a later sweep backfills the tax.
Regenerates the Rust bindings.
@dashed dashed force-pushed the aleal/feat/contract-tax-pending branch from 127467d to 6cbe87b Compare June 9, 2026 16:04
@dashed dashed changed the base branch from aleal/feat/contract-sales-tax to main June 9, 2026 16:04
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