feat(billing): also surface invoice_number on payment responses (PMS-186) #150
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/pms-186-billing-company-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The payment list labelled each payment by its invoice_id UUID. Add invoice_number to PaymentResponse, resolved on read (Option: None for an unapplied payment), via an invoice_number_map lookup mirroring company_name_map. enrich_payments now fills both company_name and invoice_number; the create_payment response resolves the number for its linked invoice.
Test billing_responses_carry_company_name extended: the create-payment response and the payment list rows carry the linked invoice number. All 3 billing tests pass; clippy --all-targets and fmt clean.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com