
    ChE                        S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	  S SK
Jr  S SKJr  S SKJr  S S	KJr  S S
KJr  S SKJr  S SKJrJr  S SKJrJrJrJrJrJrJ r J!r!J"r"  S SK#J$r$J%r%J&r&J'r'J(r(  \((       al  S SK)J*r*  S SK+J,r,  S SK-J.r.  S SK/J0r1  S SK2J3r3  S SK4J5r5  S SK6J7r7  S SK8J9r9  S SK:J;r;  S SK<J=r=  S SK>J?r?  S SK@JArA  S SKBJCrC  S SKDJErE  S SKFJGrG  S SKHJIrI  S SKJJKrK  S S KLJMrM  \" S!5       " S" S#\S#   \S#   \	S#   \S#   \S#   5      5       rNg$)%    )CreateableAPIResource)DeletableAPIResource)ExpandableField)
ListObject)ListableAPIResource)nested_resource_class_methods)RequestOptions)SearchResultObject)SearchableAPIResource)StripeObject)UpdateableAPIResource)class_method_variantsanitize_id)	AsyncIteratorClassVarDictIteratorListOptionalUnioncastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)Account)Application)BankAccount)Card)Customer)Discount)InvoiceLineItem)InvoicePayment)PaymentIntent)PaymentMethod)SetupIntent)ShippingRate)Source)Subscription)TaxId)TaxRate)CreditBalanceTransaction)	TestClocklinec                   \(   \ rS rSr% SrSr\\S      \S'    " S S\	5      r
 " S S\	5      r " S	 S
\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S\	5      r " S S \	5      r " S! S"\	5      r " S# S$\	5      r " S% S&\	5      r " S' S(\	5      r " S) S*\	5      r " S+ S,\5      r " S- S.\5      r  " S/ S0\5      r! " S1 S2\5      r" " S3 S4\5      r# " S5 S6\5      r$ " S7 S8\5      r% " S9 S:\5      r& " S; S<\5      r' " S= S>\5      r( " S? S@\5      r) " SA SB\5      r* " SC SD\5      r+ " SE SF\5      r, " SG SH\5      r- " SI SJ\5      r. " SK SL\5      r/ " SM SN\5      r0 " SO SP\5      r1 " SQ SR\5      r2 " SS ST\5      r3 " SU SV\5      r4 " SW SX\5      r5 " SY SZ\5      r6 " S[ S\\5      r7 " S] S^\5      r8 " S_ S`\5      r9 " Sa Sb\5      r: " Sc Sd\5      r; " Se Sf\5      r< " Sg Sh\5      r= " Si Sj\5      r> " Sk Sl\5      r? " Sm Sn\5      r@ " So Sp\5      rA " Sq Sr\5      rB " Ss St\5      rC " Su Sv\5      rD " Sw Sx\5      rE " Sy Sz\5      rF " S{ S|\5      rG " S} S~\5      rH " S S\5      rI " S S\5      rJ " S S\5      rK " S S\5      rL " S S\5      rM " S S\5      rN " S S\5      rO " S S\5      rP " S S\5      rQ " S S\5      rR " S S\5      rS " S S\5      rT " S S\5      rU " S S\5      rV " S S\5      rW " S S\5      rX " S S\5      rY " S S\5      rZ " S S\5      r[ " S S\5      r\ " S S\5      r] " S S\5      r^ " S S\5      r_ " S S\5      r` " S S\5      ra " S S\5      rb " S S\5      rc " S S\5      rd " S S\5      re " S S\5      rf " S S\5      rg " S S\5      rh " S S\5      ri " S S\5      rj " S S\5      rk " S S\5      rl " S S\5      rm " S S\5      rn " S S\5      ro " S S\5      rp " S S\5      rq " S S\5      rr " S S\5      rs " S S\5      rt " S S\5      ru " S S\5      rv " S S\5      rw " S S\5      rx " S S\5      ry " S S\5      rz " S S\5      r{ " S S\5      r| " S S\5      r} " S S\5      r~ " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S GS \5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS	 GS
\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS \5      r " GS! GS"\5      r " GS# GS$\5      r " GS% GS&\5      r " GS' GS(\5      r " GS) GS*\5      r " GS+ GS,\5      r " GS- GS.\5      r " GS/ GS0\5      r " GS1 GS2\5      r " GS3 GS4\5      r " GS5 GS6\5      r " GS7 GS8\5      r " GS9 GS:\5      r " GS; GS<\5      r " GS= GS>\5      r " GS? GS@\5      r " GSA GSB\5      r " GSC GSD\5      r " GSE GSF\5      r " GSG GSH\5      r " GSI GSJ\5      r " GSK GSL\5      r " GSM GSN\5      r\\   \GSO'    \\   \GSP'    \\\GSQ         \GSR'    \\GSS'    \\GST'    \\GSU'    \\GSV'    \\GSW'    \\GSX      \GSY'    \\GSZ'    \\GS['    \\   \GS\'    \
\GS]'   \\   \GS^'    \\GS_      \GS`'    \GSa   \GSb'    \\   \GSc'    \\GSd'    \\GSe'    \\\      \GSf'    \\GSg      \GSh'    \\   \GSi'    \\   \GSj'    \\   \GSk'    \\   \GSl'    \\   \GSm'    \\GSn      \GSo'    \\\      \GSp'    \\GSq      \GSr'    \\\GSs         \GSt'    \GSu   \GSv'    \\GSw      \GSx'    \\   \GSy'    \\GSz      \GS{'    \\   \GS|'    \\   \GS}'    \\   \GS~'    \\   \GS'    \\   \GS'    \\   \GS'    \\   \GS'    \\   \GS'    \\GS'   \\   \GS'    \\S       \GS'    \GS   \GS'    \\GS'    \\\\4      \GS'    \\   \GS'    \\   \GS'    \S   \GS'    \\GS      \GS'    \\   \GS'    \\GS'   \\GS      \GS'    \\GS'    \\GS'    \\GS'    \\GS'    \\   \GS'    \\   \GS'    \\   \GS'    \\   \GS'    \\GS'    \\   \GS'    \\GS      \GS'    \\GS'   \\GS'    \\   \GS'    \\GS      \GS'    \\   \GS'   \\GS'    \\\      \GS'    \\   \GS'    \\\      \GS'    \\\      \GS'    \\   \GS'    \S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\GS\GS   GSS 4GS j5       r\GS\GS   GSS 4GS j5       r\GS\GS   GSS 4GS j5       r\GS\GS   GSS 4GS j5       r\GS\GS\GS   GSS 4GS j5       r\\GS\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\GS\GS\GS   GSS 4GS j5       r\\GS\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\GS\GS   GS\S    4GS j5       r\GS\GS   GS\S    4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\GS\GS\GS   GSS 4GS j5       r\GS\GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS  j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\GS\GS\GS   GSS 4GS	 j5       r\GS\GS\GS   GSS 4GS
 j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS j5       r\S\GS\GS   GSS 4GS j5       r\\S\GS\GS   GSS 4GS j5       5       r\GS\GS   GSS 4GS j5       r\" GS5      GS\GS   GSS 4GS  j5       r\S\GS\GS!   GSS 4GS" j5       r\\S\GS\GS!   GSS 4GS# j5       5       r\GS\GS!   GSS 4GS$ j5       r\" GS%5      GS\GS!   GSS 4GS& j5       r\S\GS\GS!   GSS 4GS' j5       r\\S\GS\GS!   GSS 4GS( j5       5       r\GS\GS!   GSS 4GS) j5       r\" GS*5      GS\GS!   GSS 4GS+ j5       r\GS,\GS-   GS\S    4GS. j5       r\GS,\GS-   GS\S    4GS/ j5       r\GS,\GS-   GS\S    4GS0 j5       r\GS,\GS-   GS\S    4GS1 j5       r\S\GS\GS2   GS\GS   4GS3 j5       r\S\GS\GS2   GS\GS   4GS4 j5       r0 GS]\
_GSc\_GSf\_GSi\_GSm\_GSp\_GS\_GS\_GS\_GS\_GS\_GS\_GS\_GS\_GS\_GS\_GS\_\\GS5.ErGS6rGg7(8  Invoice9   a=  
Invoices are statements of amounts owed by a customer, and are either
generated one-off, or generated periodically from a subscription.

They contain [invoice items](https://stripe.com/docs/api#invoiceitems), and proration adjustments
that may be caused by subscription upgrades/downgrades (if necessary).

If your invoice is configured to be billed through automatic charges,
Stripe automatically finalizes your invoice and attempts payment. Note
that finalizing the invoice,
[when automatic](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection), does
not happen immediately as the invoice is created. Stripe waits
until one hour after the last webhook was successfully sent (or the last
webhook timed out after failing). If you (and the platforms you may have
connected to) have no webhooks configured, Stripe waits one hour after
creation to finalize the invoice.

If your invoice is configured to be billed by sending an email, then based on your
[email settings](https://dashboard.stripe.com/account/billing/automatic),
Stripe will email the invoice to your customer and await payment. These
emails can contain a link to a hosted page to pay the invoice.

Stripe applies any customer credit on the account before determining the
amount due for the invoice (i.e., the amount that will be actually
charged). If the amount due for the invoice is less than Stripe's [minimum allowed charge
per currency](https://docs.stripe.com/docs/currencies#minimum-and-maximum-charge-amounts), the
invoice is automatically marked paid, and we add the amount due to the
customer's credit balance which is applied to the next invoice.

More details on the customer's credit balance are
[here](https://stripe.com/docs/billing/customer/balance).

Related guide: [Send invoices to customers](https://stripe.com/docs/billing/invoices/sending)
invoiceOBJECT_NAMEc                       \ rS rSr%  " S S\5      r\\S      \S'    \	\S'    \\   \S'    \\
   \S'    \\S	      \S
'    S\0rSrg)Invoice.AutomaticTaxf   c                   >    \ rS rSr% \\S      \S'    \S   \S'   Srg)Invoice.AutomaticTax.Liabilityg   r   accountr<   selftype N	__name__
__module____qualname____firstlineno__r   r   __annotations__r   __static_attributes__r@       R/home/kali/devsecops-assessor/venv/lib/python3.13/site-packages/stripe/_invoice.py	Liabilityr:   g   s*    oi899 +,,rH   rJ   )%finalization_requires_location_inputsfinalization_system_errordisabled_reasonenabled	liabilityprovider)completefailedrequires_location_inputsstatusr@   N)rB   rC   rD   rE   r   rJ   r   r   rF   boolstr_inner_class_typesrG   r@   rH   rI   AutomaticTaxr7   f   s    	 	 "-
 	
	 	 I&&	 3-	 DE
 	
	 *95rH   rX   c                   ,    \ rS rSr% \\S'    \\S'   Srg)Invoice.ConfirmationSecret   client_secretr?   r@   NrB   rC   rD   rE   rV   rF   rG   r@   rH   rI   ConfirmationSecretrZ      s    	 		rH   r^   c                   ,    \ rS rSr% \\S'    \\S'   Srg)Invoice.CustomField   namevaluer@   Nr]   r@   rH   rI   CustomFieldr`          		 
	rH   rd   c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
Invoice.CustomerAddress   citycountryline1line2postal_codestater@   NrB   rC   rD   rE   r   rV   rF   rG   r@   rH   rI   CustomerAddressrg      sf    sm	 #	 }	 }	 c]"	 }	rH   rp   c                       \ rS rSr%  " S S\5      r\\   \S'   \\   \S'    \\   \S'    \\   \S'    \\   \S'    S\0r	S	r
g
)Invoice.CustomerShipping   c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
 Invoice.CustomerShipping.Address   ri   rj   rk   rl   rm   rn   r@   Nro   r@   rH   rI   Addressru      f    3- c]" C=  C=  "#& C= rH   rw   addresscarrierrb   phonetracking_numberr@   NrB   rC   rD   rE   r   rw   r   rF   rV   rW   rG   r@   rH   rI   CustomerShippingrr      j    	l 	4 '""#	 sm	 }	 "#&	 (1rH   r~   c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)Invoice.CustomerTaxId   )oad_nrtae_trnal_tinam_tinao_tinar_cuitau_abnau_arnaw_tinaz_tinba_tinbb_tinbd_binbf_ifubg_uicbh_vatbj_ifubo_tinbr_cnpjbr_cpfbs_tinby_tinca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qstcd_nifch_uidch_vatcl_tincm_niucn_tinco_nitcr_tincv_nifde_stndo_rcnec_ruceg_tines_cifet_tin
eu_oss_vateu_vatgb_vatge_vatgn_nifhk_brhr_oibhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkg_tinkh_tinkr_brnkz_binla_tinli_uidli_vatma_vatmd_vatme_pibmk_vatmr_nifmx_rfcmy_frpmy_itnmy_sstng_tinno_vatno_voecnp_pannz_gstom_vatpe_rucph_tinro_tinrs_pibru_innru_kppsa_vatsg_gstsg_uensi_tinsn_nineasr_finsv_nitth_vattj_tintr_tintw_vattz_vatua_vatug_tinunknownus_einuy_rucuz_tinuz_vatve_rifvn_tinza_vatzm_tinzw_tinr?   rc   r@   N)	rB   rC   rD   rE   r   rF   r   rV   rG   r@   rH   rI   CustomerTaxIdr      s.    np
 p	
b	 }	rH   r   c                   2    \ rS rSr% \\S'    \S   \S'   Srg)Invoice.FromInvoiceid  actionr2   r4   r@   N)rB   rC   rD   rE   rV   rF   r   rG   r@   rH   rI   FromInvoicer   d  s    	 !++	rH   r   c                   >    \ rS rSr% \\S      \S'    \S   \S'   Srg)Invoice.Issuerin  r   r<   r=   r?   r@   NrA   r@   rH   rI   Issuerr   n  s*    /)455	 '((	rH   r   c                   >   \ rS rSr% \\   \S'    \\   \S'    \\S      \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S	'    \\   \S
'    \\   \S'    \S   \S'    \S   \S'    \\   \S'    \\   \S'    \S   \S'    \\S      \S'   \S   \S'   Sr	g)Invoice.LastFinalizationErrorix  advice_codecharge)account_closedaccount_country_invalid_address6account_error_country_change_requires_additional_stepsaccount_information_mismatchaccount_invalidaccount_number_invalidacss_debit_session_incompletealipay_upgrade_requiredamount_too_largeamount_too_smallapi_key_expiredapplication_fees_not_allowedauthentication_requiredbalance_insufficientbalance_invalid_parameter bank_account_bad_routing_numbersbank_account_declinedbank_account_existsbank_account_restrictedbank_account_unusablebank_account_unverified bank_account_verification_failedbilling_invalid_mandatebitcoin_upgrade_required$capture_charge_authorization_expiredcapture_unauthorized_payment card_decline_rate_limit_exceededcard_declined cardholder_phone_number_requiredcharge_already_capturedcharge_already_refundedcharge_disputedcharge_exceeds_source_limit charge_exceeds_transaction_limitcharge_expired_for_capturecharge_invalid_parametercharge_not_refundableclearing_code_unsupportedcountry_code_invalidcountry_unsupportedcoupon_expiredcustomer_max_payment_methodscustomer_max_subscriptionscustomer_session_expiredcustomer_tax_location_invaliddebit_not_authorizedemail_invalidexpired_card&financial_connections_account_inactive7financial_connections_no_successful_transaction_refreshforwarding_api_inactive forwarding_api_invalid_parameter'forwarding_api_retryable_upstream_error(forwarding_api_upstream_connection_error*forwarding_api_upstream_connection_timeoutforwarding_api_upstream_erroridempotency_key_in_useincorrect_addressincorrect_cvcincorrect_numberincorrect_zip(india_recurring_payment_mandate_canceledinstant_payouts_config_disabled!instant_payouts_currency_disabledinstant_payouts_limit_exceededinstant_payouts_unsupportedinsufficient_fundsintent_invalid_state"intent_verification_method_missinginvalid_card_typeinvalid_charactersinvalid_charge_amountinvalid_cvcinvalid_expiry_monthinvalid_expiry_year'invalid_mandate_reference_prefix_formatinvalid_numberinvalid_source_usageinvalid_tax_locationinvoice_no_customer_line_itemsinvoice_no_payment_method_types"invoice_no_subscription_line_itemsinvoice_not_editable!invoice_on_behalf_of_not_editable&invoice_payment_intent_requires_actioninvoice_upcoming_nonelivemode_mismatchlock_timeoutmissing
no_accountnot_allowed_on_standard_accountout_of_inventory!ownership_declaration_not_allowedparameter_invalid_emptyparameter_invalid_integerparameter_invalid_string_blankparameter_invalid_string_emptyparameter_missingparameter_unknownparameters_exclusivepayment_intent_action_required%payment_intent_authentication_failure*payment_intent_incompatible_payment_method payment_intent_invalid_parameter3payment_intent_konbini_rejected_confirmation_numberpayment_intent_mandate_invalid&payment_intent_payment_attempt_expired%payment_intent_payment_attempt_failedpayment_intent_unexpected_state,payment_method_bank_account_already_verified#payment_method_bank_account_blocked.payment_method_billing_details_address_missing%payment_method_configuration_failures payment_method_currency_mismatchpayment_method_customer_decline payment_method_invalid_parameter)payment_method_invalid_parameter_testmode"payment_method_microdeposit_failed8payment_method_microdeposit_verification_amounts_invalid9payment_method_microdeposit_verification_amounts_mismatch:payment_method_microdeposit_verification_attempts_exceededApayment_method_microdeposit_verification_descriptor_code_mismatch0payment_method_microdeposit_verification_timeoutpayment_method_not_availablepayment_method_provider_declinepayment_method_provider_timeoutpayment_method_unactivatedpayment_method_unexpected_statepayment_method_unsupported_typepayout_reconciliation_not_readypayouts_limit_exceededpayouts_not_allowedplatform_account_requiredplatform_api_key_expiredpostal_code_invalidprocessing_errorproduct_inactive%progressive_onboarding_limit_exceeded
rate_limitrefer_to_customerrefund_disputed_paymentresource_already_existsresource_missingreturn_intent_already_processedrouting_number_invalidsecret_key_requiredsepa_unsupported_accountsetup_attempt_failed#setup_intent_authentication_failuresetup_intent_invalid_parametersetup_intent_mandate_invalid&setup_intent_mobile_wallet_unsupported"setup_intent_setup_attempt_expiredsetup_intent_unexpected_stateshipping_address_invalidshipping_calculation_failedsku_inactivestate_unsupportedstatus_transition_invalidstripe_tax_inactivetax_id_invalidtax_id_prohibitedtaxes_calculation_failed%terminal_location_country_unsupportedterminal_reader_busyterminal_reader_hardware_fault/terminal_reader_invalid_location_for_activation,terminal_reader_invalid_location_for_paymentterminal_reader_offlineterminal_reader_timeouttestmode_charges_onlytls_version_unsupportedtoken_already_usedtoken_card_network_invalidtoken_in_use+transfer_source_balance_parameters_mismatchtransfers_not_allowedurl_invalidcodedecline_codedoc_urlmessagenetwork_advice_codenetwork_decline_codeparamr&   payment_intentr'   payment_methodpayment_method_typerequest_log_urlr(   setup_intentr   r    CardResourcer*   source)	api_error
card_erroridempotency_errorinvalid_request_errorr?   r@   N)
rB   rC   rD   rE   r   rV   rF   r   r   rG   r@   rH   rI   LastFinalizationErrorr   x  s7   c]"	 	 qsu
 u	
l	 sm#	 #	 #	 &c]*	 'sm+	 }	 !11	 !11	 &c]*	 "#&	 }--	. DE
 	
 %
 	
	rH   r  c                       \ rS rSr%  " S S\5      r " S S\5      r\\   \S'    \\   \S'    \	S   \S	'    \\S.r
S
rg)Invoice.Parenti  c                        \ rS rSr% \\S'   Srg)Invoice.Parent.QuoteDetailsi  quoter@   Nr]   r@   rH   rI   QuoteDetailsr    s    JrH   r  c                   T    \ rS rSr% \\\\4      \S'    \S   \S'    \\	   \S'   Sr
g)"Invoice.Parent.SubscriptionDetailsi  metadatar+   subscriptionsubscription_proration_dater@   N)rB   rC   rD   rE   r   r   rV   rF   r   intrG   r@   rH   rI   SubscriptionDetailsr    s=    tCH~.. *.99 *2#6rH   r  quote_detailssubscription_details)r  r  r?   r@   N)rB   rC   rD   rE   r   r  r  r   rF   r   rW   rG   r@   rH   rI   Parentr    sb    	< 		, 	  --	 '':;;	 =>>	 *$7
rH   r  c                   v    \ rS rSr%  " S S\5      r\\   \S'    \\   \S'    \\	\
S         \S'    S\0rSrg	)
Invoice.PaymentSettingsi  c                   B   \ rS rSr%  " S S\5      r " S S\5      r " S S\5      r " S S	\5      r " S
 S\5      r	 " S S\5      r
 " S S\5      r\\   \S'    \\   \S'    \\   \S'    \\   \S'    \\	   \S'    \\
   \S'    \\   \S'    \\\\\	\
\S.rSrg),Invoice.PaymentSettings.PaymentMethodOptionsi  c                   \    \ rS rSr%  " S S\5      r\\   \S'   \\S      \S'    S\0r	Sr
g)	6Invoice.PaymentSettings.PaymentMethodOptions.AcssDebiti  c                   ,    \ rS rSr% \\S      \S'   Srg)EInvoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptionsi  businesspersonaltransaction_typer@   NrB   rC   rD   rE   r   r   rF   rG   r@   rH   rI   MandateOptionsr    s    &.w7M/N&OOrH   r  mandate_options	automaticinstantmicrodepositsverification_methodr@   N)rB   rC   rD   rE   r   r  r   rF   r   rW   rG   r@   rH   rI   	AcssDebitr    sC    \  "*.!99%-CD&  '8%H"rH   r  c                   &    \ rS rSr% \S   \S'   Srg)7Invoice.PaymentSettings.PaymentMethodOptions.Bancontacti  deenfrnlpreferred_languager@   NrB   rC   rD   rE   r   rF   rG   r@   rH   rI   
Bancontactr    s    $+,B$CCrH   r  c                   \    \ rS rSr%  " S S\5      r\\   \S'   \\S      \S'    S\0r	Sr
g)	1Invoice.PaymentSettings.PaymentMethodOptions.Cardi  c                   &    \ rS rSr% \\   \S'   Srg)>Invoice.PaymentSettings.PaymentMethodOptions.Card.Installmentsi  rN   r@   N)rB   rC   rD   rE   r   rU   rF   rG   r@   rH   rI   Installmentsr    s    %d^+rH   r  installmentsanyr  	challengerequest_three_d_securer@   N)rB   rC   rD   rE   r   r  r   rF   r   rW   rG   r@   rH   rI   r!   r    sC    <  '|44(0;<)  '5l%C"rH   r!   c                   \    \ rS rSr%  " S S\5      r\\   \S'   \\S      \S'    S\0r	Sr
g)<Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalancei  c                   V    \ rS rSr%  " S S\5      r\\   \S'   \\   \S'    S\0r	Sr
g)IInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransferi  c                   &    \ rS rSr% \S   \S'   Srg)XInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransferi  )BEDEESFRIENLrj   r@   Nr  r@   rH   rI   EuBankTransferr    s    !()K!LLrH   r	  eu_bank_transferr?   r@   N)rB   rC   rD   rE   r   r	  r   rF   rV   rW   rG   r@   rH   rI   BankTransferr     s7      '/~&>>"3-' +=n)M&rH   r  bank_transferfunding_typer@   N)rB   rC   rD   rE   r   r  r   rF   r   rW   rG   r@   rH   rI   CustomerBalancer    s?    N< N  (55&w'?@@ '6|%D"rH   r  c                       \ rS rSrSrg)4Invoice.PaymentSettings.PaymentMethodOptions.Konbinii  r@   NrB   rC   rD   rE   rG   r@   rH   rI   Konbinir        rH   r  c                       \ rS rSrSrg)6Invoice.PaymentSettings.PaymentMethodOptions.SepaDebiti  r@   Nr  r@   rH   rI   	SepaDebitr    r  rH   r  c                   \    \ rS rSr%  " S S\5      r\\   \S'   \\S      \S'    S\0r	Sr
g)	:Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccounti   c                       \ rS rSr%  " S S\5      r\\   \S'   \\\	S         \S'    \\\	S         \S'    S\0r
S	rg
)OInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnectionsi  c                   2    \ rS rSr% \\\S         \S'   Srg)WInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filtersi  checkingsavingsaccount_subcategoriesr@   N)	rB   rC   rD   rE   r   r   r   rF   rG   r@   rH   rI   Filtersr    s"    /7 )>!?@0 rH   r!  filtersbalances	ownershipr  transactionspermissionsr$  r%  r&  prefetchr@   N)rB   rC   rD   rE   r   r!  r   rF   r   r   rW   rG   r@   rH   rI   FinancialConnectionsr    sq    ,  &g..!)#!0	" 	 'W%LMN  +4W)=&rH   r*  financial_connectionsr  r  r@   N)rB   rC   rD   rE   r   r*  r   rF   r   rW   rG   r@   rH   rI   UsBankAccountr     sG    >< >> (00D'EE%-CD&  ,-A&"rH   r,  
acss_debit
bancontactcardcustomer_balancekonbini
sepa_debitus_bank_account)r-  r.  r/  r0  r1  r2  r3  r@   N)rB   rC   rD   rE   r   r  r  r!   r  r  r  r,  r   rF   rW   rG   r@   rH   rI   PaymentMethodOptionsr    s    IL I \ D| D E, E,, L ) )V !++ !,, 4.  '77 g&& !++ &m44 (($3"'#0"rH   r4  default_mandatepayment_method_options)'ach_credit_transfer	ach_debitr-  affirm
amazon_payau_becs_debit
bacs_debitr.  boletor/  cashappcryptor0  epsfpxgiropaygrabpayidealjp_credit_transfer	kakao_payklarnar1  kr_cardlink
multibanco	naver_paynz_bank_accountp24paycopaynowpaypal	promptpayrevolut_paysepa_credit_transferr2  sofortswishr3  
wechat_paypayment_method_typesr@   N)rB   rC   rD   rE   r   r4  r   rV   rF   r   r   rW   rG   r@   rH   rI   PaymentSettingsr    sm    R	< R	h "#&	 !))= >>	 '&"(*,
 ,	
Z	 78LMrH   rX  c                   |    \ rS rSr%  " S S\5      r\\   \S'    \\   \S'    \\   \S'    \\	   \S'    S\0r
Srg	)
Invoice.Renderingi  c                   ,    \ rS rSr% \\S      \S'   Srg)Invoice.Rendering.Pdfi  a4autoletter	page_sizer@   Nr  r@   rH   rI   Pdfr\    s    (> ?@@rH   rb  amount_tax_displaypdftemplatetemplate_versionr@   N)rB   rC   rD   rE   r   rb  r   rV   rF   r  rW   rG   r@   rH   rI   	RenderingrZ    s^    	, 	 %SM)	 c]	 3-	 #3-'	 $S\rH   rg  c                       \ rS rSr%  " S S\5      r\\S'    \\S'    \\S'    \\	S      \S'    \\
\      \S	'    S	\0rS
rg)Invoice.ShippingCosti  c                   V    \ rS rSr% \\S'    S\S'    \\S      \S'    \\   \S'   Srg	)
Invoice.ShippingCost.Taxi  amountr-   ratecustomer_exemptnot_collectingnot_subject_to_taxnot_supportedportion_product_exemptportion_reduced_ratedportion_standard_ratedproduct_exemptproduct_exempt_holidayproportionally_ratedreduced_ratedreverse_chargestandard_ratedtaxable_basis_reduced
zero_ratedtaxability_reasontaxable_amountr@   N)	rB   rC   rD   rE   r  rF   r   r   rG   r@   rH   rI   Taxrk    sJ    K O
  ("  & %SM)rH   r  amount_subtotal
amount_taxamount_totalr)   shipping_ratetaxesr@   N)rB   rC   rD   rE   r   r  r  rF   r   r   r   rW   rG   r@   rH   rI   ShippingCostri    sn    $	, $	L 	 	 	   ?@@	 S	""	 &s^rH   r  c                       \ rS rSr%  " S S\5      r\\   \S'   \\   \S'    \\   \S'    \\   \S'    \\   \S'    S\0r	S	r
g
)Invoice.ShippingDetailsi  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
Invoice.ShippingDetails.Addressi  ri   rj   rk   rl   rm   rn   r@   Nro   r@   rH   rI   rw   r    rx   rH   rw   ry   rz   rb   r{   r|   r@   Nr}   r@   rH   rI   ShippingDetailsr    r   rH   r  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)Invoice.StatusTransitionsi  finalized_atmarked_uncollectible_atpaid_at	voided_atr@   N)rB   rC   rD   rE   r   r  rF   rG   r@   rH   rI   StatusTransitionsr    sD    sm#	 "*#.	 #	 C= 	rH   r  c                   X    \ rS rSr%  " S S\5      r\\   \S'    \	\   \S'    S\0r
Srg)Invoice.ThresholdReasoni!  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)"Invoice.ThresholdReason.ItemReasoni"  line_item_ids	usage_gter@   N)	rB   rC   rD   rE   r   rV   rF   r  rG   r@   rH   rI   
ItemReasonr  "  s    9$ NrH   r  
amount_gteitem_reasonsr@   N)rB   rC   rD   rE   r   r  r   r  rF   r   rW   rG   r@   rH   rI   ThresholdReasonr  !  s>    	 	 SM!	 :&&	 -j9rH   r  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)Invoice.TotalDiscountAmounti6  rl  r#   discountr@   N)rB   rC   rD   rE   r  rF   r   rG   r@   rH   rI   TotalDiscountAmountr  6  s    	 "*--	rH   r  c                   b    \ rS rSr% \\S'    \\S      \S'    \\S      \S'    \S   \S'   S	r	g
)Invoice.TotalPretaxCreditAmounti@  rl  r.   credit_balance_transactionr#   r  )r  r  r?   r@   N)
rB   rC   rD   rE   r  rF   r   r   r   rG   r@   rH   rI   TotalPretaxCreditAmountr  @  sS    	 %-67%
 	
	 ?:677	 >??	rH   r  c                       \ rS rSr%  " S S\5      r\\S'    \S   \S'    \	\   \S'    \S   \S	'    \	\   \S
'    \S   \S'    S\0r
Srg)Invoice.TotalTaxiT  c                        \ rS rSr% \\S'   Srg)Invoice.TotalTax.TaxRateDetailsiU  tax_rater@   Nr]   r@   rH   rI   TaxRateDetailsr  U  s    MrH   r  rl  )	exclusive	inclusivetax_behaviortax_rate_details)ro  not_availablerp  rq  rr  rs  rt  ru  rv  rw  rx  ry  rz  r{  r|  r}  r~  r  r?   r@   N)rB   rC   rD   rE   r   r  r  rF   r   r   rW   rG   r@   rH   rI   TotalTaxr  T  s    	\ 	 	 677	 #>22	 #
 	
$	 !%	 ())	 1.ArH   r  c                   P    \ rS rSr% \\\      \S'    \S   \S'    \S   \S'   Srg)	Invoice.AddLinesParamsi  expandLiteral['']|Dict[str, str]invoice_metadataInvoice.AddLinesParamsLinelinesr@   N	rB   rC   rD   rE   r   r   rV   rF   rG   r@   rH   rI   AddLinesParamsr    s<    DI&&	 &&BCC	 011	rH   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'    \\   \S'    \S   \S'    \S   \S'   Sr	g)r  i  rl  descriptiondiscountablez4Literal['']|List[Invoice.AddLinesParamsLineDiscount]	discountsinvoice_itemr  r   Invoice.AddLinesParamsLinePeriodperiod#Invoice.AddLinesParamsLinePriceData
price_data!Invoice.AddLinesParamsLinePricingpricingquantityz5Literal['']|List[Invoice.AddLinesParamsLineTaxAmount]tax_amountsLiteral['']|List[str]	tax_ratesr@   N
rB   rC   rD   rE   r   r  rF   rV   rU   rG   r@   rH   rI   AddLinesParamsLineInvoice.AddLinesParamsLine  s    C  	 !%%	 "$''	 B
 	
	 "#&&	 :;;	 >??	   EFF	 @AA	 c""	 !C
 	
	 677	rH   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)"Invoice.AddLinesParamsLineDiscounti  couponr  promotion_coder@   NrB   rC   rD   rE   r   rV   rF   rG   r@   rH   rI   AddLinesParamsLineDiscountr    6    C  	 c""	 $C((	rH   r  c                   ,    \ rS rSr% \\S'    \\S'   Srg)r  i  endstartr@   NrB   rC   rD   rE   r  rF   rG   r@   rH   rI   AddLinesParamsLinePeriod Invoice.AddLinesParamsLinePeriod      	 
	rH   r  c                       \ rS rSr% \\S'    \\   \S'    \S   \S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i  currencyproduct.Invoice.AddLinesParamsLinePriceDataProductDataproduct_datar  r  unspecifiedr  unit_amountunit_amount_decimalr@   N
rB   rC   rD   rE   rV   rF   r   r   r  rG   r@   rH   rI   AddLinesParamsLinePriceData#Invoice.AddLinesParamsLinePriceData  sv    	 S!!	 "<
 	
	 ";<
 	
	 !%%	 )--	rH   r  c                   x    \ rS rSr% \\   \S'    \\\      \S'    \\\\4      \S'    \\S'    \\   \S'   Sr	g)	r  i  r  imagesr  rb   tax_coder@   N
rB   rC   rD   rE   r   rV   rF   r   r   rG   r@   rH   rI   &AddLinesParamsLinePriceDataProductData.Invoice.AddLinesParamsLinePriceDataProductData  `     %%	 DI&&	 d38n--	 		 c""	rH   r  c                   &    \ rS rSr% \\   \S'   Srg)r  i  pricer@   Nr  r@   rH   rI   AddLinesParamsLinePricing!Invoice.AddLinesParamsLinePricing      3	rH   r  c                   P    \ rS rSr% \\S'    S\S'    \\S      \S'    \\S'   Srg	)
#Invoice.AddLinesParamsLineTaxAmounti  rl  .Invoice.AddLinesParamsLineTaxAmountTaxRateDatatax_rate_datarn  r~  r  r@   N	rB   rC   rD   rE   r  rF   r   r   rG   r@   rH   rI   AddLinesParamsLineTaxAmountr    sH    	 HG	
 '
 	
&	 	rH   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\S'    \\S'    \\   \S'    \\S      \S'    \	\S	'    \\   \S
'    \\S      \S'   Sr
g)r  i?  rj   r  display_namer  jurisdictionri   rj   countydistrictmultiplern   jurisdiction_level
percentagern   amusement_taxcommunications_taxgsthstigstjct	lease_taxpstqstretail_delivery_feerst	sales_taxservice_taxvattax_typer@   NrB   rC   rD   rE   r   rV   rF   rU   r   floatrG   r@   rH   rI   &AddLinesParamsLineTaxAmountTaxRateData.Invoice.AddLinesParamsLineTaxAmountTaxRateData?      S!!	 !%%	 	 	 "#&&	 (L
 	

	 	 3	 
 	
$	rH   r  c                   >    \ rS rSr% \\\      \S'    \\   \S'   Srg)Invoice.AttachPaymentParamsiz  r  r  r@   Nr  r@   rH   rI   AttachPaymentParamsr  z  s(    DI&&	 $C((	rH   r  c                   l   \ rS rSr% \S   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \\S	      \S
'    \\	   \S'    \S   \S'    \\	   \S'    \\   \S'    \\	   \S'    \\	   \S'    \\
\	      \S'    \\	   \S'    \S   \S'    \\   \S'    \\   \S'    \\
\	      \S'    \\	   \S'    \S   \S'    \S   \S'    \S   \S'    \\	   \S '    \\	   \S!'    \S"   \S#'    \\S$      \S%'    \S&   \S''    \S(   \S)'    \S*   \S+'    \\	   \S,'    \\	   \S-'    \S.   \S/'   S0rg1)2Invoice.CreateParamsi  r  account_tax_idsapplication_fee_amountauto_advance Invoice.CreateParamsAutomaticTaxautomatic_taxautomatically_finalizes_atcharge_automaticallysend_invoicecollection_methodr  z1Literal['']|List[Invoice.CreateParamsCustomField]custom_fieldscustomerdays_until_duedefault_payment_methoddefault_sourcedefault_tax_ratesr  z.Literal['']|List[Invoice.CreateParamsDiscount]r  due_dateeffective_atr  footerInvoice.CreateParamsFromInvoicefrom_invoiceInvoice.CreateParamsIssuerissuerr  r  numberon_behalf_of#Invoice.CreateParamsPaymentSettingspayment_settings)excludeincludepending_invoice_items_behaviorInvoice.CreateParamsRendering	rendering Invoice.CreateParamsShippingCostshipping_cost#Invoice.CreateParamsShippingDetailsshipping_detailsstatement_descriptorr   Invoice.CreateParamsTransferDatatransfer_datar@   NrB   rC   rD   rE   r   rF   r  rU   r   rV   r   rG   r@   rH   rI   CreateParamsr    sr   $%<==	 !,C 00	 "$''	 ##EFF	 %0$44	 ':;
 	
	 c""	 #?
 	
	 c""	 $C((	 !,C 00	 $C((	 'tCy11	 !%%	 <
 	
	 c""	 "#&&	 DI&&	 C  	 ""CDD	 899	 :;;	 C  	 "#&&	 &&KLL	 )4())
 	
	 >??	 ##EFF	 &&KLL	 *#..	 "#&&	 ##EFF	rH   rC  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r  i  rN   )Invoice.CreateParamsAutomaticTaxLiabilityrO   r@   NrB   rC   rD   rE   rU   rF   r   rG   r@   rH   rI   CreateParamsAutomaticTax Invoice.CreateParamsAutomaticTax      	 JKK	rH   rG  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rE  i  r<   r=   r?   r@   N	rB   rC   rD   rE   r   rV   rF   r   rG   r@   rH   rI   !CreateParamsAutomaticTaxLiability)Invoice.CreateParamsAutomaticTaxLiability  %    S!!	 '((	rH   rL  c                   ,    \ rS rSr% \\S'    \\S'   Srg)Invoice.CreateParamsCustomFieldi"  rb   rc   r@   Nr]   r@   rH   rI   CreateParamsCustomFieldrP  "  re   rH   rQ  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)Invoice.CreateParamsDiscounti,  r  r  r  r@   Nr  r@   rH   rI   CreateParamsDiscountrS  ,  r  rH   rT  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r.  i:  revisionr   r4   r@   NrB   rC   rD   rE   r   rF   rV   rG   r@   rH   rI   CreateParamsFromInvoiceInvoice.CreateParamsFromInvoice:  s    
##	 	rH   rX  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r0  iD  r<   r=   r?   r@   NrK  r@   rH   rI   CreateParamsIssuerInvoice.CreateParamsIssuerD  rN  rH   r[  c                   J    \ rS rSr% \S   \S'    \S   \S'    \S   \S'   Srg	)
r4  iN  Literal['']|strr5  7Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsr6    Literal['']|List[Literal['ach_credit_transfer', 'ach_debit', 'acss_debit', 'affirm', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'boleto', 'card', 'cashapp', 'crypto', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'jp_credit_transfer', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'link', 'multibanco', 'naver_pay', 'nz_bank_account', 'p24', 'payco', 'paynow', 'paypal', 'promptpay', 'revolut_pay', 'sepa_credit_transfer', 'sepa_debit', 'sofort', 'swish', 'us_bank_account', 'wechat_pay']]rW  r@   NrB   rC   rD   rE   r   rF   rG   r@   rH   rI   CreateParamsPaymentSettings#Invoice.CreateParamsPaymentSettingsN  D    $%677	 !,E!
 	
	 * Z
 	
	rH   rb  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'   Srg)r_  i`  zLLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr-  zMLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr.  zGLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardr/  zRLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer0  zJLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinir1  zLLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr2  zPLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr3  r@   Nra  r@   rH   rI   /CreateParamsPaymentSettingsPaymentMethodOptions7Invoice.CreateParamsPaymentSettingsPaymentMethodOptions`      Z
 	
	  [
 	
	 U
 	
	 &`
 	
	 X
 	
	  Z
 	
	 %^
 	
	rH   rf  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)@Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebiti  NInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr  r  r  r@   NrB   rC   rD   rE   r   rF   r   rG   r@   rH   rI   8CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitrj    4    $\
 	
	 );<
 	
	rH   rm  c                   ,    \ rS rSr% \\S      \S'   Srg)rk  i  r  r  r@   NrB   rC   rD   rE   r   r   rF   rG   r@   rH   rI   FCreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsNInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions       &g.D&EFF	rH   rq  c                   ,    \ rS rSr% \\S      \S'   Srg)AInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsBancontacti  r  r  r@   Nrp  r@   rH   rI   9CreateParamsPaymentSettingsPaymentMethodOptionsBancontactru        '0F(GHH	rH   rv  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg);Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardi  GInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsr  r  r  r@   Nrl  r@   rH   rI   3CreateParamsPaymentSettingsPaymentMethodOptionsCardry    4    !U
 	
	
 !,34!
 	
	rH   r{  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)rz  i  rN   zWLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanplanr@   NrB   rC   rD   rE   r   rU   rF   rG   r@   rH   rI   ?CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsGInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallments  +     T""	 e
 	
	rH   r  c                   P    \ rS rSr% \\   \S'    \\S      \S'    \S   \S'   Srg)	KInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlani  countmonthintervalbonusfixed_count	revolvingr?   r@   N	rB   rC   rD   rE   r   r  rF   r   rG   r@   rH   rI   CCreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr    >     3	 gg.//	 9::	rH   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)FInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancei  RInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr  r  r@   NrB   rC   rD   rE   r   rF   rV   rG   r@   rH   rI   >CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer    +     #`
 	
	 "#&&	rH   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i  `Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr
  r?   r@   Nr  r@   rH   rI   JCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer  +     &n
 	
	 #	rH   r  c                        \ rS rSr% \\S'   Srg)r  i  rj   r@   Nr]   r@   rH   rI   XCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer`Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer       	rH   r  c                       \ rS rSrSrg)>Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinii  r@   Nr  r@   rH   rI   6CreateParamsPaymentSettingsPaymentMethodOptionsKonbinir        rH   r  c                       \ rS rSrSrg)@Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebiti  r@   Nr  r@   rH   rI   8CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr    r  rH   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)DInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccounti  XInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsr+  r  r  r@   Nrl  r@   rH   rI   <CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr    6      +f 
 	
	 );<
 	
	rH   r  c                   b    \ rS rSr% \S   \S'    \\\S         \S'    \\\S         \S'   Srg	)
r  i  _Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersr"  r#  r'  r(  r)  r@   N	rB   rC   rD   rE   r   rF   r   r   rG   r@   rH   rI   PCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsXInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections  b     m
 	
	 !M
 	
	 @AB
 	
	rH   r  c                   2    \ rS rSr% \\\S         \S'   Srg)r  i,  r  r   r@   N	rB   rC   rD   rE   r   r   r   rF   rG   r@   rH   rI   WCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters_Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters,  $      +./0 
 	
	rH   r  c                   \    \ rS rSr% \S   \S'    \S   \S'    \\   \S'    \S   \S'   S	rg
)r9  i6  ;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']rc   Invoice.CreateParamsRenderingPdfrd  re  Literal['']|intrf  r@   Nr  r@   rH   rI   CreateParamsRenderingInvoice.CreateParamsRendering6  O    'I
 	
	 ;<<	 c""	 &&788	rH   r  c                   ,    \ rS rSr% \\S      \S'   Srg)r  iJ  r]  ra  r@   Nrp  r@   rH   rI   CreateParamsRenderingPdf Invoice.CreateParamsRenderingPdfJ      w'=>??	rH   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r;  iR  r  0Invoice.CreateParamsShippingCostShippingRateDatashipping_rate_datar@   Nr  r@   rH   rI   CreateParamsShippingCost Invoice.CreateParamsShippingCostR  )    "3''	 (>
 	
	rH   r  c                       \ rS rSr% \S   \S'    \\S'    \S   \S'    \\\\4      \S'    \\S      \S	'    \\   \S
'    \\S      \S'   Sr	g)r  i^  @Invoice.CreateParamsShippingCostShippingRateDataDeliveryEstimatedelivery_estimater  ;Invoice.CreateParamsShippingCostShippingRateDataFixedAmountfixed_amountr  r  r  r  r?   r@   N
rB   rC   rD   rE   r   rF   rV   r   r   rG   r@   rH   rI   (CreateParamsShippingCostShippingRateData0Invoice.CreateParamsShippingCostShippingRateData^      &N
 	
	 	 "I
 	
	 d38n--	 ";<
 	
	 c""	 '.122	rH   r  c                   8    \ rS rSr% \S   \S'    \S   \S'   Srg)r  i  GInvoice.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximummaximumGInvoice.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumminimumr@   Nra  r@   rH   rI   8CreateParamsShippingCostShippingRateDataDeliveryEstimate@Invoice.CreateParamsShippingCostShippingRateDataDeliveryEstimate  .    U
 	
	 U
 	
	rH   r  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  i  business_daydayhourr  weekunitrc   r@   NrB   rC   rD   rE   r   rF   r  rG   r@   rH   rI   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximumGInvoice.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximum  !     DEE	 
	rH   r  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  i  r  r  rc   r@   Nr  r@   rH   rI   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumGInvoice.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimum  r  rH   r  c                   H    \ rS rSr% \\S'    \\S'    \\\S4      \S'   Sr	g)r  i  rl  r  JInvoice.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionscurrency_optionsr@   N
rB   rC   rD   rE   r  rF   rV   r   r   rG   r@   rH   rI   3CreateParamsShippingCostShippingRateDataFixedAmount;Invoice.CreateParamsShippingCostShippingRateDataFixedAmount  @    	 	 &\^
 	
	rH   r  c                   8    \ rS rSr% \\S'    \\S      \S'   Srg)r  i  rl  r  r  r@   Nr  r@   rH   rI   BCreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsJInvoice.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptions  +     	 ";<
 	
	rH   r  c                   >    \ rS rSr% S\S'    \\S'    \S   \S'   Srg)	r=  i  *Invoice.CreateParamsShippingDetailsAddressry   rb   r^  r{   r@   NrB   rC   rD   rE   rF   rV   r   rG   r@   rH   rI   CreateParamsShippingDetails#Invoice.CreateParamsShippingDetails  ,    ==	 		 ,--	rH   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
r  i  ri   rj   rk   rl   rm   rn   r@   Nr  r@   rH   rI   "CreateParamsShippingDetailsAddress*Invoice.CreateParamsShippingDetailsAddress  l    #	 S!!	 3	 3	 !%%	 3	rH   r  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)r@  i  rl  destinationr@   N	rB   rC   rD   rE   r   r  rF   rV   rG   r@   rH   rI   CreateParamsTransferData Invoice.CreateParamsTransferData      C  	 	rH   r  c                   "   \ rS rSr% \S   \S'    \\   \S'    \\   \S'    \S   \S'    \S   \S	'    \\\      \S
'    \\S      \S'    \S   \S'    \S   \S'    \\S      \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S'   Sr	g)Invoice.CreatePreviewParamsi  'Invoice.CreatePreviewParamsAutomaticTaxr  r  r&  *Invoice.CreatePreviewParamsCustomerDetailscustomer_detailsz5Literal['']|List[Invoice.CreatePreviewParamsDiscount]r  r  &Invoice.CreatePreviewParamsInvoiceIteminvoice_items!Invoice.CreatePreviewParamsIssuerr1  r^  r3  )next	recurringpreview_modeschedule*Invoice.CreatePreviewParamsScheduleDetailsschedule_detailsr  .Invoice.CreatePreviewParamsSubscriptionDetailsr  r@   N)
rB   rC   rD   rE   r   rF   rV   r   r   rG   r@   rH   rI   CreatePreviewParamsr    s(   "#LMM	 c""	 c""	 &8
 	
	 C
 	
	 DI&&	 #9:
 	
	 ?@@	 ""344	 "'*=">??	 c""	 &8
 	
	 "#&&	 *<
 	
	rH   r  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r  i?  rN   0Invoice.CreatePreviewParamsAutomaticTaxLiabilityrO   r@   NrF  r@   rH   rI   CreatePreviewParamsAutomaticTax'Invoice.CreatePreviewParamsAutomaticTax?  s#    	 >
 	
	rH   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  iK  r<   r=   r?   r@   NrK  r@   rH   rI   (CreatePreviewParamsAutomaticTaxLiability0Invoice.CreatePreviewParamsAutomaticTaxLiabilityK  rN  rH   r  c                   t    \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \\S
      \S'   Srg)r  iU  z=Literal['']|Invoice.CreatePreviewParamsCustomerDetailsAddressry   z>Literal['']|Invoice.CreatePreviewParamsCustomerDetailsShippingshipping-Invoice.CreatePreviewParamsCustomerDetailsTaxtaxz0Literal['']|Literal['exempt', 'none', 'reverse']
tax_exempt/Invoice.CreatePreviewParamsCustomerDetailsTaxIdtax_idsr@   N)rB   rC   rD   rE   r   rF   r   rG   r@   rH   rI   "CreatePreviewParamsCustomerDetails*Invoice.CreatePreviewParamsCustomerDetailsU  su    K
 	
	 L
 	
	 HII	  >
 	
	 BC
 	
	rH   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
1Invoice.CreatePreviewParamsCustomerDetailsAddressis  ri   rj   rk   rl   rm   rn   r@   Nr  r@   rH   rI   )CreatePreviewParamsCustomerDetailsAddressr!  s  r  rH   r"  c                   >    \ rS rSr% S\S'    \\S'    \\   \S'   Srg)2Invoice.CreatePreviewParamsCustomerDetailsShippingi  9Invoice.CreatePreviewParamsCustomerDetailsShippingAddressry   rb   r{   r@   Nr  r@   rH   rI   *CreatePreviewParamsCustomerDetailsShippingr$    s+    LL	 		 3	rH   r&  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
r%  i  ri   rj   rk   rl   rm   rn   r@   Nr  r@   rH   rI   1CreatePreviewParamsCustomerDetailsShippingAddress9Invoice.CreatePreviewParamsCustomerDetailsShippingAddress  r  rH   r(  c                   &    \ rS rSr% \S   \S'   Srg)r  i  r^  
ip_addressr@   Nra  r@   rH   rI   %CreatePreviewParamsCustomerDetailsTax-Invoice.CreatePreviewParamsCustomerDetailsTax  s     122	rH   r,  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  i  )nr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r?   rc   r@   NrW  r@   rH   rI   'CreatePreviewParamsCustomerDetailsTaxId/Invoice.CreatePreviewParamsCustomerDetailsTaxId  s)    mo
 o	
`	 
	rH   r/  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)#Invoice.CreatePreviewParamsDiscounti4	  r  r  r  r@   Nr  r@   rH   rI   CreatePreviewParamsDiscountr2  4	  r  rH   r3  c                   :   \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S	   \S
'    \S   \S'    \\   \S'    \S   \S'    \\   \S'    \\	S      \S'    \S   \S'    \S   \S'    \\   \S'    \\   \S'   Sr
g)r  iB	  rl  r  r  r  z@Literal['']|List[Invoice.CreatePreviewParamsInvoiceItemDiscount]r  invoiceitemr  r  ,Invoice.CreatePreviewParamsInvoiceItemPeriodr  r  /Invoice.CreatePreviewParamsInvoiceItemPriceDatar  r  r  r  r^  r  r  r  r  r  r@   N)rB   rC   rD   rE   r   r  rF   rV   rU   r   rG   r@   rH   rI   CreatePreviewParamsInvoiceItem&Invoice.CreatePreviewParamsInvoiceItemB	  s9   C  	 c""	 !%%	 "$''	 N
 	
	 !%%	 :;;	 JKK	 3	  =
 	
	 c""	 ";<
 	
	 /00	 677	 !%%	 )--	rH   r8  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg).Invoice.CreatePreviewParamsInvoiceItemDiscounti	  r  r  r  r@   Nr  r@   rH   rI   &CreatePreviewParamsInvoiceItemDiscountr;  	  r  rH   r<  c                   ,    \ rS rSr% \\S'    \\S'   Srg)r6  i	  r  r  r@   Nr  r@   rH   rI   $CreatePreviewParamsInvoiceItemPeriod,Invoice.CreatePreviewParamsInvoiceItemPeriod	  r  rH   r>  c                   h    \ rS rSr% \\S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
r7  i	  r  r  r  r  r  r  r@   Nr  r@   rH   rI   'CreatePreviewParamsInvoiceItemPriceData/Invoice.CreatePreviewParamsInvoiceItemPriceData	  sY    	 	 ";<
 	
	 !%%	 )--	rH   rA  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i	  r<   r=   r?   r@   NrK  r@   rH   rI   CreatePreviewParamsIssuer!Invoice.CreatePreviewParamsIssuer	  rN  rH   rD  c                   n    \ rS rSr% \S   \S'    \\S      \S'    \\S      \S'    \\S      \S	'   S
rg)r  i	  5Invoice.CreatePreviewParamsScheduleDetailsBillingModebilling_mode)cancelreleaseend_behavior/Invoice.CreatePreviewParamsScheduleDetailsPhasephasesalways_invoicecreate_prorationsnoneproration_behaviorr@   N)	rB   rC   rD   rE   r   rF   r   r   rG   r@   rH   rI   "CreatePreviewParamsScheduleDetails*Invoice.CreatePreviewParamsScheduleDetails	  si    !C
 	
	 "'*=">??	 BC
 	
	 (AB
 	
	rH   rS  c                   &    \ rS rSr% \S   \S'   Srg)rG  i	  classicflexibler?   r@   Nr  r@   rH   rI   -CreatePreviewParamsScheduleDetailsBillingMode5Invoice.CreatePreviewParamsScheduleDetailsBillingMode	      +,,	rH   rY  c                      \ rS rSr% \\S      \S'    \\   \S'    \S   \S'    \\S      \S'    \S	   \S
'    \\S      \S'    \\	   \S'    \\	   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \\
   \S'    \\\	\	4      \S'    \\	   \S'    \\S       \S!'    \S   \S"'    \S#   \S$'    \\   \S%'    \S   \S&'   S'rg())rL  i	  =Invoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemadd_invoice_itemsapplication_fee_percent;Invoice.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxr  )r  phase_startbilling_cycle_anchorzLLiteral['']|Invoice.CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsbilling_thresholdsr!  r$  r  r(  r  r*  r^  r  zILiteral['']|List[Invoice.CreatePreviewParamsScheduleDetailsPhaseDiscount]r  7Invoice.CreatePreviewParamsScheduleDetailsPhaseDurationdurationzint|Literal['now']end_date>Invoice.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsinvoice_settings3Invoice.CreatePreviewParamsScheduleDetailsPhaseItemitems
iterationsr  r3  rN  rR  
start_date;Invoice.CreatePreviewParamsScheduleDetailsPhaseTransferDatarA  trial	trial_endr@   N)rB   rC   rD   rE   r   r   rF   r  r   rV   r  r   rU   rG   r@   rH   rI   'CreatePreviewParamsScheduleDetailsPhase/Invoice.CreatePreviewParamsScheduleDetailsPhase	  s   &O
 	

	 "-U!33	 #I
 	
	 *'2L*MNN	 (Z
 	
	 ':;
 	
	 c""	 !,C 00	 ''>??	 !!233	 W
 	
	 E
 	
	 233	 &L
 	
	 IJJ	  $$	 d38n--	 "#&&	 (AB
 	
	   455	 #I
 	
	 4  	 344	rH   rp  c                       \ rS rSr% \\S      \S'    \\\\4      \S'    \S   \S'    \\   \S'    \S   \S	'    \\	   \S
'    \S   \S'   Sr
g)r]  iT
  EInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountr  r  CInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodr  r  FInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar  r  r  r  r@   N)rB   rC   rD   rE   r   r   rF   r   rV   r  rG   r@   rH   rI   5CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItem=Invoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemT
  s    W
 	

	 d38n--	 Q
 	
	 3	  T
 	
	 c""	 677	rH   rv  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)rs  iz
  r  r  r  r@   Nr  r@   rH   rI   =CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountEInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountz
  s8     C  	 c""	 $C((	rH   ry  c                   ,    \ rS rSr% S\S'    S\S'   Srg)rt  i
  FInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodEndr  HInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodStartr  r@   N)rB   rC   rD   rE   rF   rG   r@   rH   rI   ;CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodCInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriod
  s     VU	 ZY	rH   r~  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r|  i
  	timestamp)min_item_period_end	phase_endr  r?   r@   Nr  r@   rH   rI   >CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodEndFInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodEnd
  s'     s##	 EFF	rH   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r}  i
  r  )max_item_period_startra  r  r?   r@   Nr  r@   rH   rI   @CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodStartHInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodStart
  s'     s##	 IJJ	rH   r  c                   h    \ rS rSr% \\S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
ru  i
  r  r  r  r  r  r  r@   Nr  r@   rH   rI   >CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDataFInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceData
  s[     	 	 ";<
 	
	 !%%	 )--	rH   r  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r`  i
  rN   DInvoice.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityrO   r@   NrF  r@   rH   rI   3CreatePreviewParamsScheduleDetailsPhaseAutomaticTax;Invoice.CreatePreviewParamsScheduleDetailsPhaseAutomaticTax
  s#    	 R
 	
	rH   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i
  r<   r=   r?   r@   NrK  r@   rH   rI   <CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityDInvoice.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiability
  '     S!!	 '((	rH   r  c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)@Invoice.CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsi
  r  reset_billing_cycle_anchorr@   N)	rB   rC   rD   rE   r   r  rF   rU   rG   r@   rH   rI   8CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsr  
  s$    $$	 %0$55	rH   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)7Invoice.CreatePreviewParamsScheduleDetailsPhaseDiscounti
  r  r  r  r@   Nr  r@   rH   rI   /CreatePreviewParamsScheduleDetailsPhaseDiscountr  
  r  rH   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)rd  i
  r  r  r  yearr  interval_countr@   N	rB   rC   rD   rE   r   rF   r   r  rG   r@   rH   rI   /CreatePreviewParamsScheduleDetailsPhaseDuration7Invoice.CreatePreviewParamsScheduleDetailsPhaseDuration
  s%    899	 $C((	rH   r  c                   J    \ rS rSr% \S   \S'    \\   \S'    \S   \S'   Srg)	rg  i  r  r  r'  DInvoice.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerr1  r@   N)rB   rC   rD   rE   r   rF   r  rG   r@   rH   rI   6CreatePreviewParamsScheduleDetailsPhaseInvoiceSettings>Invoice.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettings  s<    $%<==	 $C((	 R
 	
	rH   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i  r<   r=   r?   r@   NrK  r@   rH   rI   <CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerDInvoice.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuer  r  rH   r  c                       \ rS rSr% \S   \S'    \S   \S'    \\\\4      \S'    \\   \S'    \\   \S'    \S	   \S
'    \\   \S'    \S   \S'   Sr	g)ri  i  zPLiteral['']|Invoice.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsrc  zMLiteral['']|List[Invoice.CreatePreviewParamsScheduleDetailsPhaseItemDiscount]r  r  r~  r  <Invoice.CreatePreviewParamsScheduleDetailsPhaseItemPriceDatar  r  r  r  r@   N)
rB   rC   rD   rE   r   rF   r   rV   r  rG   r@   rH   rI   +CreatePreviewParamsScheduleDetailsPhaseItem3Invoice.CreatePreviewParamsScheduleDetailsPhaseItem  s    '^
 	
	 [
 	
	 d38n--	 #	 3	  J
 	
	 c""	 677	rH   r  c                        \ rS rSr% \\S'   Srg)DInvoice.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsiF  r  r@   Nr  r@   rH   rI   <CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsr  F       	rH   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg);Invoice.CreatePreviewParamsScheduleDetailsPhaseItemDiscountiN  r  r  r  r@   Nr  r@   rH   rI   3CreatePreviewParamsScheduleDetailsPhaseItemDiscountr  N  r  rH   r  c                   t    \ rS rSr% \\S'    \\S'    S\S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i\  r  r  EInvoice.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringr	  r  r  r  r  r@   Nr  r@   rH   rI   4CreatePreviewParamsScheduleDetailsPhaseItemPriceData<Invoice.CreatePreviewParamsScheduleDetailsPhaseItemPriceData\  sg    	 	 [Z	 ";<
 	
	 !%%	 )--	rH   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  ix  r  r  r  r@   Nr  r@   rH   rI   =CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringEInvoice.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringx  '     899	 $C((	rH   r  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)rm  i  amount_percentr  r@   N)	rB   rC   rD   rE   r   r  rF   rV   rG   r@   rH   rI   3CreatePreviewParamsScheduleDetailsPhaseTransferData;Invoice.CreatePreviewParamsScheduleDetailsPhaseTransferData  s    #E**	 	rH   r  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \\   \S'    \\   \S	'    \S
   \S'    \\S      \S'    \\S      \S'    \\	   \S'    \\S      \S'    \\	   \S'    \S   \S'   Sr
g)r  i  zLiteral['now', 'unchanged']|intrb  9Invoice.CreatePreviewParamsSubscriptionDetailsBillingModerH  z;Literal['']|int|Literal['max_period_end', 'min_period_end']	cancel_atcancel_at_period_end
cancel_nowr  r*  2Invoice.CreatePreviewParamsSubscriptionDetailsItemrj  rN  rR  proration_datenow	resume_atrl  zLiteral['now']|intro  r@   N)rB   rC   rD   rE   r   rF   rU   r   r   r  rG   r@   rH   rI   &CreatePreviewParamsSubscriptionDetails.Invoice.CreatePreviewParamsSubscriptionDetails  s    )*KLL	 "G
 	
	 I
 	
	 *$//	  %%	 ''>??	 EF
 	
	 (AB
 	
	 $C((	 wu~..	  $$	 344	rH   r  c                   &    \ rS rSr% \S   \S'   Srg)r  i  rV  r?   r@   Nr  r@   rH   rI   1CreatePreviewParamsSubscriptionDetailsBillingMode9Invoice.CreatePreviewParamsSubscriptionDetailsBillingMode  r[  rH   r  c                       \ rS rSr% \S   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S	   \S
'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S'   Sr	g)r  i  zOLiteral['']|Invoice.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsrc  clear_usagedeletedzLLiteral['']|List[Invoice.CreatePreviewParamsSubscriptionDetailsItemDiscount]r  idr  r  r~  r  ;Invoice.CreatePreviewParamsSubscriptionDetailsItemPriceDatar  r  r  r  r@   N)
rB   rC   rD   rE   r   rF   rU   rV   r  rG   r@   rH   rI   *CreatePreviewParamsSubscriptionDetailsItem2Invoice.CreatePreviewParamsSubscriptionDetailsItem  s    ']
 	
	 !&&	 T""	 Z
 	
	 	 :;;	 #	 3	  I
 	
	 c""	 677	rH   r  c                        \ rS rSr% \\S'   Srg)CInvoice.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsi  r  r@   Nr  r@   rH   rI   ;CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr    r  rH   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg):Invoice.CreatePreviewParamsSubscriptionDetailsItemDiscounti
  r  r  r  r@   Nr  r@   rH   rI   2CreatePreviewParamsSubscriptionDetailsItemDiscountr  
  r  rH   r  c                   t    \ rS rSr% \\S'    \\S'    S\S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i  r  r  DInvoice.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringr	  r  r  r  r  r@   Nr  r@   rH   rI   3CreatePreviewParamsSubscriptionDetailsItemPriceData;Invoice.CreatePreviewParamsSubscriptionDetailsItemPriceData  sg    	 	 ZY	 ";<
 	
	 !%%	 )--	rH   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i4  r  r  r  r@   Nr  r@   rH   rI   <CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringDInvoice.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurring4  r  rH   r  c                       \ rS rSrSrg)Invoice.DeleteParamsi@  r@   Nr  r@   rH   rI   DeleteParamsr  @  r  rH   r  c                   >    \ rS rSr% \\   \S'    \\\      \S'   Sr	g)Invoice.FinalizeInvoiceParamsiC  r  r  r@   N)
