feat(billing): also surface invoice_number on payment responses (PMS-186) #150

Merged
longjacksonle merged 1 commit from feat/pms-186-billing-company-name into main 2026-06-10 01:29:35 +02:00

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

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>
feat(billing): also surface invoice_number on payment responses (PMS-186)
All checks were successful
Build OCI container / Build and push mokosh-api image (push) Successful in 3m32s
Create release / Create release from merged PR (pull_request) Has been skipped
E2E (staging) / Playwright against staging (pull_request) Successful in 32s
Check / fmt + clippy + compile + tests (pull_request) Successful in 2m3s
11bcb0efc6
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>
longjacksonle deleted branch feat/pms-186-billing-company-name 2026-06-10 01:29:35 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!150
No description provided.