@@ -342,9 +342,9 @@ def mark_paid(
342342 self ,
343343 invoice_id : str ,
344344 * ,
345- external_id : Optional [str ],
346- notes : Optional [str ],
347345 payment_received_date : Union [str , date ],
346+ external_id : Optional [str ] | NotGiven = NOT_GIVEN ,
347+ notes : Optional [str ] | NotGiven = NOT_GIVEN ,
348348 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
349349 # The extra values given here take precedence over values defined on the client or passed to this method.
350350 extra_headers : Headers | None = None ,
@@ -359,12 +359,12 @@ def mark_paid(
359359 only be done to invoices that are in the `issued` status.
360360
361361 Args:
362+ payment_received_date: A date string to specify the date of the payment.
363+
362364 external_id: An optional external ID to associate with the payment.
363365
364366 notes: An optional note to associate with the payment.
365367
366- payment_received_date: A date string to specify the date of the payment.
367-
368368 extra_headers: Send extra headers
369369
370370 extra_query: Add additional query parameters to the request
@@ -381,9 +381,9 @@ def mark_paid(
381381 f"/invoices/{ invoice_id } /mark_paid" ,
382382 body = maybe_transform (
383383 {
384+ "payment_received_date" : payment_received_date ,
384385 "external_id" : external_id ,
385386 "notes" : notes ,
386- "payment_received_date" : payment_received_date ,
387387 },
388388 invoice_mark_paid_params .InvoiceMarkPaidParams ,
389389 ),
@@ -753,9 +753,9 @@ async def mark_paid(
753753 self ,
754754 invoice_id : str ,
755755 * ,
756- external_id : Optional [str ],
757- notes : Optional [str ],
758756 payment_received_date : Union [str , date ],
757+ external_id : Optional [str ] | NotGiven = NOT_GIVEN ,
758+ notes : Optional [str ] | NotGiven = NOT_GIVEN ,
759759 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
760760 # The extra values given here take precedence over values defined on the client or passed to this method.
761761 extra_headers : Headers | None = None ,
@@ -770,12 +770,12 @@ async def mark_paid(
770770 only be done to invoices that are in the `issued` status.
771771
772772 Args:
773+ payment_received_date: A date string to specify the date of the payment.
774+
773775 external_id: An optional external ID to associate with the payment.
774776
775777 notes: An optional note to associate with the payment.
776778
777- payment_received_date: A date string to specify the date of the payment.
778-
779779 extra_headers: Send extra headers
780780
781781 extra_query: Add additional query parameters to the request
@@ -792,9 +792,9 @@ async def mark_paid(
792792 f"/invoices/{ invoice_id } /mark_paid" ,
793793 body = await async_maybe_transform (
794794 {
795+ "payment_received_date" : payment_received_date ,
795796 "external_id" : external_id ,
796797 "notes" : notes ,
797- "payment_received_date" : payment_received_date ,
798798 },
799799 invoice_mark_paid_params .InvoiceMarkPaidParams ,
800800 ),
0 commit comments