rB   rC   rD   rE   r   rU   rF   r   rV   rG   r@   rH   rI   FinalizeInvoiceParamsr  C  s(    !$''	 DI&&	rH   r  c                   b    \ rS rSr% \\   \S'    \\\      \S'    \\   \S'    \\   \S'   Sr	g)Invoice.ListLinesParamsiM  ending_beforer  limitstarting_afterr@   N)
rB   rC   rD   rE   r   rV   rF   r   r  rG   r@   rH   rI   ListLinesParamsr  M  sL    "3''	 DI&&	 3	 $C((	rH   r  c                       \ rS rSr% \\S      \S'    \S   \S'    \\   \S'    \S   \S'   \\   \S	'    \\\      \S
'    \\	   \S'    \\   \S'    \\S      \S'    \\   \S'   Sr
g)Invoice.ListParamsi_  r!  r$  zInvoice.ListParamsCreated|intcreatedr&  zInvoice.ListParamsDueDate|intr+  r  r  r  r  draftopenpaiduncollectiblevoidrT   r  r@   N)rB   rC   rD   rE   r   r   rF   rV   r   r  rG   r@   rH   rI   
ListParamsr  _  s    &:;
 	
	 <==	 c""	 =>>"3''	 DI&&	 3	 $C((	 DE
 	
	 "#&&	rH   r  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)Invoice.ListParamsCreatedi  gtgteltlter@   NrB   rC   rD   rE   r   r  rF   rG   r@   rH   rI   ListParamsCreatedr    H    	 	 	 	rH   r   c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg)Invoice.ListParamsDueDatei  r  r  r  r  r@   Nr  r@   rH   rI   ListParamsDueDater    r  rH   r  c                   ,    \ rS rSr% \\\      \S'   Srg)Invoice.MarkUncollectibleParamsi  r  r@   Nr  r@   rH   rI   MarkUncollectibleParamsr        DI&&	rH   r  c                      \ rS rSr% \S   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \\S	      \S
