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
- Member pays via Stripe checkout without entering billing address
- Member realizes invoice is missing company name / address
- Member escalates to Addie
- Addie cannot act — escalates to human admin
- Admin manually corrects invoice in Stripe dashboard
Desired flow
- Member asks Addie to correct their invoice billing details
- Addie collects: company name, address, optionally VAT ID, send-to email
- Addie updates the Stripe customer billing address and reissues / finalizes a corrected invoice
- 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:
- Update
customer.address and customer.name on the Stripe customer
- If invoice is still open: update and finalize
- If invoice is paid: void and reissue OR update metadata and regenerate PDF (whichever Stripe supports)
- 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
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
Desired flow
What's needed
Option A — New Addie tool:
update_invoice_billing_detailsAccepts:
-
org_idorcustomer_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:
customer.addressandcustomer.nameon the Stripe customersend_to_emailOption B — Extend
update_billing_emailAdd
billing_addressandcompany_namefields to the existing tool, then add a separatereissue_invoicecall that regenerates the PDF after the customer record is updated.Stripe API references:
POST /v1/customers/{id}— update name / address / tax IDsPOST /v1/invoices/{id}/send— resend invoice PDFPOST /v1/invoices/{id}/void+POST /v1/invoices— void and reissueEdge cases
Related
update_billing_emailresend_invoice