diff --git a/lago_python_client/models/organization.py b/lago_python_client/models/organization.py index 9f461a61..a3b5ba73 100644 --- a/lago_python_client/models/organization.py +++ b/lago_python_client/models/organization.py @@ -16,6 +16,7 @@ class Organization(BaseModel): webhook_url: Optional[str] webhook_urls: Optional[List[str]] country: Optional[str] + default_currency: str address_line1: Optional[str] address_line2: Optional[str] state: Optional[str] diff --git a/tests/fixtures/organization.json b/tests/fixtures/organization.json index 57641221..557bff68 100644 --- a/tests/fixtures/organization.json +++ b/tests/fixtures/organization.json @@ -5,6 +5,7 @@ "webhook_url": "https://test-example.example", "webhook_urls": ["https://test-example.example", "https://test-example2.example"], "country": null, + "default_currency": "USD", "address_line1": null, "address_line2": null, "state": null, diff --git a/tests/test_organization_client.py b/tests/test_organization_client.py index 901daeed..b016f20f 100644 --- a/tests/test_organization_client.py +++ b/tests/test_organization_client.py @@ -14,6 +14,7 @@ def organization_object(): webhook_urls=["https://test-example.example", "https://test-example2.example"], tax_identification_number='EU123456789', net_payment_term=0, + default_currency='EUR', billing_configuration=OrganizationBillingConfiguration( invoice_footer='footer', invoice_grace_period=3,