'    \S   \S'    \\   \S'    \\	   \S'    \S   \S'    \S   \S'    \\	   \S'    \S   \S'    \\   \S'    \S   \S'    \\
\	      \S'    \\	   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \S    \S!'    \S"   \S#'    \S$   \S%'    \S&   \S''    \\	   \S('    \S)   \S*'   S+rg,)-Invoice.ModifyParamsi  r  r  r  r   Invoice.ModifyParamsAutomaticTaxr  r   r!  r$  z1Literal['']|List[Invoice.ModifyParamsCustomField]r%  r'  r(  r^  r)  r*  r  z.Literal['']|List[Invoice.ModifyParamsDiscount]r  r+  r  r,  r  r-  Invoice.ModifyParamsIssuerr1  r  r  r2  r3  #Invoice.ModifyParamsPaymentSettingsr5  Invoice.ModifyParamsRenderingr:  z,Literal['']|Invoice.ModifyParamsShippingCostr<  z/Literal['']|Invoice.ModifyParamsShippingDetailsr>  r?  z,Literal['']|Invoice.ModifyParamsTransferDatarA  r@   NrB  r@   rH   rI   ModifyParamsr
    s   $%<==	 !,C 00	 "$''	 ##EFF	 %0$44	 ':;
 	
	 #?
 	
	 $C((	 !,C 00	 $$566	 ''>??	 !%%	 <
 	
	 c""	 ""344	 DI&&	 C  	 899	 :;;	 -..	 ""344	 &&KLL	 >??	 #:
 	
	 &=
 	
	 *#..	 #:
 	
	rH   r  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r  i.  rN   )Invoice.ModifyParamsAutomaticTaxLiabilityrO   r@   NrF  r@   rH   rI   ModifyParamsAutomaticTax Invoice.ModifyParamsAutomaticTax.  rI  rH   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i8  r<   r=   r?   r@   NrK  r@   rH   rI   !ModifyParamsAutomaticTaxLiability)Invoice.ModifyParamsAutomaticTaxLiability8  rN  rH   r  c                   ,    \ rS rSr% \\S'    \\S'   Srg)Invoice.ModifyParamsCustomFieldiB  rb   rc   r@   Nr]   r@   rH   rI   ModifyParamsCustomFieldr  B  re   rH   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)Invoice.ModifyParamsDiscountiL  r  r  r  r@   Nr  r@   rH   rI   ModifyParamsDiscountr  L  r  rH   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  iZ  r<   r=   r?   r@   NrK  r@   rH   rI   ModifyParamsIssuerInvoice.ModifyParamsIssuerZ  rN  rH   r  c                   J    \ rS rSr% \S   \S'    \S   \S'    \S   \S'   Srg	)
