Skip to content

AC-585: Add optional posting_date to Invoice payload (v0.12.0)#88

Merged
jcain3389 merged 1 commit into
masterfrom
AC-585
Mar 13, 2026
Merged

AC-585: Add optional posting_date to Invoice payload (v0.12.0)#88
jcain3389 merged 1 commit into
masterfrom
AC-585

Conversation

@jcain3389
Copy link
Copy Markdown
Contributor

@jcain3389 jcain3389 commented Mar 12, 2026

Summary

  • Adds optional posting_date parameter to the Invoice payload, mapping to @postingDate on the InvoiceRequest SOAP element
  • When omitted, behavior is unchanged — no @postingDate attribute is sent
  • Bumps version 0.11.30.12.0

Jira

AC-585 — Deploy vertex_client gem with postingDate support

Test plan

  • New test: @postingDate is set in body when posting_date is provided
  • New test: @postingDate is absent (nil) when posting_date is not provided
  • All existing invoice tests pass (no regressions to @documentDate / @documentNumber)
  • CI passes

Staging verification (Beast)

Ran VertexClient.invoice with posting_date: Date.new(2025, 1, 15) against purchase online-stores-725573 (VA, 93635) via the Online Stores Rails console on Beast.

Payload sent:

  • document_number: online-stores-725573
  • date: 2026-03-12
  • posting_date: 2025-01-15
  • 1 active item + shipping

Response:

Line item Qty Price Tax
124200 10 $200.00 $17.50
shipping_handling 1 $6.95 $0.60
Total $206.95 $18.10

Vertex accepted the request without error and returned a valid tax response. ✓

🤖 Generated with Claude Code

Sets @postingDate on InvoiceRequest when posting_date is provided, enabling
downstream apps to control Vertex tax reporting period independently from
documentDate. Omitting posting_date preserves existing behavior.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jcain3389 jcain3389 requested a review from a team as a code owner March 12, 2026 13:40
@jcain3389 jcain3389 changed the title Add optional posting_date to Invoice payload (v0.12.0) AC-585: Add optional posting_date to Invoice payload (v0.12.0) Mar 12, 2026
@jcain3389 jcain3389 changed the title AC-585: Add optional posting_date to Invoice payload (v0.12.0) AC-585: Add optional posting_date to Invoice payload (v0.12.0) Mar 12, 2026
@jcain3389 jcain3389 merged commit 7577081 into master Mar 13, 2026
6 checks passed
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.

3 participants