Skip to content

fix(credit-note): include integration_customers in customer object - #518

Merged
Antoinep2808 merged 3 commits into
mainfrom
fix/credit-note-customer-integration-customers
Aug 16, 2026
Merged

fix(credit-note): include integration_customers in customer object#518
Antoinep2808 merged 3 commits into
mainfrom
fix/credit-note-customer-integration-customers

Conversation

@Antoinep2808

@Antoinep2808 Antoinep2808 commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Updates CreditNoteObject and CreditNoteExtendedObject to reference CustomerObject instead of CustomerBaseObject
  • This adds integration_customers to the customer field in all credit note responses — list, create, show, update and void

Related

Follows lago-api changes:

Test plan

  • Verify CreditNoteExtendedObject.customer resolves to a schema including integration_customers array
  • Verify CreditNoteObject.customer (list / CreditNotesPaginated) also resolves to a schema including integration_customers array

Antoinep2808 and others added 3 commits August 16, 2026 17:34
## Context

The lago-api standardized credit note detail endpoints (create, show,
update, void) to consistently include integration_customers in the
customer object.

## Description

Update CreditNoteExtendedObject to reference CustomerObject instead of
CustomerBaseObject, so the customer field includes integration_customers
across all credit note detail responses.
The lago-api change (fe4e758) added integration_customers to the credit
note list endpoint as well, not only the detail responses, so
CreditNoteObject must reference CustomerObject.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Antoinep2808
Antoinep2808 force-pushed the fix/credit-note-customer-integration-customers branch from 0d1296a to 60135f0 Compare August 16, 2026 15:46
@Antoinep2808
Antoinep2808 merged commit 2875d05 into main Aug 16, 2026
3 checks passed
@Antoinep2808
Antoinep2808 deleted the fix/credit-note-customer-integration-customers branch August 16, 2026 15:56
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.

2 participants