r  id  r^  r5  7Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsr6  r`  rW  r@   Nra  r@   rH   rI   ModifyParamsPaymentSettings#Invoice.ModifyParamsPaymentSettingsd  rd  rH   r"  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'   Srg)r!  iv  zLLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitr-  zMLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsBancontactr.  zGLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardr/  zRLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer0  zJLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsKonbinir1  zLLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitr2  zPLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr3  r@   Nra  r@   rH   rI   /ModifyParamsPaymentSettingsPaymentMethodOptions7Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsv  rh  rH   r%  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)@Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebiti  NInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr  r  r  r@   Nrl  r@   rH   rI   8ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitr(    rn  rH   r*  c                   ,    \ rS rSr% \\S      \S'   Srg)r)  i  r  r  r@   Nrp  r@   rH   rI   FModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsNInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions  rs  rH   r,  c                   ,    \ rS rSr% \\S      \S'   Srg)AInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsBancontacti  r  r  r@   Nrp  r@   rH   rI   9ModifyParamsPaymentSettingsPaymentMethodOptionsBancontactr/    rw  rH   r0  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg);Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardi  GInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsr  r  r  r@   Nrl  r@   rH   rI   3ModifyParamsPaymentSettingsPaymentMethodOptionsCardr2    r|  rH   r4  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r3  i  rN   zWLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr~  r@   Nr  r@   rH   rI   ?ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsGInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallments  r  rH   r6  c                   P    \ rS rSr% \\   \S'    \\S      \S'    \S   \S'   Srg)	KInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlani  r  r  r  r  r?   r@   Nr  r@   rH   rI   CModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr9    r  rH   r:  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)FInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancei  RInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr  r  r@   Nr  r@   rH   rI   >ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer<    r  rH   r>  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r=  i  `Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr
  r?   r@   Nr  r@   rH   rI   JModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferRInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer  r  rH   rA  c                        \ rS rSr% \\S'   Srg)r@  i
  rj   r@   Nr]   r@   rH   rI   XModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer`Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer
  r  rH   rD  c                       \ rS rSrSrg)>Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsKonbinii  r@   Nr  r@   rH   rI   6ModifyParamsPaymentSettingsPaymentMethodOptionsKonbinirG    r  rH   rH  c                       \ rS rSrSrg)@Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebiti  r@   Nr  r@   rH   rI   8ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitrJ    r  rH   rK  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)DInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccounti  XInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsr+  r  r  r@   Nrl  r@   rH   rI   <ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountrM    r  rH   rO  c                   b    \ rS rSr% \S   \S'    \\\S         \S'    \\\S         \S'   Srg	)
rN  i(  _Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersr"  r#  r'  r(  r)  r@   Nr  r@   rH   rI   PModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsXInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections(  r  rH   rR  c                   2    \ rS rSr% \\\S         \S'   Srg)rQ  iB  r  r   r@   Nr  r@   rH   rI   WModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters_Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersB  r  rH   rU  c                   \    \ rS rSr% \S   \S'    \S   \S'    \\   \S'    \S   \S'   S	rg
)r  iL  r  rc   Invoice.ModifyParamsRenderingPdfrd  re  r  rf  r@   Nr  r@   rH   rI   ModifyParamsRenderingInvoice.ModifyParamsRenderingL  r  rH   rY  c                   ,    \ rS rSr% \\S      \S'   Srg)rX  i`  r]  ra  r@   Nrp  r@   rH   rI   ModifyParamsRenderingPdf Invoice.ModifyParamsRenderingPdf`  r  rH   r\  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg) Invoice.ModifyParamsShippingCostih  r  0Invoice.ModifyParamsShippingCostShippingRateDatar  r@   Nr  r@   rH   rI   ModifyParamsShippingCostr_  h  r  rH   ra  c                       \ rS rSr% \S   \S'    \\S'    \S   \S'    \\\\4      \S'    \\S      \S	'    \\   \S
'    \\S      \S'   Sr	g)r`  it  @Invoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimater  r  ;Invoice.ModifyParamsShippingCostShippingRateDataFixedAmountr  r  r  r  r  r?   r@   Nr  r@   rH   rI   (ModifyParamsShippingCostShippingRateData0Invoice.ModifyParamsShippingCostShippingRateDatat  r  rH   re  c                   8    \ rS rSr% \S   \S'    \S   \S'   Srg)rc  i  GInvoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimateMaximumr  GInvoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimateMinimumr  r@   Nra  r@   rH   rI   8ModifyParamsShippingCostShippingRateDataDeliveryEstimate@Invoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimate  r  rH   rj  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)rh  i  r  r  rc   r@   Nr  r@   rH   rI   ?ModifyParamsShippingCostShippingRateDataDeliveryEstimateMaximumGInvoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimateMaximum  r  rH   rm  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)ri  i  r  r  rc   r@   Nr  r@   rH   rI   ?ModifyParamsShippingCostShippingRateDataDeliveryEstimateMinimumGInvoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimateMinimum  r  rH   rp  c                   H    \ rS rSr% \\S'    \\S'    \\\S4      \S'   Sr	g)rd  i  rl  r  JInvoice.ModifyParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsr  r@   Nr  r@   rH   rI   3ModifyParamsShippingCostShippingRateDataFixedAmount;Invoice.ModifyParamsShippingCostShippingRateDataFixedAmount  r  rH   rt  c                   8    \ rS rSr% \\S'    \\S      \S'   Srg)rs  i  rl  r  r  r@   Nr  r@   rH   rI   BModifyParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsJInvoice.ModifyParamsShippingCostShippingRateDataFixedAmountCurrencyOptions  r  rH   rw  c                   >    \ rS rSr% S\S'    \\S'    \S   \S'   Srg)	#Invoice.ModifyParamsShippingDetailsi  *Invoice.ModifyParamsShippingDetailsAddressry   rb   r^  r{   r@   Nr  r@   rH   rI   ModifyParamsShippingDetailsrz    r  rH   r|  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
r{  i  ri   rj   rk   rl   rm   rn   r@   Nr  r@   rH   rI   "ModifyParamsShippingDetailsAddress*Invoice.ModifyParamsShippingDetailsAddress  r  rH   r~  c                   2    \ rS rSr% \\   \S'    \\S'   Srg) Invoice.ModifyParamsTransferDatai  rl  r  r@   Nr  r@   rH   rI   ModifyParamsTransferDatar    r  rH   r  c                       \ rS rSr% \\\      \S'    \\   \S'    \S   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S	'   S
r	g)Invoice.PayParamsi  r  forgiver^  mandateoff_sessionpaid_out_of_bandr  r  r@   N)
rB   rC   rD   rE   r   r   rV   rF   rU   rG   r@   rH   rI   	PayParamsr    s    DI&&	 T""	
 .//	 !&&	 &d++	 $C((	 C  	rH   r  c                   P    \ rS rSr% \\\      \S'    \S   \S'    \S   \S'   Srg)	Invoice.RemoveLinesParamsi1  r  r  r  Invoice.RemoveLinesParamsLiner  r@   Nr  r@   rH   rI   RemoveLinesParamsr  1  <    DI&&	 &&BCC	 344	rH   r  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  i?  )deleteunassignbehaviorr  r@   NrW  r@   rH   rI   RemoveLinesParamsLineInvoice.RemoveLinesParamsLine?  s    .//	 	rH   r  c                   ,    \ rS rSr% \\\      \S'   Srg)Invoice.RetrieveParamsiI  r  r@   Nr  r@   rH   rI   RetrieveParamsr  I  r  rH   r  c                   \    \ rS rSr% \\\      \S'    \\   \S'    \\   \S'    \\S'   Sr	g)Invoice.SearchParamsiO  r  r  pagequeryr@   N)
rB   rC   rD   rE   r   r   rV   rF   r  rG   r@   rH   rI   SearchParamsr  O  sF    DI&&	 3	 #	 
	rH   r  c                   ,    \ rS rSr% \\\      \S'   Srg)Invoice.SendInvoiceParamsia  r  r@   Nr  r@   rH   rI   SendInvoiceParamsr  a  r  rH   r  c                   P    \ rS rSr% \\\      \S'    \S   \S'    \S   \S'   Srg)	Invoice.UpdateLinesParamsig  r  r  r  Invoice.UpdateLinesParamsLiner  r@   Nr  r@   rH   rI   UpdateLinesParamsr  g  r  rH   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \S   \S'    \\S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'    \\   \S'    \S   \S'    \S   \S'   Sr	g)r  iu  rl  r  r  z7Literal['']|List[Invoice.UpdateLinesParamsLineDiscount]r  r  r  r  #Invoice.UpdateLinesParamsLinePeriodr  &Invoice.UpdateLinesParamsLinePriceDatar  $Invoice.UpdateLinesParamsLinePricingr  r  z8Literal['']|List[Invoice.UpdateLinesParamsLineTaxAmount]r  r  r  r@   Nr  r@   rH   rI   UpdateLinesParamsLineInvoice.UpdateLinesParamsLineu  s    C  	 !%%	 "$''	 E
 	
	 	 :;;	 ABB	   HII	 CDD	 c""	 !F
 	
	 677	rH   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)%Invoice.UpdateLinesParamsLineDiscounti  r  r  r  r@   Nr  r@   rH   rI   UpdateLinesParamsLineDiscountr    r  rH   r  c                   ,    \ rS rSr% \\S'    \\S'   Srg)r  i  r  r  r@   Nr  r@   rH   rI   UpdateLinesParamsLinePeriod#Invoice.UpdateLinesParamsLinePeriod  r  rH   r  c                       \ rS rSr% \\S'    \\   \S'    \S   \S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i  r  r  1Invoice.UpdateLinesParamsLinePriceDataProductDatar  r  r  r  r  r@   Nr  r@   rH   rI   UpdateLinesParamsLinePriceData&Invoice.UpdateLinesParamsLinePriceData  sv    	 S!!	 "?
 	
	 ";<
 	
	 !%%	 )--	rH   r  c                   x    \ rS rSr% \\   \S'    \\\      \S'    \\\\4      \S'    \\S'    \\   \S'   Sr	g)	r  i  r  r  r  rb   r  r@   Nr  r@   rH   rI   )UpdateLinesParamsLinePriceDataProductData1Invoice.UpdateLinesParamsLinePriceDataProductData  r  rH   r  c                   &    \ rS rSr% \\   \S'   Srg)r  i  r  r@   Nr  r@   rH   rI   UpdateLinesParamsLinePricing$Invoice.UpdateLinesParamsLinePricing  r  rH   r  c                   P    \ rS rSr% \\S'    S\S'    \\S      \S'    \\S'   Srg	)
