Skip to content

Addie: Allow reissuing corrected invoices with updated billing address #5863

Description

Problem

When a member's subscription payment goes through but their billing address was not captured correctly (or at all) on the invoice, Addie cannot fix it. The member must escalate to a human admin who then manually edits the invoice in Stripe.

This is a frequent support pattern, especially for European members who need correct company name and address on invoices for accounting purposes. VAT ID is sometimes also required.

Current flow

  1. Member pays via Stripe checkout without entering billing address
  2. Member realizes invoice is missing company name / address
  3. Member escalates to Addie
  4. Addie cannot act — escalates to human admin
  5. Admin manually corrects invoice in Stripe dashboard

Desired flow

  1. Member asks Addie to correct their invoice billing details
  2. Addie collects: company name, address, optionally VAT ID, send-to email
  3. Addie updates the Stripe customer billing address and reissues / finalizes a corrected invoice
  4. Member receives corrected PDF — no human in the loop needed

What's needed

Option A — New Addie tool: update_invoice_billing_details

Accepts:
-org_id or customer_id
-company_name
-address (street, city, postal code, country)
-vat_id (optional)
-send_to_email
-invoice_id (optional — defaults to most recent paid invoice)

Actions:

  1. Update customer.address and customer.name on the Stripe customer
  2. If invoice is still open: update and finalize
  3. If invoice is paid: void and reissue OR update metadata and regenerate PDF (whichever Stripe supports)
  4. Send PDF to send_to_email

Option B — Extend update_billing_email

Add billing_address and company_name fields to the existing tool, then add a separate reissue_invoice call that regenerates the PDF after the customer record is updated.

Stripe API references:

  • POST /v1/customers/{id} — update name / address / tax IDs
  • POST /v1/invoices/{id}/send — resend invoice PDF
  • POST /v1/invoices/{id}/void + POST /v1/invoices — void and reissue

Edge cases

  • VAT ID validation per country (EU format check)
  • Invoice already refunded — cannot void, must amend metadata only
  • Member not signed in (Addie must verify identity before changing billing details)
  • Address in non-Latin script — pass through as-is

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    addieIssues related to Addie (via any channel)claude-triagedIssue has been triaged by the Claude Code triage routine. Remove to re-triage.enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions