Skip to content

feat(invoice): add web_url to invoice response models - #413

Open
ancorcruz wants to merge 1 commit into
mainfrom
feat/invoice-web-url
Open

feat(invoice): add web_url to invoice response models#413
ancorcruz wants to merge 1 commit into
mainfrom
feat/invoice-web-url

Conversation

@ancorcruz

Copy link
Copy Markdown
Contributor

Context

The invoice API object exposes a web_url attribute linking to the invoice page in the Lago dashboard, next to file_url (the PDF).

Description

Add web_url as an optional string on InvoiceResponse and on PaymentRequestInvoiceResponse, which mirrors the same invoice base object. Without it pydantic silently drops the field from the parsed response.

## Context

The invoice API object exposes a web_url attribute linking to the invoice
page in the Lago dashboard, next to file_url (the PDF).

## Description

Add web_url as an optional string on InvoiceResponse and on
PaymentRequestInvoiceResponse, which mirrors the same invoice base object.
Without it pydantic silently drops the field from the parsed response.
@ancorcruz ancorcruz self-assigned this Aug 10, 2026
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.

1 participant