&Invoice.UpdateLinesParamsLineTaxAmounti  rl  1Invoice.UpdateLinesParamsLineTaxAmountTaxRateDatar  rn  r~  r  r@   Nr  r@   rH   rI   UpdateLinesParamsLineTaxAmountr    sH    	 KJ	
 '
 	
&	 	rH   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\S'    \\S'    \\   \S'    \\S      \S'    \	\S	'    \\   \S
'    \\S      \S'   Sr
g)r  i#  rj   r  r  r  r  r  r  r   rn   r  r  r@   Nr  r@   rH   rI   )UpdateLinesParamsLineTaxAmountTaxRateData1Invoice.UpdateLinesParamsLineTaxAmountTaxRateData#  r  rH   r  c                   ,    \ rS rSr% \\\      \S'   Srg)Invoice.VoidInvoiceParamsi^  r  r@   Nr  r@   rH   rI   VoidInvoiceParamsr  ^  r  rH   r  account_countryaccount_namer,   r  
amount_dueamount_overpaidamount_paidamount_remainingamount_shippingr   applicationattempt_count	attemptedr  r  r   )	&automatic_pending_invoice_item_invoicemanualquote_acceptr  subscription_createsubscription_cyclesubscription_thresholdsubscription_updateupcomingbilling_reasonr!  r$  confirmation_secretr  r  r%  r"   r&  customer_addresscustomer_emailcustomer_namecustomer_phonecustomer_shipping)exemptrQ  reversecustomer_tax_exemptcustomer_tax_idsr'   r(  r  r)  r-   r*  Tr  r  r#   r  r+  r,  ending_balancer-  r/  hosted_invoice_urlr  invoice_pdfr1  last_finalization_errorlatest_revisionr$   r  livemoder  next_payment_attemptr2  objectr   r3  parentr5  r%   payments
period_endperiod_start post_payment_credit_notes_amountpre_payment_credit_notes_amountreceipt_numberr:  r<  r>  starting_balancer?  r  rT   status_transitionssubtotalsubtotal_excluding_taxr/   
test_clockthreshold_reasontotaltotal_discount_amountstotal_excluding_taxtotal_pretax_credit_amountstotal_taxeswebhooks_delivered_atparamsr  returnc                 d    [        SU R                  SSR                  [        U5      S9US95      $ )a
Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.
r2   post /v1/invoices/{invoice}/add_linesr4   r  r   _static_requestformatr   clsr4   r  s      rI   _cls_add_linesInvoice._cls_add_lines  sJ     299'0 :     	
 		
rH   c                     gr  Nr@   r4   r  s     rI   	add_linesInvoice.add_lines       	rH   c                     gr  r@   r>   r  s     rI   r  r         	rH   r	  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r2   r   r  r  r  r  r   _requestr  r   getr  s     rI   r  r    sP     MM299'7 :    	
 		
rH   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  Nr   _static_request_asyncr  r   r  s      rI   _cls_add_lines_asyncInvoice._cls_add_lines_async  sW      ++299'0 :   ,  	
 		
   1><
	>c                    #    g7fr  r@   r  s     rI   add_lines_asyncInvoice.add_lines_async  
      	   c                    #    g7fr  r@   r  s     rI   r  r     
      	r"  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  r  Nr   _request_asyncr  r   r  r  s     rI   r  r     s_      %%299'7 :   &  	
 		
   A AA
	Ar  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )  
Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of payments.

For the PaymentIntent, when the PaymentIntent's status changes to succeeded, the payment is credited
to the invoice, increasing its amount_paid. When the invoice is fully paid, the
invoice's status becomes paid.

If the PaymentIntent's status is already succeeded when it's attached, it's
credited to the invoice immediately.

See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more.
r2   r   %/v1/invoices/{invoice}/attach_paymentr  r  r  r  s      rI   _cls_attach_paymentInvoice._cls_attach_payment  sJ      7>>'0 ?     	
 		
rH   c                     gr*  Nr@   r  s     rI   attach_paymentInvoice.attach_payment+  s    " 	rH   c                     gr/  r@   r  s     rI   r0  r1  >  s      	rH   r,  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r*  r2   r   r+  r  r  r  r  r  s     rI   r0  r1  P  sP      MM7>>'7 ?    	
 		
rH   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r*  r2   r   r+  r  r  Nr  r  s      rI   _cls_attach_payment_async!Invoice._cls_attach_payment_asynck  sW       ++7>>'0 ?   ,  	
 		
r  c                    #    g7fr/  r@   r  s     rI   attach_payment_asyncInvoice.attach_payment_async  s
     " 	r"  c                    #    g7fr/  r@   r  s     rI   r8  r9    s
       	r"  r5  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r*  r2   r   r+  r  r  r  Nr&  r  s     rI   r8  r9    s_       %%7>>'7 ?   &  	
 		
r(  r  c           	      T    [        SU R                  SU R                  5       US95      $ )  
This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or <a href="#send_invoice">send](https://docs.stripe.com/api#finalize_invoice) the invoice to your customers.
r2   r   r  )r   r  	class_urlr  r  s     rI   createInvoice.create  s6    
    
 	
rH   c           	      p   #    [        SU R                  SU R                  5       US9I Sh  vN 5      $  N7f)r=  r2   r   r  N)r   r  r>  r?  s     rI   create_asyncInvoice.create_async  sC      ++ ,  
 	
s   )64
	6r  c           	      8    [        SU R                  SSUS95      $ )  
At any time, you can preview the upcoming invoice for a subscription or subscription schedule. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

You can also preview the effects of creating or updating a subscription or subscription schedule, including a preview of any prorations that will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the subscription_details.proration_date parameter when doing the actual subscription update.

The recommended way to get only the prorations being previewed on the invoice is to consider line items where parent.subscription_item_details.proration is true.

Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer's discount.

Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions)
r2   r   /v1/invoices/create_previewr  )r   r  r?  s     rI   create_previewInvoice.create_preview  s0     -   
 	
rH   c           	      T   #    [        SU R                  SSUS9I Sh  vN 5      $  N7f)rF  r2   r   rG  r  N)r   r  r?  s     rI   create_preview_asyncInvoice.create_preview_async  s=      ++- ,  
 	
s   (&
	(sidr  c           	      x    U R                  5       < S[        U5      < 3n[        SU R                  SUUS95      $ )  
Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://docs.stripe.com/api#void_invoice).
/r2   r  r  r>  r   r   r  r  rM  r  urls       rI   _cls_deleteInvoice._cls_delete  sE     +c*:;   
 	
rH   c                     grO  Nr@   rM  r  s     rI   r  Invoice.delete%  r  rH   c                     grW  r@   r  s     rI   r  rY  /      
 	rH   rT  c                 @    U R                  SU R                  5       US9$ )rO  r  r  )_request_and_refreshinstance_urlr  s     rI   r  rY  6  s.     (( ) 
 	
rH   c           	         #    U R                  5       < S[        U5      < 3n[        SU R                  SUUS9I Sh  vN 5      $  N7f)rO  rP  r2   r  r  Nr>  r   r   r  rR  s       rI   _cls_delete_asyncInvoice._cls_delete_asyncC  sR      +c*:;++ ,  
 	
   ;AA
	Ac                    #    g7frW  r@   rX  s     rI   delete_asyncInvoice.delete_asyncT  r!  r"  c                    #    g7frW  r@   r  s     rI   re  rf  ^  r$  r"  ra  c                 \   #    U R                  SU R                  5       US9I Sh  vN $  N7f)rO  r  r  N)_request_and_refresh_asyncr^  r  s     rI   re  rf  g  s;      44 5 
 
 	
 
s   #,*,r  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )
Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method.
r2   r   /v1/invoices/{invoice}/finalizer  r  r  r  s      rI   _cls_finalize_invoiceInvoice._cls_finalize_invoicet  sJ     188'0 9     	
 		
rH   c                     grk  Nr@   r  s     rI   finalize_invoiceInvoice.finalize_invoice  r  rH   c                     grp  r@   r  s     rI   rq  rr    r  rH   rm  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )rk  r2   r   rl  r  r  r  r  r  s     rI   rq  rr    sP     MM188'7 9    	
 		
rH   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)rk  r2   r   rl  r  r  Nr  r  s      rI   _cls_finalize_invoice_async#Invoice._cls_finalize_invoice_async  sW      ++188'0 9   ,  	
 		
r  c                    #    g7frp  r@   r  s     rI   finalize_invoice_asyncInvoice.finalize_invoice_async  r!  r"  c                    #    g7frp  r@   r  s     rI   ry  rz    r$  r"  rv  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)rk  r2   r   rl  r  r  r  Nr&  r  s     rI   ry  rz    s_      %%188'7 9   &  	
 		
r(  r  c                     U R                  SU R                  5       US9n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$ )
You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first.
r  r  %Expected list object from API, got %s)r  r>  
isinstancer   	TypeErrorr?   rB   r  r  results      rI   listInvoice.list  s`     $$MMO % 

 &*--7<((* 
 rH   c                    #    U R                  SU R                  5       US9I Sh  vN n[        U[        5      (       d!  [	        S[        U5      R                  -  5      eU$  N<7f)r~  r  r  Nr  )r  r>  r  r   r  r?   rB   r  s      rI   
list_asyncInvoice.list_async  sm      00MMO 1 
 

 &*--7<((* 
 
s   #A$A"=A$r  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )
Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.
r2   r   )/v1/invoices/{invoice}/mark_uncollectibler  r  r  r  s      rI   _cls_mark_uncollectibleInvoice._cls_mark_uncollectible
  sK     ;BB'0 C     	
 		
rH   c                     gr  Nr@   r  s     rI   mark_uncollectibleInvoice.mark_uncollectible  r  rH   c                     gr  r@   r  s     rI   r  r  &  r  rH   r  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r2   r   r  r  r  r  r  r  s     rI   r  r  /  sQ     MM;BB'7 C    	
 		
rH   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  Nr  r  s      rI   _cls_mark_uncollectible_async%Invoice._cls_mark_uncollectible_asyncA  sX      ++;BB'0 C   ,  	
 		
r  c                    #    g7fr  r@   r  s     rI   mark_uncollectible_async Invoice.mark_uncollectible_asyncS  r!  r"  c                    #    g7fr  r@   r  s     rI   r  r  ]  r$  r"  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  r  Nr&  r  s     rI   r  r  f  s`      %%;BB'7 C   &  	
 		
