diff --git a/lago_python_client/models/fee.py b/lago_python_client/models/fee.py index 448b4da..78c2c6c 100644 --- a/lago_python_client/models/fee.py +++ b/lago_python_client/models/fee.py @@ -28,6 +28,7 @@ class FeeAppliedTaxes(BaseResponseModel): class FeeResponse(BaseResponseModel): lago_id: Optional[str] + lago_charge_id: Optional[str] lago_charge_filter_id: Optional[str] lago_invoice_id: Optional[str] lago_true_up_fee_id: Optional[str] diff --git a/tests/fixtures/fee.json b/tests/fixtures/fee.json index 1ca4a7c..77564e4 100644 --- a/tests/fixtures/fee.json +++ b/tests/fixtures/fee.json @@ -1,6 +1,7 @@ { "fee": { "lago_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba", + "lago_charge_id": "1a901a90-1a90-1a90-1a90-1a901a901a90", "lago_charge_filter_id": "1a2d9c8d-5875-4688-9854-5ccfd414bc5e", "lago_invoice_id": "1a2d9c8d-5875-4688-9854-5ccfd414bc5e", "lago_true_up_fee_id": "1a2d9c8d-5875-4688-9854-5ccfd414bc5e", diff --git a/tests/fixtures/fees.json b/tests/fixtures/fees.json index 22fd0a6..c510f3f 100644 --- a/tests/fixtures/fees.json +++ b/tests/fixtures/fees.json @@ -2,6 +2,7 @@ "fees": [ { "lago_id": "nil", + "lago_charge_id": "1a901a90-1a90-1a90-1a90-1a901a901a90", "lago_charge_filter_id": "1a2d9c8d-5875-4688-9854-5ccfd414bc5e", "lago_invoice_id": "1a2d9c8d-5875-4688-9854-5ccfd414bc5e", "lago_true_up_fee_id": "1a2d9c8d-5875-4688-9854-5ccfd414bc5e", diff --git a/tests/fixtures/invoice.json b/tests/fixtures/invoice.json index 68ea6af..d12d359 100644 --- a/tests/fixtures/invoice.json +++ b/tests/fixtures/invoice.json @@ -118,6 +118,7 @@ "fees": [ { "lago_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba", + "lago_charge_id": "1a901a90-1a90-1a90-1a90-1a901a901a90", "invoice_display_name": "fee_invoice_display_name", "item": { "type": "charge",