r(  r
  c           	      x    U R                  5       < S[        U5      < 3n[        SU R                  SUUS95      $ )  
Draft invoices are fully editable. Once an invoice is [finalized](https://docs.stripe.com/docs/billing/invoices/workflow#finalized),
monetary values, as well as collection_method, become uneditable.

If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on,
sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass
auto_advance=false.
rP  r2   r   r  rQ  r  r  r  rS  s       rI   modifyInvoice.modifyx  sD     +b/:   
 	
rH   c           	         #    U R                  5       < S[        U5      < 3n[        SU R                  SUUS9I Sh  vN 5      $  N7f)r  rP  r2   r   r  Nr`  r  s       rI   modify_asyncInvoice.modify_async  sQ      +b/:++ ,  
 	
rc  r  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )Y  
Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.
r2   r   /v1/invoices/{invoice}/payr  r  r  r  s      rI   _cls_payInvoice._cls_pay  sJ     ,33'0 4     	
 		
rH   c                     gr  Nr@   r  s     rI   payInvoice.pay  s     	rH   c                     gr  r@   r  s     rI   r  r    r[  rH   r  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r2   r   r  r  r  r  r  r  s     rI   r  r    sP     MM,33'7 4    	
 		
rH   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  Nr  r  s      rI   _cls_pay_asyncInvoice._cls_pay_async  sW      ++,33'0 4   ,  	
 		
r  c                    #    g7fr  r@   r  s     rI   	pay_asyncInvoice.pay_async  r!  r"  c                    #    g7fr  r@   r  s     rI   r  r    r$  r"  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  r  Nr&  r  s     rI   r  r    s_      %%,33'7 4   &  	
 		
r(  r  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )f
Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.
r2   r   #/v1/invoices/{invoice}/remove_linesr  r  r  r  s      rI   _cls_remove_linesInvoice._cls_remove_lines  J     5<<'0 =     	
 		
rH   c                     gr  Nr@   r  s     rI   remove_linesInvoice.remove_lines   r  rH   c                     gr  r@   r  s     rI   r  r  *  r  rH   r  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r2   r   r  r  r  r  r  r  s     rI   r  r  3  P     MM5<<'7 =    	
 		
rH   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  Nr  r  s      rI   _cls_remove_lines_asyncInvoice._cls_remove_lines_asyncE  W      ++5<<'0 =   ,  	
 		
r  c                    #    g7fr  r@   r  s     rI   remove_lines_asyncInvoice.remove_lines_asyncW  r!  r"  c                    #    g7fr  r@   r  s     rI   r  r  a  r$  r"  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  r  Nr&  r  s     rI   r  r  j  _      %%5<<'7 =   &  	
 		
r(  r  c                 8    U " U40 UD6nUR                  5         U$ )*
Retrieves the invoice with the given ID.
)refreshr  r  r  instances       rI   retrieveInvoice.retrieve|  s$     r$V$rH   c                 T   #    U " U40 UD6nUR                  5       I Sh  vN   U$  N7f)r  N)refresh_asyncr  s       rI   retrieve_asyncInvoice.retrieve_async  s2      r$V$$$&&& 	's   (&(r  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )  
Stripe will automatically send invoices to customers according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.

Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event.
r2   r   /v1/invoices/{invoice}/sendr  r  r  r  s      rI   _cls_send_invoiceInvoice._cls_send_invoice  J     -44'0 5     	
 		
rH   c                     gr  Nr@   r  s     rI   r#  Invoice.send_invoice       	rH   c                     gr  r@   r  s     rI   r#  r         	rH   r  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r2   r   r  r  r  r  r  r  s     rI   r#  r    P     MM-44'7 5    	
 		
rH   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  Nr  r  s      rI   _cls_send_invoice_asyncInvoice._cls_send_invoice_async  W      ++-44'0 5   ,  	
 		
r  c                    #    g7fr  r@   r  s     rI   send_invoice_asyncInvoice.send_invoice_async  
      	r"  c                    #    g7fr  r@   r  s     rI   r  r    
      	r"  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  r  Nr&  r  s     rI   r  r    _      %%-44'7 5   &  	
 		
r(  r  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )d
Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.
r2   r   #/v1/invoices/{invoice}/update_linesr  r  r  r  s      rI   _cls_update_linesInvoice._cls_update_lines  r  rH   c                     gr  Nr@   r  s     rI   update_linesInvoice.update_lines"  r  rH   c                     gr  r@   r  s     rI   r  r  ,  r  rH   r  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r2   r   r  r  r  r  r  r  s     rI   r  r  5  r  rH   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  Nr  r  s      rI   _cls_update_lines_asyncInvoice._cls_update_lines_asyncG  r  r  c                    #    g7fr  r@   r  s     rI   update_lines_asyncInvoice.update_lines_asyncY  r!  r"  c                    #    g7fr  r@   r  s     rI   r  r  c  r$  r"  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  r  Nr&  r  s     rI   r  r  l  r  r(  r  c                 d    [        SU R                  SSR                  [        U5      S9US95      $ )  
Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to [deletion](https://docs.stripe.com/api#delete_invoice), however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.

Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or <a href="#create_credit_note">credit note](https://docs.stripe.com/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.
r2   r   /v1/invoices/{invoice}/voidr  r  r  r  s      rI   _cls_void_invoiceInvoice._cls_void_invoice~  r  rH   c                     gr  Nr@   r  s     rI   void_invoiceInvoice.void_invoice  r  rH   c                     gr  r@   r  s     rI   r  r    r  rH   r	  c                     [        SU R                  SSR                  [        U R	                  S5      5      S9US95      $ )r  r2   r   r  r  r  r  r  r  s     rI   r  r    r  rH   c                    #    [        SU R                  SSR                  [        U5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  Nr  r  s      rI   _cls_void_invoice_asyncInvoice._cls_void_invoice_async  r  r  c                    #    g7fr  r@   r  s     rI   void_invoice_asyncInvoice.void_invoice_async  r  r"  c                    #    g7fr  r@   r  s     rI   r  r    r  r"  r  c                    #    [        SU R                  SSR                  [        U R	                  S5      5      S9US9I Sh  vN 5      $  N7f)r  r2   r   r  r  r  r  Nr&  r  s     rI   r  r    r  r(  kwargsr  c                 *    U R                   " USS0UD6$ )  
Search for invoices you've previously created using Stripe's [Search Query Language](https://docs.stripe.com/docs/search#search-query-language).
Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
to an hour behind during outages. Search functionality is not available to merchants in India.

search_url/v1/invoices/search)_searchr  argsr  s      rI   searchInvoice.search  s     {{dM&;MfMMrH   c                 F   #    U R                   " USS0UD6I Sh  vN $  N7f)r  r  r  N)_search_asyncr  s      rI   search_asyncInvoice.search_async  s7      &&/3
,
7=
 
 	
 
s   !!c                 B    U R                   " U0 UD6R                  5       $ N)r!  auto_paging_iterr  s      rI   search_auto_paging_iterInvoice.search_auto_paging_iter  s!     zz4*6*;;==rH   c                 ^   #    U R                   " U0 UD6I S h  vN R                  5       $  N7fr(  )r%  r)  r  s      rI   search_auto_paging_iter_async%Invoice.search_auto_paging_iter_async  s,      &&777IIKK7s   -+-r  c                 r    [        [        S   U R                  SSR                  [	        U5      S9US95      $ )
When retrieving an invoice, you'll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
r$   r  /v1/invoices/{invoice}/linesr  r  )r   r   r  r  r   r  s      rI   
list_linesInvoice.list_lines"  sP     ().55'0 6     	
 		
rH   c                    #    [        [        S   U R                  SSR                  [	        U5      S9US9I Sh  vN 5      $  N7f)r0  r$   r  r1  r  r  N)r   r   r  r  r   r  s      rI   list_lines_asyncInvoice.list_lines_async4  s]      ()++.55'0 6   ,  	
 		
s   8AA
	A)r  r  r@   N)rB   rC   rD   rE   __doc__r5   r   r   rF   r   rX   r^   rd   rp   r~   r   r   r   r  r  rX  rg  r  r  r  r  r  r  r  r	   r  r   r  r  r  r  r  r  r  r  r  rC  rG  rL  rQ  rT  rX  r[  rb  rf  rm  rq  rv  r{  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r"  r&  r(  r,  r/  r3  r8  r<  r>  rA  rD  rS  rY  rp  rv  ry  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r  r"  r%  r*  r,  r0  r4  r6  r:  r>  rA  rD  rH  rK  rO  rR  rU  rY  r\  ra  re  rj  rm  rp  rt  rw  r|  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   rV   r   r   r  rU   r   r   r   classmethodr   r	  r   staticmethodr  r   r  r  r,  r0  r5  r8  r@  rC  rH  rK  rT  r  ra  re  rm  rq  rv  ry  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r#  r  r  r  r  r  r  r	  r  r  r  r
   r!  r%  r   r*  r   r-  r2  r5  rW   rG   r@   rH   rI   r2   r2   9   s    !F 1:K'),-9&6| &6P\ l , 4,2< ,2\x xtl  [ [z%
 %
NMN, MN^*L *2;,| ;,z,2, ,2\L $:, :*l , (-B< -B^ 4Y 4lY 9 i < ,I $i $L9 9vn H~ HT9 I ) y ) Y i $*) *X9 I i  " 9  4	 (9 
9 
"9 "H9 



i &i Y 49 Bn BH
) 
9 Y <I 4Y I 4	 w) wri F FP y ) 0I Y 0	 p) pd$	 $L 





4
i 


9 ) )   

&i &Pi y 8

i 8 8tI 2Y 2hY i 8

~  . $)^ )VI $I $. x~ xt9 I ) y Y i $*) *X9 I i  " 9  4	 (9 
9 
"9 "H9 



i &i Y 49 N @N 	  ~ $N N 4	 4l	 i  <I ,y $ $L9I 9vN  c]" 3- d?7#;<== O     /-899  O 4.    (- 
	
 
 EFF ""455 L M D-.. z233 // SM! C=  SM!   011 "'*E"FGG tM233 %__%EFF DE	
 
 I& gdm$$ # OJ/00 sm 3- SM! SM ;'' !% 	 # N%&;<< oi899 '(( N tCH~&& #3-' SM I ?9566 V &%z"2344 O  '*) &)( SM! 	"" L)) //  #3-' WMNOO *)M %SM) 566 //J %T*=%>?? "#& "*$/F*G!HH $x.)) $C=( 

%+,D%E
	
 
"  &'? @	   78	  *+
78
	
 ,
" 

%+,D%E
	
 
"  &'? @	   78	  01
78
	
 2
" 

%+,I%J
	
 
4  &'D E	  " <=	 " /0
<=
	
 1
4 

%+,I%J
	
 
4  &'D E	  " <=	 " 56
<=
	
 7
4 
f%;< 
 
 
 
45
	
 
 
;<
	
 
. 
;<
	
 
. 

!'(>!?
	
 
  "#9:	   v&<= )   -(

56

	

 )

 

!'(>!?
	
 
  "#9:	   56	  -.

56

	

 /

 

%+,K%L
	
 
"  &'F G	   >?	  12
>?
	
 3
" 

%+,K%L
	
 
"  &'F G	   >?	  78
>?
	
 9
" 23	I	 & 23	I	 & 

%+,M%N
	
 
"  &'H I	   @A	  34
@A
	
 5
" 

%+,M%N
	
 
"  &'H I	   @A	  9:
@A
	
 ;
" 

 &'= >
	
 
* 

 &'= >
	
 
* 

%+,?%@
	
 
" S F+>$? I    F#67 I   *%
23
	
 &
" 

%+,?%@
	
 
"  &': ;	   23	  *+
23
	
 ,
" 

%+,G%H
	
 
"  &'B C	   :;	  -.
:;
	
 /
" 

%+,G%H
	
 
"  &'B C	   :;	  34
:;
	
 5
"  &'? @	   &'? @	  

%+,G%H
	
 
&  &'B C	   :;	  -.
:;
	
 /
& 

%+,G%H
	
 
&  &'B C	   :;	  34
:;
	
 5
& 

%+,G%H
	
 
"  &'B C	   :;	  -.
:;
	
 /
" 

%+,G%H
	
 
"  &'B C	   :;	  34
:;
	
 5
" 

%+,G%H
	
 
&  &'B C	   :;	  -.
:;
	
 /
& 

%+,G%H
	
 
&  &'B C	   :;	  34
:;
	
 5
& 	N$%;<	N	I	&	N 	N 
$%;<
	I	&
 
 >$%;<>	)	> >
 L$%;<L	y	!L L
 

%+,E%F
	%	&
 
" 

%+,E%F
	%	&
 
"1 	 	O	
 	- 	M 	 	& 	"#8 	& 	O 	Y 	 	O 	/  	O!" 	!"5#$ (?'rH   r2   N)Ostripe._createable_api_resourcer   stripe._deletable_api_resourcer   stripe._expandable_fieldr   stripe._list_objectr   stripe._listable_api_resourcer   %stripe._nested_resource_class_methodsr   stripe._request_optionsr	   stripe._search_result_objectr
   stripe._searchable_api_resourcer   stripe._stripe_objectr   stripe._updateable_api_resourcer   stripe._utilr   r   typingr   r   r   r   r   r   r   r   r   typing_extensionsr   r   r   r   r   stripe._accountr   stripe._applicationr   stripe._bank_accountr    stripe._cardr!   r  stripe._customerr"   stripe._discountr#   stripe._invoice_line_itemr$   stripe._invoice_paymentr%   stripe._payment_intentr&   stripe._payment_methodr'   stripe._setup_intentr(   stripe._shipping_rater)   stripe._sourcer*   stripe._subscriptionr+   stripe._tax_idr,   stripe._tax_rater-   *stripe.billing._credit_balance_transactionr.   stripe.test_helpers._test_clockr/   r2   r@   rH   rI   <module>rZ     s    B ? 4 * = O 2 ; A . A :
 
 
  '/01))964402%1$( : v&`\)$#	")$)$`\ '`\rH   